It looks like you need a space b/w start and -D.

On Mon, Apr 27, 2009 at 10:28 AM, Marc StPierre <marc.stpie...@doj.ca.gov>wrote:

> I can successfully run the project using jetty, but when I try using cargo
> i get the following?
>
> C:\appfuse\myproject>mvn -e cargo:start-Dcargo.wait=true
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Required goal not found: cargo:start-Dcargo.wait=true in
> org.codehaus.cargo:cargo-maven2-plugin:0.3
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Required goal not found:
> cargo:start-Dcargo.wait=true in org.codehaus.cargo:cargo-maven2-plugin:0.3
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1802)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:446)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:176)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        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)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Mon Apr 27 09:16:58 PDT 2009
> [INFO] Final Memory: 7M/254M
> [INFO]
> ------------------------------------------------------------------------
> C:\appfuse\myproject>
>
> >>> Matt Raible <m...@raibledesigns.com> 4/27/2009 8:29 AM >>>
> No, we do not still use build.xml, we use Maven. I would try building the
> WAR (using mvn package) and deploying it that way.
> You could also try using Cargo's OC4J support.
>
> http://cargo.codehaus.org/
>
> Matt
>
> On Mon, Apr 27, 2009 at 9:25 AM, Marc StPierre <marc.stpie...@doj.ca.gov
> >wrote:
>
> > Thanks Matt.
> >
> > 1. I started with the Struts 2 Basic Archtype
> >
> > 2. I ran the maven scripts to install the the files necessary for Eclipse
> >
> > 3. I ran the maven scripts to get the full-source
> >
> > I had no problem making the suggested changes to OC4J to pick up the
> > appfuse application. My troubles started when I got to the steps of
> > modifying the appfuse project.
> >
> > 1. Does appfuse2 still use the build.xml? If so where is it? If not what
> > are the equivalent changes that I need to make?
> >
> > Thanks
> >
> > >>> Matt Raible <m...@raibledesigns.com> 4/24/2009 10:38 AM >>>
> > Please post the errors you're seeing. Here's some instructions from
> AppFuse
> > 1.x that might help:
> >
> > http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseOnOrion
> >
> > Matt
> >
> > On Fri, Apr 24, 2009 at 11:18 AM, Bini MukundanVisalakshy <
> > bini.mukundanvisalak...@doj.ca.gov> wrote:
> >
> > > Does Appfuse support OC4j? Is the instructions available anywhere? Its
> > > working with Tomcat and jetty. Please help
> > >
> > >
> > >
> > >
> > > CONFIDENTIALITY NOTICE: This communication with its contents may
> contain
> > > confidential and/or legally privileged information. It is solely for
> the
> > use
> > > of the intended recipient(s). Unauthorized interception, review, use or
> > > disclosure is prohibited and may violate applicable laws including the
> > > Electronic Communications Privacy Act. If you are not the intended
> > > recipient, please contact the sender and destroy all copies of the
> > > communication.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> > > For additional commands, e-mail: users-h...@appfuse.dev.java.net
> > >
> > >
> >
> >
> > CONFIDENTIALITY NOTICE: This communication with its contents may contain
> > confidential and/or legally privileged information. It is solely for the
> use
> > of the intended recipient(s). Unauthorized interception, review, use or
> > disclosure is prohibited and may violate applicable laws including the
> > Electronic Communications Privacy Act. If you are not the intended
> > recipient, please contact the sender and destroy all copies of the
> > communication.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> > For additional commands, e-mail: users-h...@appfuse.dev.java.net
> >
> >
>
>
> CONFIDENTIALITY NOTICE: This communication with its contents may contain
> confidential and/or legally privileged information. It is solely for the use
> of the intended recipient(s). Unauthorized interception, review, use or
> disclosure is prohibited and may violate applicable laws including the
> Electronic Communications Privacy Act. If you are not the intended
> recipient, please contact the sender and destroy all copies of the
> communication.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to