AW: problem under Mac OS X + Eclipse

2005-09-28 Thread Jan.Materne
Let the MacOSX/Eclipse user print the path. Is xgettext in that? Maybe the path is not propagated. Jan >-Ursprüngliche Nachricht- >Von: Nicolas Vervelle [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 29. September 2005 08:42 >An: user@ant.apache.org >Betreff: problem under Mac OS X +

problem under Mac OS X + Eclipse

2005-09-28 Thread Nicolas Vervelle
Hi, I will probably post this one on the Eclipse mailing list, but maybe someone in the Ant list can help. I am working on an open-source project (Jmol [1]). The build is made with Ant but some of the Jmol developers / users use it from Eclipse. The build works correctly under Windows (and

RE: Umlauts in ANT home

2005-09-28 Thread Pollähne . Ullrich
Hi Antoine, I have tried to define ant.home with OEM and with ANSI encoding with no effort. If I leave out the ant.home definition from ant.bat then the launcher succeeds in finding ant.home (by getting the parent dir of the jar containing the Launcher). But afterwards the UrlClassLoader fails.

AW: How to set native OS variables?

2005-09-28 Thread Jan.Materne
Setting env cars AND RUNNING the application is no problem. Only setting the vars and quitting Ant - then the settings are lost. Jan >-Ursprüngliche Nachricht- >Von: Ninju Bohra [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 28. September 2005 22:58 >An: Ant Users List >Cc: Cels M. >Bet

Re: How to set native OS variables?

2005-09-28 Thread Ninju Bohra
Oops, you are right... the element is for setting JVM system properties (during a task) The element of the is correct --- Robert Clark <[EMAIL PROTECTED]> wrote: > On Wednesday September 28, 2005 12:57 pm, "Cels M." > <[EMAIL PROTECTED]> wrote: > > I need to set the native OS classpath

Re: Umlauts in ANT home

2005-09-28 Thread Antoine Levy-Lambert
Hello Ullrich, not sure, I think that current Windows JVM implementations from sun only understand ascii command line parameters, because they were coded using the -A APIs of Microsoft, instead of the -W APIs. I know that with JDK 1.4, it is not possible to run "java Shalom" if you write Shalom

Re: Zipfileset problem. Help!

2005-09-28 Thread Antoine Levy-Lambert
Hello, run your build with ant -debug to figure out exactly which directories are scanned by ant. the second zipfileset might be better rewritten meaning : I want all the files located under reports/daily/install what you wrote means : I want to have all the folders called instal

RE: Executing DOS batch files

2005-09-28 Thread Uri Zeituni
Many thanks! I did not see that...sorry for the trouble Zeituni From: Jeffrey E Care [mailto:[EMAIL PROTECTED] Sent: Wed 9/28/2005 6:46 PM To: Ant Users List Subject: Re: Executing DOS batch files There is a very clear example in the manual for using to run DO

Re: How to set native OS variables?

2005-09-28 Thread Robert Clark
On Wednesday September 28, 2005 12:57 pm, "Cels M." <[EMAIL PROTECTED]> wrote: > I need to set the native OS classpath and them an > application. I've been reading the ant docs and several usenet > posts but didn't find a way to do it. It's quite simple to retrieve > the OS properties but, is

Re: How to set native OS variables?

2005-09-28 Thread Ninju Bohra
Try looking at the sub-elements of the task, it allows you to define system properties that will be set on the process that is hosting the executable... Later, Ninju --- "Cels M." <[EMAIL PROTECTED]> wrote: > Hi, > > I need to set the native OS classpath and them > an application. > I'

How to set native OS variables?

2005-09-28 Thread Cels M.
Hi, I need to set the native OS classpath and them an application. I've been reading the ant docs and several usenet posts but didn't find a way to do it. It's quite simple to retrieve the OS properties but, is there any way to set them ? Thanks in advance, - Juan ___

AW: Executing DOS batch files

2005-09-28 Thread Jan.Materne
http://ant.apache.org/faq.html#batch-shell-execute Jan >-Ursprüngliche Nachricht- >Von: Jeffrey E Care [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 28. September 2005 17:47 >An: Ant Users List >Betreff: Re: Executing DOS batch files > >There is a very clear example in the manual for u

Re: Apply task argument issues...

2005-09-28 Thread Matt Benson
--- Nicolas Vervelle <[EMAIL PROTECTED]> wrote: [SNIP] > - try a to add a "+" before your filename, > set addsourcefile to > false, and use I would expect this to work; however by faking the target filename incremental builds won't work. At present it might be best to subclass apply to achieve

Re: problem with apply task

2005-09-28 Thread Matt Benson
Jakob--the "don't know how to handle it" indicates a problem with your mapper. Try changing your mapper to If that doesn't work, try HTH, Matt --- Jakob Fix <[EMAIL PROTECTED]> wrote: > Hello Brian, > > thanks for your answer. unfortunately, this doesn't > work either (same > result and

Re: Executing DOS batch files

2005-09-28 Thread Jeffrey E Care
There is a very clear example in the manual for using to run DOS batch files. http://ant.apache.org/manual/CoreTasks/exec.html -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) "Uri Zeituni" <[EMAIL PROTECTED]> wrote on 09/28/2

RE: Executing DOS batch files

2005-09-28 Thread Dick, Brian E.
Run cmd.exe and pass the bat as an arg. -Original Message- From: Uri Zeituni [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 11:29 AM To: user@ant.apache.org Subject: Executing DOS batch files Hi All, Is there any ANT tasks for running DOS batch files, executing DOS comman

Executing DOS batch files

2005-09-28 Thread Uri Zeituni
Hi All, Is there any ANT tasks for running DOS batch files, executing DOS command line tasks? >From what I understood from the user manual, the task executes only >windows .exe files. Thanks for your help, Zeituni

RE: Problem with Environment Variables on Win2000

2005-09-28 Thread Bill Rich
If you set the environment var using MyComputer, did you restart the command window before using it? This is a common issue with windows in that the env vars do not affect the open command windows. HTH Bill -Original Message- From: Jason [mailto:[EMAIL PROTECTED] Sent: Wednesday, Septem

Umlauts in ANT home

2005-09-28 Thread Pollähne . Ullrich
Hi, I tried to execute ANT from a path that contains umlauts (means ant.home contains umlauts). The result was: C:\java\apache-Änt-1.6.5>bin\ant java.lang.ClassNotFoundException: org.apache.tools.ant.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.A

RE: Problem with Environment Variables on Win2000

2005-09-28 Thread Jason
Thanks for testing it. After I posted, it started working on my Win2000 box as well so it's strange. Actually, this is not a new problem for me; I've run into it several times over the last couple of years. On windows, sometimes it works and sometimes it doesn't. I thought that this time it was

RE: Problem with Environment Variables on Win2000

2005-09-28 Thread Dick, Brian E.
It works on XP. --- rant.bat setlocal set foo=bar call ant echo on Endlocal --- build.xml env.foo is ${env.foo} --- output C:\Projects\My Tools>rant C:\Projects\My Tools>setlocal C:\Projects\My Tools>set foo=bar C:\Projects\My Tools>call ant Buildfile: build.xml [echo] env.fo

AW: Getting Javascript working with ANT

2005-09-28 Thread Jan.Materne
What means "ant -diagnostics" ? Especially the part printing "java.class.path" - are your script libraries there? Jan >-Ursprüngliche Nachricht- >Von: Vo, David (Mission Systems) [mailto:[EMAIL PROTECTED] >Gesendet: Samstag, 24. September 2005 00:40 >An: user@ant.apache.org >Betreff:

AW: Problems with optional tasks

2005-09-28 Thread Jan.Materne
Your output of java.class.path is /usr/local/ant/lib/ant-launcher.jar:/usr/local/ant/lib/ant-jdepend.jar:/usr/local/ant/lib/ant-trax.jar:/usr/local/ant/lib/ant.jar:/usr/local/ant/lib/ant-starteam.jar:/usr/local/ant/lib/ant-launcher.jar:/usr/local/ant/lib/ant-stylebook.jar:/usr/local/ant/lib/ant-ja

AntClassLoader2 broken ? (Reported as bug id: 36838)

2005-09-28 Thread Bülent Erdemir
Hi, My JVM (Sun 1.5.0_04) shows that the Jboss class org.jnp.interfaces.NamingContextFactory is loaded from ant.jar. Here's the output when I start ant with plain 'ant' call (without any -lib parameter and ANT_OPTS is set to -verbose:class) [FalezDeployRMI] FalezDeployRMI is running [FalezDe