On Fri, Dec 3, 2010 at 11:39 AM, Ron Wheeler
wrote:
>
> You seem to have a pretty strong ego and a thick skin to deal with some of
> the comments.
> Keep it up.
Thanks Ron :)
-
To unsubscribe, e-mail: users-unsubscr...@maven.apa
On 03/12/2010 1:09 PM, Phillip Hellewell wrote:
On Fri, Dec 3, 2010 at 1:22 AM, Anders Hammar wrote:
Phillip, you should notice (once again) that fighting Maven best practice is
causing you extra trouble. You should create a mojo that cleans these files.
You always jump on me so quickly about
On Fri, Dec 3, 2010 at 1:22 AM, Anders Hammar wrote:
> Phillip, you should notice (once again) that fighting Maven best practice is
> causing you extra trouble. You should create a mojo that cleans these files.
You always jump on me so quickly about this, but I haven't even done
anything yet exce
ugin" approach great for one-off
tasks.
--
View this message in context:
http://maven.40175.n5.nabble.com/Catch-22-with-clean-phase-tp3289922p3291117.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To u
, 600 times a day
> -Original Message-
> From: anders.g.ham...@gmail.com
> [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar
> Sent: Friday, December 03, 2010 3:22 AM
> To: Maven Users List
> Subject: Re: Catch 22 with clean phase
>
> Phillip, you s
On 02/12/2010 8:12 PM, Brian Topping wrote:
On Dec 2, 2010, at 7:05 PM, Wayne Fay wrote:
Ok, so this is working great now, except for one problem. It runs
great the first time, but if I run "mvn clean" a second time, the
batch file is not there so it can't call it and it returns with an
error.
Phillip, you should notice (once again) that fighting Maven best practice is
causing you extra trouble. You should create a mojo that cleans these files.
It can be created smart enough to detect if anything needs to be done or
not. Put the mojo in the plugin that creates the files in the first plea
On Dec 2, 2010, at 7:05 PM, Wayne Fay wrote:
>> Ok, so this is working great now, except for one problem. It runs
>> great the first time, but if I run "mvn clean" a second time, the
>> batch file is not there so it can't call it and it returns with an
>> error.
>
> Turn your batch file into a
> Ok, so this is working great now, except for one problem. It runs
> great the first time, but if I run "mvn clean" a second time, the
> batch file is not there so it can't call it and it returns with an
> error.
Turn your batch file into a plugin and these problems will magically go away.
Wayn
On 2 December 2010 15:57, Phillip Hellewell wrote:
> Is there any way to make it conditional so it won't try to run the
> batch file if the target/ directory is not there? I'm using the
> exec-maven-plugin but I don't see any options that would help.
You could add a profile that's only triggered
On Thu, Dec 2, 2010 at 4:43 PM, Phillip Hellewell wrote:
> On Thu, Dec 2, 2010 at 1:25 PM, Brian Topping wrote:
>> There is a pre-clean, see
>> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference
>
> That's so weird. I swear I was on this page look
On Thu, Dec 2, 2010 at 1:36 PM, Wendy Smoak wrote:
> On Thu, Dec 2, 2010 at 3:08 PM, Phillip Hellewell wrote:
>> There's a batch file I want to run during the clean phase. Problem
>> is, the batch file lives below target/dependency, and the clean phase
>> wipes "target" first, so then my batch f
On Thu, Dec 2, 2010 at 1:25 PM, Brian Topping wrote:
> There is a pre-clean, see
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference
That's so weird. I swear I was on this page looking for pre-clean and
couldn't find it. I don't know why.
Oh we
FYI, "Simple things" (you say for bath file "a plugin is really overkill for
what this batch file does") are the best candidates to make into plugins.
Especially if that's something "company specific" or "project specific"
thingy.
Thanks,
~t~
On Thu, Dec 2, 2010 at 9:36 PM, Wendy Smoak wrote:
On Thu, Dec 2, 2010 at 3:08 PM, Phillip Hellewell wrote:
> There's a batch file I want to run during the clean phase. Problem
> is, the batch file lives below target/dependency, and the clean phase
> wipes "target" first, so then my batch file can't be found.
What does the batch file do?
Just g
There is a pre-clean, see
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference
On Dec 2, 2010, at 3:08 PM, Phillip Hellewell wrote:
> There's a batch file I want to run during the clean phase. Problem
> is, the batch file lives below target/dependen
There's a batch file I want to run during the clean phase. Problem
is, the batch file lives below target/dependency, and the clean phase
wipes "target" first, so then my batch file can't be found.
Is there a good solution to this? Like a pre-clean phase or something?
The only other ideas I've c
17 matches
Mail list logo