You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Pankaj Tandon <pa...@gmail.com> on 2007/04/21 15:23:56 UTC

Re: Error - "Target `and ' does not exist in this project." while building sample RCP Application

Pretty sure this is because of your folder name (Documents and Settings). Try
placing your fodler name in quotes. 
Better still, checkout to D:\projects or some saner named folder ;)

HTH
Pankaj

Ramesh Babu Pokala - TLS, Chennai wrote:
> 
> 
>  
> Hi,
>  
>   I tried building one eclipse RCP Application @
> http://mojo.codehaus.org/pde-maven-plugin/examples/simple_product.html .
>  
>  But the error ---    BUILD FAILED  - Target `and' does not exist in
> this project.    is coming.....
>  See the log below...
> 
> C:\Documents and
> Settings\bpra\Desktop\OMX\SampleRCP\PDE_Plugin_Tutorial\plugins\test.pde
> _maven_plugin.simple_application>mvn -e
> install
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] Building Simple Product PDE Example
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> ----
> [INFO] [pde:ext]
> [INFO] java -classpath D:\eclipse\startup.jar
> org.eclipse.core.launcher.Main -application
> org.eclipse.ant.core.antRunner -buildfi
> le
> D:\eclipse\plugins\org.eclipse.pde.build_3.2.0.v20060603\scripts\product
> Build\productBuild.xml -Dbuilder=C:\Documents and Sett
> ings\bpra\Desktop\OMX\SampleRCP\PDE_Plugin_Tutorial\plugins\test.pde_mav
> en_plugin.simple_application\buildConfiguration -DbuildDi
> rectory=C:\Documents and
> Settings\bpra\Desktop\OMX\SampleRCP\PDE_Plugin_Tutorial\plugins\test.pde
> _maven_plugin.simple_application
> \..\.. -DbuildTempFolder=C:\Documents and
> Settings\bpra\Desktop\OMX\SampleRCP\PDE_Plugin_Tutorial\plugins\test.pde
> _maven_plugin.s
> imple_application\target\pdeTemp -DjavacFailOnError=true
> Buildfile:
> D:\eclipse\plugins\org.eclipse.pde.build_3.2.0.v20060603\scripts\product
> Build\productBuild.xml
>  
> BUILD FAILED
> Target `and' does not exist in this project.
>  
> Total time: 0 seconds
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error executing command line. Exit code:13
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error executing
> command line. Exit code:13
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:564)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> ycle(DefaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:459)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:143)
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> executing command line. Exit code:13
>         at
> org.codehaus.mojo.pde.AbstractEclipsePDEMojo.executeCommandLine(Abstract
> EclipsePDEMojo.java:228)
>         at
> org.codehaus.mojo.pde.EclipsePDEMojo.execute(EclipsePDEMojo.java:102)
>         at
> org.codehaus.mojo.pde.EclipsePDEExtMojo.execute(EclipsePDEExtMojo.java:4
> 8)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:443)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:539)
>         ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Sat Apr 21 16:05:29 IST 2007
> [INFO] Final Memory: 4M/8M
> [INFO]
> ------------------------------------------------------------------------
>  
> C:\Documents and
> Settings\bpra\Desktop\OMX\SampleRCP\PDE_Plugin_Tutorial\plugins\test.pde
> _maven_plugin.simple_application>
>  
> 
> Thanks & Regards 
> Ramesh Babu.P 
>   
> 
> 
>  
> 
> 
> DISCLAIMER:
> -----------------------------------------------------------------------------------------------------------------------
> 
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its
> affiliates. Any views or opinions presented in 
> this email are solely those of the author and may not necessarily reflect
> the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure,
> modification, distribution and / or publication of 
> this message without the prior written consent of the author of this
> e-mail is strictly prohibited. If you have 
> received this email in error please delete it and notify the sender
> immediately. Before opening any mail and 
> attachments please check them for viruses and defect.
> 
> -----------------------------------------------------------------------------------------------------------------------
> 

-- 
View this message in context: http://www.nabble.com/Error---%22Target-%60and-%27-does-not-exist-in-this-project.%22--while--building-sample-RCP-Application-tf3622615s177.html#a10117084
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: How to build existing RCP Application using pde-maven-plugin

Posted by "Ramesh Babu Pokala - TLS, Chennai" <PR...@hcl.in>.
Hi Pankaj,
Yes you are right... Now it is working
Thanks Pankaj...
Now I was able to build sample eclipse RCP Application @ 
> http://mojo.codehaus.org/pde-maven-plugin/examples/simple_product.html
.


But I have already 2 RCP plugins developed. And I also have
"rcp.product" inside plugin

How to build these plugins?

Can I copy those plugins into PDE_Plugin_Tutorial -> plugins and start
building?
 


Thanks & Regards 
Ramesh Babu.P 
  
 

