<property environment="env"/> causing memory issue

View: New views
2 Messages — Rating Filter:   Alert me  

<property environment="env"/> causing memory issue

by Matt-245 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

Re: <property environment="env"/> causing memory issue

by Scot P. Floess :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: user-unsubscribe@...
For additional commands, e-mail: user-help@...
LightInTheBox - Buy quality products at wholesale price