Is there a way to prompt the user for input during a NAnt build? I want to execute a command that takes a password, but I don't want to put the password into the build script.
Hi all,
I am writing a small script by Python to connect and post content to my WordPress blog. It's pretty straightforward with https://github.com/maxcutler/python-wordpress-xmlrpc
However, when i tried to input a HTML data, for example:
<b>Hello</b>
It appears exactly in the WordPress post (I watch it from the visual editor, and I need to re-format it by copying the data to HTML mode to have the expected result.
What should I do with my python script ?
Thank you very much
Hi,
I'm new to using TFS build. I've got a build defined that runs as a continuous integration. It creates a drop folder, but there's nothing in it.
What's the best practice for moving stuff in the drop folder? I've seen a Binaries folder, do I need to copy things into their, or do I alter the TFSbuild.proj in some way to copy the files I want to the drop folder?
Thanks.
I am using CCNET on a sample project with SVN as my source control. CCNET is configured to create a build on every check in. CCNET uses MSBuild to build the source code.
I would like to use the latest revision number to generate AssemblyInfo.cs while compiling.
How can I retrieve the latest revision from subversion and use the value in CCNET?
Edit: I'm not using NAnt - only MSBuild.
I want to pack the project into a zip-file and have the build date time (or the current date time) as part of the zip-filename.
$(TargetDir)\7za.exe -a release.zip *.*
So it would be nice to incorporate the date into the release.zip, something like release-14-3-2010-22_56.zip
Is it possible to define custom post-build macros?
Hi;
Can you suggest a way or a framework or etc. for JEE in order to make simple HTTP GET/POST calls to some web services like in SOAP web services but transport format must be JSON; not XML and there must not be any wrapper around(may be some vey lightweight header) like SOAP etc.
In short, my purpose is to serve web services using JSON and HTTP Get/Post in a maximum possible lightweight solution.
Thanks
I have a solution that I am trying to build in Visual Studio which gives the following error.
Project : error PRJ0019: A tool returned an error code from "Copy the executable to HAMR platform"
The last few lines of the build log are as follows:
Copy the executable to HAMR platform
The system cannot find the path specified.
Project : error PRJ0019: A tool returned an error code from "Copy the executable to HAMR platform"
I understand that there may be a wrong path mentioned in the code but as there is no line number to the error I don't know how to detect the source of the problem
I am trying to integrate Facebook to my Android app for social post. I have downloaded latest Facebook sdk from here and apply all setup require to post to facebook. Now i can post to facebook. But problem is that, when i run sample program from facebook sdk, a browser like page is open and user have to enter message himself there. but i dont want this page to showed up. i want a fixed message to post directly without opening facebook dialog box. But if there is noway to avoid this, please tell me how can i fixed certain part of message so that user can't modified it.
Thanks in Advance
Edit: this is message i got after using this project
04-10 11:44:34.691: I/dalvikvm(719): Failed resolving Lnet/xeomax/TestRocket/TestRocket;
interface 22 'Lnet/xeomax/FBRocket/LoginListener;'
04-10 11:44:34.691: W/dalvikvm(719): Link of class 'Lnet/xeomax/TestRocket/TestRocket;' failed
04-10 11:44:34.691: D/AndroidRuntime(719): Shutting down VM
04-10 11:44:34.701: W/dalvikvm(719): threadid=1: thread exiting with uncaught exception (group=0x40015560)
04-10 11:44:34.781: E/AndroidRuntime(719): FATAL EXCEPTION: main
04-10 11:44:34.781: E/AndroidRuntime(719): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{net.xeomax.TestRocket/net.xeomax.TestRocket.TestRocket}: java.lang.ClassNotFoundException: net.xeomax.TestRocket.TestRocket in loader dalvik.system.PathClassLoader[/data/app/net.xeomax.TestRocket-1.apk]
04-10 11:44:34.781: E/AndroidRuntime(719): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1569)
04-10 11:44:34.781: E/AndroidRuntime(719): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
04-10 11:44:34.781: E/AndroidRuntime(719): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
04-10 11:44:34.781: E/AndroidRuntime(719): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
04-10 11:44:34.781: E/AndroidRuntime(719): at android.os.Handler.dispatchMessage(Handler.java:99)
04-10 11:44:34.781: E/AndroidRuntime(719): at android.os.Looper.loop(Looper.java:130)
04-10 11:44:34.781: E/AndroidRuntime(719): at android.app.ActivityThread.main(ActivityThread.java:3683)
04-10 11:44:34.781: E/AndroidRuntime(719): at java.lang.reflect.Method.invokeNative(Native Method)
04-10 11:44:34.781: E/AndroidRuntime(719): at java.lang.reflect.Method.invoke(Method.java:507)
04-10 11:44:34.781: E/AndroidRuntime(719): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
04-10 11:44:34.781: E/AndroidRuntime(719): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
04-10 11:44:34.781: E/AndroidRuntime(719): at dalvik.system.NativeStart.main(Native Method)
04-10 11:44:34.781: E/AndroidRuntime(719): Caused by: java.lang.ClassNotFoundException: net.xeomax.TestRocket.TestRocket in loader dalvik.system.PathClassLoader[/data/app/net.xeomax.TestRocket-1.apk]
04-10 11:44:34.781: E/AndroidRuntime(719): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
04-10 11:44:34.781: E/AndroidRuntime(719): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
04-10 11:44:34.781: E/AndroidRuntime(719): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
04-10 11:44:34.781: E/AndroidRuntime(719): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
04-10 11:44:34.781: E/AndroidRuntime(719): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)
04-10 11:44:34.781: E/AndroidRuntime(719): ... 11 more
I am trying to build a web application in ASP.NET MVC and need build a pretty complex search feature. When a user enters a search term I want to search a variety of data sources which include documents, tables in the database, webpage urls and some APIs like facebook. Any tips, tutorials and hints would be greatly appreciated.
Currently I'm building my Flex projects using Flex Builder's "built in" build system (ie, "clicking the run button"), but I'd like to start running scripts before/after the build.
What's the easiest way to do that? Or, even, where should I start looking?
I need to post some text to a remote server over HTTP, this server in turn puts these comment on a Wordpress page. I am still waiting for interface details.
Is it possible to post comments directly on a Wordpress page from an Android or Java application?
Links to relevant documentation, tutorials etc. is appreciated.
Thanks.
Is there a way to trigger Hudson to perform a build when someone commits to visual svn?
As in is there a way to set up visual svn to send a build trigger to hudson?
I'm tring to run build of C# solution on vs2008 and discovered that pre-build events for projects containing in the solution were not executed. What can be reason of such behavior ?
I want to make a post request to a different controller inside my functional test which is intended for a particular controller. However the post method in ActiveController class just takes the method to be called, it doesn't take the controller name to be called. Any ideas how to invoke a different controller?
I'm using classic asp, I have a drop down list that the user selects and then presses submit. After they press submit the drop down list is going back to the default value instead of what they selected. Is there anyway to keep the state of the drop down between post backs instead of it going back to the default? Can post code sample if needed.
Thanks!
I'd like to be able to post twitter messages from python 3.0. None of the twitter API I have looked at support python 3.1. Since the post proceedure only requires this :
JSON: curl -u username:password -d status="your message here" http://api.twitter.com/1/statuses/update.json
I was wondering if it is possible with the standard libraries to format this so a message could be sent. My head says it should be possible.
I have an array (for checkboxes) that I need to pass alongside the regular form in an ajax post, but can't seem to get this to work:
new_data = [a,b,c,d,e];
somedata_assoc = JQuery.param({'choices[]': new_data});
$.ajax({
type: "POST",
url: contract_qurl,
data: $(div).find("form").serialize()+"&"+somedata_assoc,
context: $(this),
success: function(data) { $("#results_table").html(data); }
});
hi
In wordpress how to convert a post data into other language,i am given the xml response to mobile device.so each post is create in english but i have to response in chines and other language support,there are plugin like global translator but it use ajax,but i want the local function for translation.i am running wordpress 2.8
Please reply as soon as posssible
have dream day
Thanks in advance
Here's my scenario.
I have a web site, which automatically posts updates to Twitter using cURL at the moment.
But I hear Twitter is going to turn this feature off and move to OAuth.
I tried implementing OAuth in my site, but the user actually has to manually authenticate before being able to post anything to twitter.
How can I use OAuth and still let my website post updates automatically, without me having to manually click on "authenticate"?
Hi all
I need someone give a career advice about the Build and Release Dev.
I don't know what's exactly the uild and Release Dev do. What's the different between the Build and Release Dev and the regular product Dev? Do they have the same requirement? Or the regular product Dev need higher requirement? What do BRE dev do in their work?
Best Regards,
I need to filter the build results of a job based on the description of the build in Hudson. I found a plugin that allows for filtering based on the job description, however I'm not sure how I would begin to do the same for builds.
How is it possible to build a web service deployment package from script.
I can msbuild /target:rebuild /p:Configuration=Debug ".\MyProject.sln" but it does not build the deployment package.
I want to display ALL the blog post i've written to my visitors. Blogspot have 'Archive' widget but it display only the post posted in a particular month/year. I want to display all the posts.
Is there any solution to that without using javascript??
(i don't want to use javascript 'cuz some users might have their script disabled)
Thank You.
I am new to eclipse and wanted to do the following;-
1) how to use my custom build commands with eclipse. Till now I only saw make all?I use a shell script for building my project, how can I use that in eclipse environment.
2) When I create a new project with the existing source code, it doesn't add the files, without building the code and if code fails to build (because I generally don't have make all). How to resolve this issue
TFS Build 2010 is completely different from 2008. There is no "" task - I'm looking for a 2010 equivalent "activity". Is there a way to perform a basic command line execution in TFS Build 2010?