Re: Using mksant.jar in ant script

2009-03-05 Thread NR031
Hi Antoine, Thank you so much for your suggetion, it really helped me. This is what I did : I placed the mksant.jar in my local path e.g., C:/dummy/folder/mksant.jar I placed my build file inside the directory C:/dummy/folder. and then I followed your steps :

Re: Using mksant.jar in ant script

2009-03-05 Thread Antoine Levy Lambert
Hi, what you are missing is to add a invocation in your build file to make the ant tasks contained in mksant.jar known to your build file. mksant.jar probably contains either an antlib.xml file or a property file with the list of the ant tasks, and this must be referenced. Additionnally, i

Re: How to get varaibles recognized by this task

2009-03-05 Thread Antoine Levy Lambert
Hello Dave, you should pass the projectName as an argument, so if you put it after the other arguments, I guess inside your script you would have sys.argv[4] instead of ${projectName} Regards, Antoine dave.alvar...@remanresource.com wrote: Hi, I have the below target ...

Re: How to get varaibles recognized by this task

2009-03-05 Thread Scot P. Floess
Here is an example of my being able to compute the locale of the currently running JVM and store it in a property using beanshell as my scripting language: http://keros.sourceforge.net"; > "*.jar"/> On Thu, 5 Mar 2009, dave.alvar.

Re: How to get varaibles recognized by this task

2009-03-05 Thread dave.alvarado
Thanks for your reply. I'm unfamiliar with some of the terms you are mentioning below. Could you give a code example? - Dave > ---Original Message--- > From: Scot P. Floess > Subject: Re: How to get varaibles recognized by this task > Sent: Mar 05 '09 17:24 > > > I know, at

Re: How to get varaibles recognized by this task

2009-03-05 Thread Scot P. Floess
I know, at least using scriptdef, I was able to make calls out to attributes.get ( [attribute-name] ) using beanshell - of course assuming my scriptdef contained an element On Thu, 5 Mar 2009, dave.alvar...@remanresource.com wrote: Hi, I have the below target ...

Re: Ivyide and multiple dependent projects

2009-03-05 Thread Alan Chaney
Hi Nicolas I think I've found the problem - apologies, I think it is "finger trouble" on my part (as we used say when I was in electronics) I think that when I was getting the build files correct for one project I was occasionally flushing the ivy cache. If I followed this with a Project->c

How to get varaibles recognized by this task

2009-03-05 Thread dave.alvarado
Hi, I have the below target ... print 'Calling the script ...' connect(sys.argv[1],sys.argv[2],sys.argv[3]) shutdownCluster("my_cluster_1") undeploy("RoutingEngine#v1.0") removeApplication("RoutingEngine#v1.0") deploy('RoutingEngine#v1.0'

Re: Declare few projects on a build.xml

2009-03-05 Thread Joe Schmetzer
Similarly, I've also just released some Ant library scripts here: http://www.exubero.com/asl/ These are just build plugins which you can either import directly in your own build, or just look over them as an example of how to write re-usable Ant modules. Cheers, Joe On Thu, March 5, 2009 3:44 p

Re: Declare few projects on a build.xml

2009-03-05 Thread Brian Pontarelli
The way to accomplish this with Ant is to use statements to include common build files or use the -f flag to specify a common build file for all the projects. However, if these solutions don't meet your needs you can also take a look at other solutions like these: - Gradle - Maven -

RE: Using mksant.jar in ant script

2009-03-05 Thread John Martin
The project that I have been working on had to do with a different jar, not the mksant.jar file. I did a quick google but didn't find what you are looking for. I would suggest starting at http://www.mks.com/support/news. John

RE: Using mksant.jar in ant script

2009-03-05 Thread NR031
Hi, Thanks for your quick reply. I put the jar file in my JDK home, but still it is not recognising the jar. I am using Netbeans as my IDE. Previously I added a contrib jar to my netbeans/ant/lib folder and it worked fine for me, but this jar is not working. Can you please send me the URL fo

RE: Using mksant.jar in ant script

2009-03-05 Thread John Martin
I found that putting the jar into the ANT_HOME/lib directory did not work. I had the add to the JAVA_HOME/ant directory in order for ant to find it. On Linux the directory I placed my jars into was /usr/share/java/ant. If you run the command 'ant -diagnostics' it will give you quite a bit of inf

RE: Declare few projects on a build.xml

2009-03-05 Thread John Martin
I would suggest that you take a look at Gant http://gant.codehaus.org/ which allows for much more dynamic coding of Ant processes. This way you might be able to get away with just a few Ant builds that are based on configurations. In addition you will have direct access to Groovy which is a gr

Using mksant.jar in ant script

2009-03-05 Thread NR031
Hi, How to use mksant.jar file inside ant script. I want to connect to MKS to checkout modules. I placed this jar in my ant_home/lib folder. When i try to use the the tags such as , in my ant script, it will show failed to create a task or attribute . I am new to the ant script and ne

Declare few projects on a build.xml

2009-03-05 Thread A A
Hello, to all the users from the list, it´s my first mail, and sorry for my poor english. Im starting to test ant, and building a script to automatized the deploys of my aplications, cause before i used to manual wget commands or autodeploys. The problem is I have a more than 30 aplications and

RE: Problem installing regexp option

2009-03-05 Thread John Martin
Solved my own problem. I installed the RPM package ant-nodeps yum install ant-nodeps As it turns out it does in fact install into the /usr/share/java/ant directory instead of /usr/share/ant/lib directory as one would expect. -Original Message- I have an Openbravo build process

Re: Ivyide and multiple dependent projects

2009-03-05 Thread Nicolas Lalevée
On jeudi 05 mars 2009 00:07:21 Alan Chaney wrote: > Hi Nicolas > > In answer to your questions see below > > Nicolas Lalevée wrote: > > Le 4 mars 09 à 18:39, Alan Chaney a écrit : > >> Hi > >> > >> I'm using ivy2.0.0/ivyide2.0.0.beta/eclipse 3.4 > >> > >> I have a number of projects which all contr

AW: Ant & patching XML files

2009-03-05 Thread Jan.Materne
see http://marc.info/?l=ant-user&m=123255143025824&w=2 Jan >-Ursprüngliche Nachricht- >Von: Klaus Malorny [mailto:klaus.malo...@knipp.de] >Gesendet: Donnerstag, 5. März 2009 10:00 >An: Ant Users List >Betreff: Ant & patching XML files > > >Hi all, > >I am looking for a method to manipul

Ant & patching XML files

2009-03-05 Thread Klaus Malorny
Hi all, I am looking for a method to manipulate XML files from Ant, i.e. adding/removing elements, changing attributes or elements' contents, far simpler than the capabilities of XSL/T. I have found the XmlTask ([1], [2]) and this seems to be quite flexible. However, as part of a configuratio