Sorry, I work in windows nt/2000. It is not clear how I could receive this information through Ant.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 27, 2002 9:07 PM > To: [EMAIL PROTECTED] > Subject: Re: System information > > > > How can I look through Ant the system information like RAM > for example? > > I would like to define the <jvmarg value="-Xmx${RAM}MB"/> > for <java> task. > > how about something like > > % ant -DRAM=`awk '/^MemTotal:/ {printf("%dk",$2);}' /proc/meminfo` target-1 > > if on linux? > kenji > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
