Just curious, from the command line...prior to executing ant against your build.xml (under Solaris), what does env yield?

Anyway, you might try using the -diagnose command line option to ant - it may help. Although, I've not experienced what you mention below :(

On Thu, 10 Jul 2008, Matt wrote:

Hi

I am relatively new to ANT

On solaris (on XP this works fine). the following script throws a memory 
exception (attached)
<?xml version="1.0"?>
<project name="test" basedir="."
            default="go" >

<property environment="env"/>
<target name="go">
<echo message="Hello World" />
</target>
</project>

If I take our the line
<property environment="env"/> 
it works fine.

What could be the problem ?

Matt





Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to