Re: How to create intermediate directories?

2008-03-11 Thread Wayne Fay
If you want to be really Maven-ish, build a plugin. Other than that,
the Antrun plugin is perfectly acceptable.

Wayne

On 3/11/08, David C. Hicks [EMAIL PROTECTED] wrote:
 I need to create an intermediate directory under target.  The only
 method I've seen, so far, to do this is using the antrun plugin.  Is
 that the accepted method, or is there something more Maven-like?  (Seems
 to me that using Ant to accomplish these things is rather ironic.)

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to create intermediate directories?

2008-03-11 Thread Brian E. Fox
Usually plugins will create the folder when they have something to put
there. Why do you want a random empty folder in target?

-Original Message-
From: David C. Hicks [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 11, 2008 1:20 PM
To: users@maven.apache.org
Subject: How to create intermediate directories?

I need to create an intermediate directory under target.  The only 
method I've seen, so far, to do this is using the antrun plugin.  Is 
that the accepted method, or is there something more Maven-like?  (Seems

to me that using Ant to accomplish these things is rather ironic.)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to create intermediate directories?

2008-03-11 Thread David C. Hicks
I now know that I was seeing the wrong error in my build. I thought I 
could use targetPath in the resource tag to direct the output to a 
different place than target/classes, but that doesn't appear to be the 
case. I need to filter some Jasper report sources prior to pre-compile, 
but I don't want those filtered sources ending up in the classes 
directory. So, I was trying to make the resources tag do the work for 
me. Unless there is something that I'm overlooking, I guess I'm going to 
have to use the maven-resources-plugin to take care of it.


Brian E. Fox wrote:

Usually plugins will create the folder when they have something to put
there. Why do you want a random empty folder in target?

-Original Message-
From: David C. Hicks [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 11, 2008 1:20 PM

To: users@maven.apache.org
Subject: How to create intermediate directories?

I need to create an intermediate directory under target.  The only 
method I've seen, so far, to do this is using the antrun plugin.  Is 
that the accepted method, or is there something more Maven-like?  (Seems


to me that using Ant to accomplish these things is rather ironic.)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]