Ant RIM run attributes
2 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Wednesday, February 18, 2004 08:58 AM

I'm quite new to RMI and ANT. Could someone please help me out?

I'd like to add attributes to my java command in my run target. That is... I'd like to set the policy file, doing something like this:


.. classpath stuff ..

Obviously the last arg-line won't work due to the too many ""-s. Any tips on how I can do this?
I'd be very grateful!

Re: Ant RIM run attributes

Posted By:   Anonymous  
Posted On:   Monday, March 15, 2004 03:49 AM

That´s not an RMI topic more an Ant one, so you are on the wrong forum and I´m here by accident :-) You have to mask the quotes either with " (backslash-quote) or xml-like with &quote.

Re: Ant RIM run attributes

Posted By:   Zane_Hartley  
Posted On:   Friday, March 12, 2004 02:47 PM

Small world, huh? I've been messing around with ANT myself recently. Seems to be the flavor of the month in the Java circles right now.

Anyway, I thought we could do better than the flat zero replies so here goes: drop the inner quotes completely. Works for me, anyhow. If you have a path with spaces, try single quotes, or, better yet, loading all the properties from a dedicated properties file. In which case you can freely mess around with the quotes like no tomorrow. Very laa-de-daah.

Seems like it's always the little things that get to you the most in this business...
About | Sitemap | Contact