-----Original Message-----
From: Pankaj Tandon [mailto:pankajtandon@gmail.com] 
Sent: Saturday, April 21, 2007 6:54 PM
To: users@maven.apache.org
Subject: Re: Error - "Target `and ' does not exist in this project."
while building sample RCP Application


Pretty sure this is because of your folder name (Documents and
Settings). Try placing your fodler name in quotes. 
Better still, checkout to D:\projects or some saner named folder ;)

HTH
Pankaj

Ramesh Babu Pokala - TLS, Chennai wrote:
> 
> 
>  
> Hi,
>  
>   I tried building one eclipse RCP Application @ 
> http://mojo.codehaus.org/pde-maven-plugin/examples/simple_product.html
.
>  
>  But the error ---    BUILD FAILED  - Target `and' does not exist in
> this project.    is coming.....
>  See the log below...
> 
> C:\Documents and
> Settings\bpra\Desktop\OMX\SampleRCP\PDE_Plugin_Tutorial\plugins\test.p
> de _maven_plugin.simple_application>mvn -e install
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------
> --
> ----
> [INFO] Building Simple Product PDE Example
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------
> --
> ----
> [INFO] [pde:ext]
> [INFO] java -classpath D:\eclipse\startup.jar 
> org.eclipse.core.launcher.Main -application 
> org.eclipse.ant.core.antRunner -buildfi le 
> D:\eclipse\plugins\org.eclipse.pde.build_3.2.0.v20060603\scripts\produ
> ct Build\productBuild.xml -Dbuilder=C:\Documents and Sett 
> ings\bpra\Desktop\OMX\SampleRCP\PDE_Plugin_Tutorial\plugins\test.pde_m
> av en_plugin.simple_application\buildConfiguration -DbuildDi 
> rectory=C:\Documents and 
> Settings\bpra\Desktop\OMX\SampleRCP\PDE_Plugin_Tutorial\plugins\test.p
> de
> _maven_plugin.simple_application
> \..\.. -DbuildTempFolder=C:\Documents and 
> Settings\bpra\Desktop\OMX\SampleRCP\PDE_Plugin_Tutorial\plugins\test.p
> de
> _maven_plugin.s
> imple_application\target\pdeTemp -DjavacFailOnError=true
> Buildfile:
> D:\eclipse\plugins\org.eclipse.pde.build_3.2.0.v20060603\scripts\produ
> ct
> Build\productBuild.xml
>  
> BUILD FAILED
> Target `and' does not exist in this project.
>  
> Total time: 0 seconds
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] Error executing command line. Exit code:13 [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error 
> executing command line. Exit code:13
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau
> lt
> LifecycleExecutor.java:564)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif
> ec
> ycle(DefaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defaul
> tL
> ifecycleExecutor.java:459)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand
> le
> Failures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment
> s(
> DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLif
> ec
> ycleExecutor.java:143)
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> av
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> or
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error 
> executing command line. Exit code:13
>         at
> org.codehaus.mojo.pde.AbstractEclipsePDEMojo.executeCommandLine(Abstra
> ct
> EclipsePDEMojo.java:228)
>         at
> org.codehaus.mojo.pde.EclipsePDEMojo.execute(EclipsePDEMojo.java:102)
>         at
> org.codehaus.mojo.pde.EclipsePDEExtMojo.execute(EclipsePDEExtMojo.java
> :4
> 8)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugin
> Ma
> nager.java:443)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defau
> lt
> LifecycleExecutor.java:539)
>         ... 16 more
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Sat Apr 21 16:05:29 IST 2007 [INFO] Final Memory: 
> 4M/8M [INFO]
> ----------------------------------------------------------------------
> --
>  
> C:\Documents and
> Settings\bpra\Desktop\OMX\SampleRCP\PDE_Plugin_Tutorial\plugins\test.p
> de
> _maven_plugin.simple_application>
>  
> 
> Thanks & Regards
> Ramesh Babu.P
>   
> 
> 
>  
> 
> 
> DISCLAIMER:
> ----------------------------------------------------------------------
> -------------------------------------------------
> 
> The contents of this e-mail and any attachment(s) are confidential and

> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its 
> affiliates. Any views or opinions presented in this email are solely 
> those of the author and may not necessarily reflect the opinions of 
> HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, 
> modification, distribution and / or publication of this message 
> without the prior written consent of the author of this e-mail is 
> strictly prohibited. If you have received this email in error please 
> delete it and notify the sender immediately. Before opening any mail 
> and attachments please check them for viruses and defect.
> 
> ----------------------------------------------------------------------
> -------------------------------------------------
> 

--
View this message in context:
http://www.nabble.com/Error---%22Target-%60and-%27-does-not-exist-in-thi
s-project.%22--while--building-sample-RCP-Application-tf3622615s177.html
#a10117084
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org