> -----Original Message-----
> From: Miriam Aguirre [mailto:[EMAIL PROTECTED]] 
> Sent: 10 April 2002 17:48
> To: '[EMAIL PROTECTED]'
> Subject: ant problems on windows
> 
> hello, i've got a couple of things, i downloaded 
> jakarta-ant-1.4.1-bin.zip (and tar.gz) and when i do an ant 
> -verbose target i get the following: Ant version 1.2 compiled 
> on October 24 2000
> 
> Searching for build.xml ...
> Searching in C:\project\core\build\nt
> Buildfile: C:\project\core\build\nt\build.xml
> Detected Java Version: 1.2
> Detected OS: Windows NT
> 
>  version 1.2 ? is this ok? also, i'm on windows 2000.

Miriam,

I'm running Ant (1.4.1) with Java 1.2.2 - no problems at all.  (Well, I get
a "non-fatal error" message that I cheerfully ignore...!)

>  if i add the <property environment="env"/> tag in my build 
> file i get:
> 
>  C:\project\eir\build\nt>build -verbose 
> -Diasbin=%GX_ROOTDIR%/bin deploy Ant version 1.2 compiled on 
> October 24 2000
> 
> BUILD FAILED
> 
> C:\project\eir\build\nt\build.xml:123: Class 
> org.apache.tools.ant.taskdefs.Property doesn't support the 
> "envir onment" attribute
> 
> Total time: 0 seconds

I'll pass on that one... :)

>  Finally, if i add more than one command line property (-Dprop1=foo
> -Dprop2=bar) ant doesn't seem to do
>  *anything*
>  C:\project\eir\build\nt>build -verbose 
> -Diasbin=%GX_ROOTDIR%/bin -Dhost=localhost -Dport=10817 
> deploy Ant version 1.2 compiled on October 24 2000
> C:\project\eir\build\nt>
> 
>  anyone have any ideas? 

Aye, IIRC the correct syntax is:
-Diasbin=%GX_ROOTDIR%/bin,host=localhost

>  -Miriam

Best of luck,
John


 --
John Niven
Please reply through mailing list

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to