|
|
|
rivercode
|
Hi,
Having a little problem with the build using Maven, I am new to Maven so not too sure what is the best way to fix this. Any suggestions please...Thanks. [INFO] Writing OBR metadata [INFO] ------------------------------------------------------------------------ [INFO] Building Photon RCP Target [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing C:\Work\NobilisCapital\marketcetera-platform\source\photon\mav en\rcptarget\pom.xml to C:\Documents and Settings\CB\.m2\repository\org\marketce tera\photon-rcptarget\0.9.0\photon-rcptarget-0.9.0.pom [INFO] [dependency:unpack {execution: default}] [INFO] Configured Artifact: org.eclipse:rcp-sdk:win32:3.4.1:zip [INFO] Configured Artifact: org.eclipse:delta-pack:3.4.1:zip [INFO] Configured Artifact: org.eclipse:sdk:win32:3.4.1:zip [INFO] Configured Artifact: org.eclipse:mylyn:3.0.1.v20080721-2100-e3.4:zip [INFO] Configured Artifact: org.rubypeople:rdt:1.0.3.200807071913NGT:zip [INFO] Configured Artifact: com.swtworkbench.community:xswt:1.1.2:zip [INFO] Configured Artifact: org.marketcetera:photon-bundle:0.9.0:jar [INFO] rcp-sdk-3.4.1-win32.zip already unpacked. [INFO] delta-pack-3.4.1.zip already unpacked. [INFO] sdk-3.4.1-win32.zip already unpacked. [INFO] mylyn-3.0.1.v20080721-2100-e3.4.zip already unpacked. [INFO] rdt-1.0.3.200807071913NGT.zip already unpacked. [INFO] xswt-1.1.2.zip already unpacked. [INFO] Unpacking C:\Documents and Settings\CB\.m2\repository\org\marketcetera\ph oton-bundle\0.9.0\photon-bundle-0.9.0.jarto C:\photon-target\eclipse\plugins\org.marketcetera.thirdparty_0.9.0 with Includes null and excludes:null [INFO] [antrun:run {execution: unpack-plugins}] [INFO] Executing tasks [unzip] Expanding: C:\photon-target\eclipse\plugins\org.rubypeople.rdt.core_ 1.0.3.200807071913NGT.jar into C:\photon-target\eclipse\plugins\org.rubypeople.r dt.core_1.0.3.200807071913NGT [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] An Ant BuildException has occured: Error while expanding C:\photon-target \eclipse\plugins\org.rubypeople.rdt.core_1.0.3.200807071913NGT.jar java.io.FileNotFoundException: C:\photon-target\eclipse\plugins\org.rubypeople.r dt.core_1.0.3.200807071913NGT.jar (The system cannot find the file specified) [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: An Ant BuildException ha s occured: Error while expanding C:\photon-target\eclipse\plugins\org.rubypeople .rdt.core_1.0.3.200807071913NGT.jar java.io.FileNotFoundException: C:\photon-target\eclipse\plugins\org.rubypeople.r dt.core_1.0.3.200807071913NGT.jar (The system cannot find the file specified) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:142) |
||||||||||||||||
|
Colin DuPlantis-2
|
I believe I have seen this problem if your workspace is in an uncertain
(from Maven's point of view) state. Try "mvn clean install". rivercode wrote: > Hi, > > Having a little problem with the build using Maven, I am new to Maven so not > too sure what is the best way to fix this. > > Any suggestions please...Thanks. > > [INFO] Writing OBR metadata > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Photon RCP Target > [INFO] task-segment: [install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [site:attach-descriptor] > [INFO] [install:install] > [INFO] Installing > C:\Work\NobilisCapital\marketcetera-platform\source\photon\mav > en\rcptarget\pom.xml to C:\Documents and > Settings\CB\.m2\repository\org\marketce > tera\photon-rcptarget\0.9.0\photon-rcptarget-0.9.0.pom > [INFO] [dependency:unpack {execution: default}] > [INFO] Configured Artifact: org.eclipse:rcp-sdk:win32:3.4.1:zip > [INFO] Configured Artifact: org.eclipse:delta-pack:3.4.1:zip > [INFO] Configured Artifact: org.eclipse:sdk:win32:3.4.1:zip > [INFO] Configured Artifact: org.eclipse:mylyn:3.0.1.v20080721-2100-e3.4:zip > [INFO] Configured Artifact: org.rubypeople:rdt:1.0.3.200807071913NGT:zip > [INFO] Configured Artifact: com.swtworkbench.community:xswt:1.1.2:zip > [INFO] Configured Artifact: org.marketcetera:photon-bundle:0.9.0:jar > [INFO] rcp-sdk-3.4.1-win32.zip already unpacked. > [INFO] delta-pack-3.4.1.zip already unpacked. > [INFO] sdk-3.4.1-win32.zip already unpacked. > [INFO] mylyn-3.0.1.v20080721-2100-e3.4.zip already unpacked. > [INFO] rdt-1.0.3.200807071913NGT.zip already unpacked. > [INFO] xswt-1.1.2.zip already unpacked. > [INFO] Unpacking C:\Documents and > Settings\CB\.m2\repository\org\marketcetera\ph > oton-bundle\0.9.0\photon-bundle-0.9.0.jarto > C:\photon-target\eclipse\plugins\org.marketcetera.thirdparty_0.9.0 > with Includes null and excludes:null > [INFO] [antrun:run {execution: unpack-plugins}] > [INFO] Executing tasks > [unzip] Expanding: > C:\photon-target\eclipse\plugins\org.rubypeople.rdt.core_ > 1.0.3.200807071913NGT.jar into > C:\photon-target\eclipse\plugins\org.rubypeople.r > dt.core_1.0.3.200807071913NGT > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] An Ant BuildException has occured: Error while expanding > C:\photon-target > \eclipse\plugins\org.rubypeople.rdt.core_1.0.3.200807071913NGT.jar > java.io.FileNotFoundException: > C:\photon-target\eclipse\plugins\org.rubypeople.r > dt.core_1.0.3.200807071913NGT.jar (The system cannot find the file > specified) > > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: An Ant > BuildException ha > s occured: Error while expanding > C:\photon-target\eclipse\plugins\org.rubypeople > .rdt.core_1.0.3.200807071913NGT.jar > java.io.FileNotFoundException: > C:\photon-target\eclipse\plugins\org.rubypeople.r > dt.core_1.0.3.200807071913NGT.jar (The system cannot find the file > specified) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:583) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:499) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:478) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:330) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:291) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:142) _______________________________________________ m-etc-dev mailing list [hidden email] http://lists.marketcetera.org/mailman/listinfo/m-etc-dev_lists.marketcetera.org |
||||||||||||||||
|
rivercode
|
Surely mvn should run "clean" if first install was good ? If I run it a
second time (habit), it fails...what am I doing wrong ? Thanks mvn -DskipTests clean:clean // successful mvn -DskipTests install // successful mvn -DskipTests install // On second time (a build habit I suppose) of running it fails with following: [INFO] Building Photon RCP Target [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing C:\Work\NobilisCapital\marketcetera-platform\source\photon\mav en\rcptarget\pom.xml to C:\Documents and Settings\CB\.m2\repository\org\marketce tera\photon-rcptarget\0.9.0\photon-rcptarget-0.9.0.pom [INFO] [dependency:unpack {execution: default}] [INFO] Configured Artifact: org.eclipse:rcp-sdk:win32:3.4.1:zip [INFO] Configured Artifact: org.eclipse:delta-pack:3.4.1:zip [INFO] Configured Artifact: org.eclipse:sdk:win32:3.4.1:zip [INFO] Configured Artifact: org.eclipse:mylyn:3.0.1.v20080721-2100-e3.4:zip [INFO] Configured Artifact: org.rubypeople:rdt:1.0.3.200807071913NGT:zip [INFO] Configured Artifact: com.swtworkbench.community:xswt:1.1.2:zip [INFO] Configured Artifact: org.marketcetera:photon-bundle:0.9.0:jar [INFO] rcp-sdk-3.4.1-win32.zip already unpacked. [INFO] delta-pack-3.4.1.zip already unpacked. [INFO] sdk-3.4.1-win32.zip already unpacked. [INFO] mylyn-3.0.1.v20080721-2100-e3.4.zip already unpacked. [INFO] rdt-1.0.3.200807071913NGT.zip already unpacked. [INFO] xswt-1.1.2.zip already unpacked. [INFO] Unpacking C:\Documents and Settings\CB\.m2\repository\org\marketcetera\ph oton-bundle\0.9.0\photon-bundle-0.9.0.jarto C:\photon-target\eclipse\plugins\org.marketcetera.thirdparty_0.9.0 with Includes null and excludes:null [INFO] [antrun:run {execution: unpack-plugins}] [INFO] Executing tasks [unzip] Expanding: C:\photon-target\eclipse\plugins\org.rubypeople.rdt.core_ 1.0.3.200807071913NGT.jar into C:\photon-target\eclipse\plugins\org.rubypeople.r dt.core_1.0.3.200807071913NGT [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] An Ant BuildException has occured: Error while expanding C:\photon-target \eclipse\plugins\org.rubypeople.rdt.core_1.0.3.200807071913NGT.jar java.io.FileNotFoundException: C:\photon-target\eclipse\plugins\org.rubypeople.r dt.core_1.0.3.200807071913NGT.jar (The system cannot find the file specified) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 46 seconds [INFO] Finished at: Fri Nov 28 23:43:32 EST 2008 [INFO] Final Memory: 35M/168M [INFO] ------------------------------------------------------------------------ -----Original Message----- From: Colin DuPlantis [mailto:[hidden email]] Sent: Friday, November 28, 2008 11:13 PM To: rivercode Cc: [hidden email] Subject: Re: [m-etc-dev] Maven failing due to missing file org.rubypeople.r dt.core_1.0.3.200807071913NGT.jar I believe I have seen this problem if your workspace is in an uncertain (from Maven's point of view) state. Try "mvn clean install". rivercode wrote: > Hi, > > Having a little problem with the build using Maven, I am new to Maven > so not too sure what is the best way to fix this. > > Any suggestions please...Thanks. > > [INFO] Writing OBR metadata > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Building Photon RCP Target > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] [site:attach-descriptor] > [INFO] [install:install] > [INFO] Installing > C:\Work\NobilisCapital\marketcetera-platform\source\photon\mav > en\rcptarget\pom.xml to C:\Documents and > Settings\CB\.m2\repository\org\marketce > tera\photon-rcptarget\0.9.0\photon-rcptarget-0.9.0.pom > [INFO] [dependency:unpack {execution: default}] [INFO] Configured > Artifact: org.eclipse:rcp-sdk:win32:3.4.1:zip > [INFO] Configured Artifact: org.eclipse:delta-pack:3.4.1:zip [INFO] > Configured Artifact: org.eclipse:sdk:win32:3.4.1:zip [INFO] Configured > Artifact: org.eclipse:mylyn:3.0.1.v20080721-2100-e3.4:zip > [INFO] Configured Artifact: > org.rubypeople:rdt:1.0.3.200807071913NGT:zip > [INFO] Configured Artifact: com.swtworkbench.community:xswt:1.1.2:zip > [INFO] Configured Artifact: org.marketcetera:photon-bundle:0.9.0:jar > [INFO] rcp-sdk-3.4.1-win32.zip already unpacked. > [INFO] delta-pack-3.4.1.zip already unpacked. > [INFO] sdk-3.4.1-win32.zip already unpacked. > [INFO] mylyn-3.0.1.v20080721-2100-e3.4.zip already unpacked. > [INFO] rdt-1.0.3.200807071913NGT.zip already unpacked. > [INFO] xswt-1.1.2.zip already unpacked. > [INFO] Unpacking C:\Documents and > Settings\CB\.m2\repository\org\marketcetera\ph > oton-bundle\0.9.0\photon-bundle-0.9.0.jarto > C:\photon-target\eclipse\plugins\org.marketcetera.thirdparty_0.9.0 > with Includes null and excludes:null > [INFO] [antrun:run {execution: unpack-plugins}] [INFO] Executing tasks > [unzip] Expanding: > C:\photon-target\eclipse\plugins\org.rubypeople.rdt.core_ > 1.0.3.200807071913NGT.jar into > C:\photon-target\eclipse\plugins\org.rubypeople.r > dt.core_1.0.3.200807071913NGT > [INFO] > ---------------------------------------------------------------------- > -- > [ERROR] BUILD ERROR > [INFO] > ---------------------------------------------------------------------- > -- [INFO] An Ant BuildException has occured: Error while expanding > C:\photon-target > \eclipse\plugins\org.rubypeople.rdt.core_1.0.3.200807071913NGT.jar > java.io.FileNotFoundException: > C:\photon-target\eclipse\plugins\org.rubypeople.r > dt.core_1.0.3.200807071913NGT.jar (The system cannot find the file > specified) > > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: An Ant > BuildException ha s occured: Error while expanding > C:\photon-target\eclipse\plugins\org.rubypeople > .rdt.core_1.0.3.200807071913NGT.jar > java.io.FileNotFoundException: > C:\photon-target\eclipse\plugins\org.rubypeople.r > dt.core_1.0.3.200807071913NGT.jar (The system cannot find the file > specified) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:583) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:499) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:478) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:330) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:291) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:142) _______________________________________________ m-etc-dev mailing list [hidden email] http://lists.marketcetera.org/mailman/listinfo/m-etc-dev_lists.marketcetera.org |
||||||||||||||||
|
Will Horn
|
Hi Chris,
There was indeed a bug in the pom.xml for source/photon/maven/rcptarget. This has been fixed in the trunk and 1.0 should no longer have the problem. Thanks for bringing it up.
Will
On Fri, Nov 28, 2008 at 8:51 PM, Chris <[hidden email]> wrote: Surely mvn should run "clean" if first install was good ? If I run it a _______________________________________________ m-etc-dev mailing list [hidden email] http://lists.marketcetera.org/mailman/listinfo/m-etc-dev_lists.marketcetera.org |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |