Re: [m2] maven-antrun-plugin error

2007-02-26 Thread jiangshachina
Hello, You always encountered some strange trouble :-D May other friends can help you ^_^ I'm very sorry. a cup of Java, cheers! Sha Jiang 秋秋 wrote: HI, jiagsha,Long time no see,I use the maven-antrun-plugin by the method you gave last time,I have done this configuration: plugin

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread Jo Vandermeeren
Hi Sam, Delete the maven-antrun-plugin directory and start over.. There might have beeen a problem when you downloaded the jar.. Alternatively, write a mojo that requires dependency resolution, iterate the dependecy set, get the files of the artifacts and copy them to the location of your

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread sam
HI, I have resolved the trouble just now.It seems like my ant-1.6.5.jar is incomplete/corrupt,I have downloaded it again,and the trouble has been resolved.but when I excute compile,the new problem was reported: Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread Ahmet Aytekin
What do you mean /of course,there is not a directory *D:\workspace\maven_itms\WEB-INF\lib\*.*/ ? The following configuration means there is WEB-INF directory at the same level with your pom.xml. It cannot find the WEB-INF/lib/*.* directory. Try use exact path to WEB-INF directory on your file

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread sam
Hi, I have used the exact path to WEB-INF directory on my file system like this: plugin artifactIdmaven-antrun-plugin/artifactId executions execution goals goalrun/goal /goals configuration tasks

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread jiangshachina
Hi, file=D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\*.jar I think the statement is wrong. If you want to deal with multi-files, you may use fileset, not wildcard. Please try the scripts below, copy todir=D:/jboss-4.0.4.GA/server/claim/lib overwrite=true fileset

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread sam
Hi, I have modified the configuration like this: copy todir=D:/jboss-4.0.4.GA/server/claim/libhttp://4.0.4.ga/server/claim/lib overwrite=true fileset dir=D:/workspace/maven_itms/target/maven_itms-1.0/WEB-INF/lib / /copy But after I have excuted mvn antrun:run , It still had no

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread jiangshachina
Hello, But after I have excuted mvn antrun:run , It still had no effect Please try command mvn compile or mvn package. Good Luck! a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, I have modified the configuration like this: copy

Re: [m2] maven-antrun-plugin error

2007-02-25 Thread jiangshachina
Hello, When using maven-antrun-plugin, I think, the main work is writing Ant task scripts. You can use the following scripts in executionconfiguration tag. tasks copy todir=path_to_JBoss_some_lib_dir overwrite=true fileset dir=path_to_some_lib_dir / /copy /tasks a cup of Java,

Re: [m2] maven-antrun-plugin error

2007-02-25 Thread sam
HI, jiagsha,Long time no see,I use the maven-antrun-plugin by the method you gave last time,I have done this configuration: plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasegenerate-resources/phase goals goalrun/goal /goals

RE: [m2] maven-antrun-plugin classpath related behavior changed

2007-01-03 Thread bigred0241
:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 11:26 AM To: Maven Users List Subject: [m2] maven-antrun-plugin classpath related behavior changed maven-antrun-plugin executions that had been working are failing with classpath related issues (classnotfound). I'm thinking maybe I've picked up

[m2] maven-antrun-plugin 2 different taks in different phases

2006-08-08 Thread Fred . Hauschel
Hi all, how can i run different tasks in different phases? Thanks Fredy Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche

Re: [m2] maven-antrun-plugin 2 different taks in different phases

2006-08-08 Thread Denis Cabasson
: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-m2--maven-antrun-plugin-2-different-taks-in-different-phases-tf2071914.html#a5705392 Sent from the Maven - Users forum at Nabble.com

AW: [m2] maven-antrun-plugin 2 different taks in different phases

2006-08-08 Thread Fred . Hauschel
works, thank you very much! Fredy -Ursprüngliche Nachricht- Von: Denis Cabasson [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 8. August 2006 14:32 An: users@maven.apache.org Betreff: Re: [m2] maven-antrun-plugin 2 different taks in different phases http://maven.apache.org/plugins

[m2] maven-antrun-plugin classpath related behavior changed

2006-03-09 Thread Xavier Toth
maven-antrun-plugin executions that had been working are failing with classpath related issues (classnotfound). I'm thinking maybe I've picked up a newer version of the plugin and it's behavior is different. Is anyone else experiencing these types of problems? Xavier

RE: [m2] maven-antrun-plugin classpath related behavior changed

2006-03-09 Thread Mayorgaadame, Alex
to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK Regards, Alex -Original Message- From: Xavier Toth [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 11:26 AM To: Maven Users List Subject: [m2] maven-antrun

Re: [m2] maven-antrun-plugin classpath related behavior changed

2006-03-09 Thread Xavier Toth
Message- From: Xavier Toth [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 11:26 AM To: Maven Users List Subject: [m2] maven-antrun-plugin classpath related behavior changed maven-antrun-plugin executions that had been working are failing with classpath related issues (classnotfound

Re: [m2] maven-antrun-plugin classpath related behavior changed

2006-03-09 Thread Xavier Toth
To: Maven Users List Subject: [m2] maven-antrun-plugin classpath related behavior changed maven-antrun-plugin executions that had been working are failing with classpath related issues (classnotfound). I'm thinking maybe I've picked up a newer version of the plugin and it's behavior

Re: [m2] maven-antrun-plugin: detect maven lifecycle phase that is run

2006-02-16 Thread Carlos Sanchez
I should not want to do this. Christoph -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Carlos Sanchez Sent: Wednesday, February 15, 2006 6:50 PM To: Maven Users List Subject: Re: [m2] maven-antrun-plugin: detect maven lifecycle phase that is run

[m2] maven-antrun-plugin: detect maven lifecycle phase that is run

2006-02-15 Thread Grothaus, Christoph
Hi maven-users! Is there any way to detect which lifecycle phase / goal was called on the command line from inside the maven-antrun-plugin? Maybe via a pom property that is set accordingly? Background: I want to do some ant work with the antrun plugin, but only when the deploy phase is called

[m2] maven-antrun-plugin: Property problems

2006-02-15 Thread Roland Bali
Hi, I want to execute a Ant build script but none of the properties are found when using Mavens antrun-plugin. If I run the script using Ant the first property is displayed correctly. Is this a known bug or am I doing something wrong? ?xml version=1.0? project name=movlan-server default=test

Re: [m2] maven-antrun-plugin: detect maven lifecycle phase that is run

2006-02-15 Thread Carlos Sanchez
Then you have to do it in deploy phase or the prevous one. On 2/15/06, Grothaus, Christoph [EMAIL PROTECTED] wrote: Hi maven-users! Is there any way to detect which lifecycle phase / goal was called on the command line from inside the maven-antrun-plugin? Maybe via a pom property that is

Re: [m2] maven-antrun-plugin: Property problems

2006-02-15 Thread Carlos Sanchez
It's a known issue already filed in jira. On 2/15/06, Roland Bali [EMAIL PROTECTED] wrote: I kind of solved my problems by adding the following lines before the ant-tag in the POM: property name=project.build.directory value=${project.build.directory }/ property name=os.name

RE: [m2] maven-antrun-plugin: detect maven lifecycle phase that is run

2006-02-15 Thread Grothaus, Christoph
Of Carlos Sanchez Sent: Wednesday, February 15, 2006 6:50 PM To: Maven Users List Subject: Re: [m2] maven-antrun-plugin: detect maven lifecycle phase that is run Then you have to do it in deploy phase or the prevous one

Re: [m2] maven-antrun-plugin classloading issues?

2005-11-26 Thread Brett Porter
How do you define your ant task? I think this is just a matter of how the classpaths are defined and can be fixed - check that it is not in JIRA and if not, please add it. Thanks, Brett On 11/25/05, Henry Isidro [EMAIL PROTECTED] wrote: Hi. I'm trying to run an ant task from the antrun plugin.

[m2] maven-antrun-plugin classloading issues?

2005-11-24 Thread Henry Isidro
Hi. I'm trying to run an ant task from the antrun plugin. When I try to define some dependencies as provided so that the packaging won't include them, the build stops and complains that the ant task can't find classes found in those provided dependencies. Everything works fine if I specify

Re: [m2] maven-antrun-plugin

2005-08-23 Thread Brett Porter
I believe that the plugin requires the 2.0 beta-1 release of Maven and will be released alongside it. Cheers, Brett On 8/23/05, Chris Berry [EMAIL PROTECTED] wrote: Greetings, I am trying to get the m2 maven-antrun-plugin to run. I have gotten pretty far but now I'm stumped. First I

[m2] maven-antrun-plugin

2005-08-22 Thread Chris Berry
Greetings, I am trying to get the m2 maven-antrun-plugin to run. I have gotten pretty far but now I'm stumped. First I downloaded the latest/greatest m2 from SVN. Then I pulled the maven-antrun-plugin code out and built it, after hacking a bit. I had to; 1) Change the pom.xml parent version 2