I'll reply to myself and say we figured this out. It's really more of an ant
thing.
I changed it to:
<ant:copy
file="${maven.build.dir}/${maven.final.name}.jar"
todir="//${maven.cdp.riskserver.home}/bin/"
/>
The "//" tells ant it's an absolute path.
Then having maven.cdp.riskserver.home=c:/whatever in the build.properties
works fine.
-----Original Message-----
From: Jefferson K. French [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 2:32 PM
To: Maven Users List
Subject: Re: Ant:copy to absolute path?
How is maven.cdp.riskserver.home defined?
On Tue, 07 Sep 2004, at 13:19:34 [GMT -0400] Mitch Mattek wrote:
> Hey, I've got to copy some files to an absolute target. I'm putting
> this is in a property, and trying to use the ant:copy, but maven keeps
> apending the relative path in front.
> <ant:copy
> file="${maven.build.dir}/${maven.final.name}.jar"
> todir="${maven.cdp.riskserver.home}/bin"
> />
> The "todir" above is append the maven.build.dir in front of it. Is
> there some way to override this?
--
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]