Quantcast

Using NetBeans/Ant with multiple, custom build.xml targets

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Using NetBeans/Ant with multiple, custom build.xml targets

smfaisalabbas
Did you get any solution to your problem?

I need similar thing essentially for debugging and release phases. I had expected Netbeans to be mature enough to include this thing.




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Using NetBeans/Ant with multiple, custom build.xml targets

Humage
This post on Stack Overflow (http://stackoverflow.com/questions/1351296/netbeans-creating-custom-build-target-to-let-sources-be-packaged-to-jar) about how to run customized build targets may help you in the right direction. Although there might not be a way to link it to the Build command, you can access it by right clicking the build.xml and choosing which target to run.

In further discussion, it would be wise not to
bakb wrote:
>  [Exclamation] BUMP [Exclamation]
 threads. As other developers, like me, tend to look at posts that have no replies. That helps us figure out which ones have answers.
Just a friendly FYI.

As for, smfaisalabbas, when I see the debugging keyword you used in your case, I can't help but think that NetBean's debugger is used for. (Default keybinding 'Ctrl+F5')
Unless there is a special need for building a debug version, the same link could be beneficial.

Happy Coding

------------------------
~Sizzle
Game Crafter's Backpack (http://code.google.com/p/game-crafters-backpack/)




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Using NetBeans/Ant with multiple, custom build.xml targets

netero
Hello,

Are your distributions very different from one client to the other? Because if the distribution is similar, then it seems to me that this solution could help:

http://forums.netbeans.org/viewtopic.php?t=35050&highlight=

Using the "triggers" like post-compile, post-build and so on, it seems to me that it should be possible to do some automatic tasks, because the element "${dist.dir}" can be easily replaced by any value.

Have a nice... evening?
netero




Loading...