AW: Ant 1.7.1 hangs on windows

2009-03-17 Thread Jan.Materne
>I just installed ant on a new windows XP workstation. I have >the following >settings: > >ANT_HOME=C:\bin\apache-ant-1.7.1 >JAVA_HOME=C:\Java\jdk1.6.0_12 > >If I type >ant -version it runs, reports the version then hangs with >NTVDM.exe taking >half the cpu. Does anyone have any idea what mi

AW: How to Add a Text Comment to the Beginning of a File (copy, concat)?

2009-03-17 Thread Jan.Materne
>I am using to create a destfile. I would like to provide a >comment at the top of the destfile that contains a list of the files >specified in the filelist's |files| attribute. > >I saw replaceregexp, but I don't want to replace a token, unless there >is a token for "beginning of file." > >How ca

Re: "Expanding" XML attributes with ant 1.6.5

2009-03-17 Thread Scot P. Floess
Sorry, I am still a little confused... Are you defing some XML that contains what want to call and using this as seed data in the transform to generate the Ant script? Honestly, I'm not understanding...sorry :( If you are using it as seed data...can you simply define a macrodef who has an

Re: How to Add a Text Comment to the Beginning of a File (copy, concat)?

2009-03-17 Thread David Weintraub
Do you mind adding the comment first before doing the ? Will this work for you? On Tue, Mar 17, 2009 at 3:47 PM, Garrett Smith wrote: > I am using to create a destfile. I would like to provide a > comment at the top of the destfile that contains a list of the files > specified in the fileli

Re: "Expanding" XML attributes with ant 1.6.5

2009-03-17 Thread Francis Galiegue
On mardi 17 mars 2009 17:37:05 Scot P. Floess wrote: > Sorry, I am a little confused... If I understand you, you define the > includes as attributes and use XSLT to generate what type of Ant file? > An ant file that calls others. The task is : Here's an extract from the stylesheet:

How to Add a Text Comment to the Beginning of a File (copy, concat)?

2009-03-17 Thread Garrett Smith
I am using to create a destfile. I would like to provide a comment at the top of the destfile that contains a list of the files specified in the filelist's |files| attribute. I saw replaceregexp, but I don't want to replace a token, unless there is a token for "beginning of file." How can I add

Re: trying to configure the Hudson Ivy plugin

2009-03-17 Thread Juha Ranta
Mitch Gitman wrote: > > > When I want to configure a particular job (project) to use the Ivy plugin, > I > go to the "Post-build Actions" section and check "Trigger the build of > other > project based on the Ivy management system." For "Ivy file," I fill in the > path relative to the project r

changing=true?

2009-03-17 Thread Sam Berlin
Hi Folks, We check-in the latest jars to CVS in a lib/jars location. Some jars have version numbers, others don't. I have the ivysettings file with a resolver like: My question is: If someone checks in a new jar to CVS (without a rev

Re: "Expanding" XML attributes with ant 1.6.5

2009-03-17 Thread Scot P. Floess
Sorry, I am a little confused... If I understand you, you define the includes as attributes and use XSLT to generate what type of Ant file? On Tue, 17 Mar 2009, Francis Galiegue wrote: Hello, I have a file named dist.xml which looks like: What I need to do is

"Expanding" XML attributes with ant 1.6.5

2009-03-17 Thread Francis Galiegue
Hello, I have a file named dist.xml which looks like: What I need to do is call an ant file (well, several, but once I know for one, I can expand for all) with each name attributes of the include tags as a property. What's more, I need to call them in order (mod1 b

Re: No Ivy jar in IvyDE?

2009-03-17 Thread Daniel Dekany
Tuesday, March 17, 2009, 3:38:08 PM, Becheanu, Daniel wrote: > I don't think IvyDE is suppose to install anything in ant classpath within > eclipse. But maybe the maintainers of IvyDE should publish a separate plugin ("IvyAnt" or something) within the same "site" that does that. That would preve

Conflict Management: Spring 2.0 vs 2.5 and Hiberante 2.1 vs Hibernate 3.1

2009-03-17 Thread Stephen Woods
I have a module that has both Hibernate 2 and Hibernate 3 code in it that depends on Spring. Unfortunately, since Spring no longer supports Hibernate 2 as of version 2.5, up until now, I have been forced to stay with Spring 2.0. Now that I'm using Ivy, I am hoping that I can create configurations

Ant 1.7.1 hangs on windows

2009-03-17 Thread troy . bull
Greetings I just installed ant on a new windows XP workstation. I have the following settings: ANT_HOME=C:\bin\apache-ant-1.7.1 JAVA_HOME=C:\Java\jdk1.6.0_12 If I type ant -version it runs, reports the version then hangs with NTVDM.exe taking half the cpu. Does anyone have any idea what mi

RE: Developing in Java with ANT

2009-03-17 Thread Felix Dorner
Whoops > Maybe you look for something like this: http://www.ibm.com/developerworks/websphere/library/techarticles/0502_gawor/0502_gawor.html Felix - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional comman

RE: Developing in Java with ANT

2009-03-17 Thread Felix Dorner
Maybe you look for something like this: > -Mensaje original- > De: David Nemer [mailto:davidne...@gmail.com] > Enviado el: Monday, March 16, 2009 10:26 PM > Para: user > Asunto: Re: Developing in Java with ANT > > Hello David and Martin, > > Thank you for your answers. But, I was just

AW: Developing in Java with ANT

2009-03-17 Thread Knuplesch, Juergen
Hello, If you read the ant.bat file you see "%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS% Therefore "org.apache.tools.ant.launch.Launcher" out of "ant-launcher.j