Hi Matt,

Thanks for the reply.

On 25 Oct 2007 at 13:20, Matt Raible wrote:

> Are you excluding appfuse-data-common in your pom.xml? If so, please
> copy/paste that configuration into an e-mail so we can verify it's
> correct.

Wasn't sure if you really wanted the whole pom.xml so I've just included the 
relevant part of the Dependencies element (which is 
at the project root - basic archetype).  It looks OK to me FWIW, and I'd kinda 
thought it must be right if it works OK in Eclipse - is 
that a valid assumption?

        <dependencies>
                <dependency>
                        <groupId>org.appfuse</groupId>
                        <artifactId>appfuse-${web.framework}</artifactId>
                        <version>${appfuse.version}</version>
                        <type>war</type>
                    <exclusions>
                      <exclusion>
                        <groupId>org.appfuse</groupId>
                        <artifactId>appfuse-data-common</artifactId>
                      </exclusion>
                    </exclusions>
                </dependency>
<!-- other dependencies snipped -->
        </dependencies>

If you do want to see the whole thing, I can post it.

> On 10/25/07, Rob Hills <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > AppFuse 2.0 + Struts 2.  I've been developing on a Windoze box using
> > Eclipse + Eclipse Maven plugin.  I've modified the User class following the
> > instructions on the AppFuse website:
> >
> > http://www.appfuse.org/display/APF/AppFuse+Core+Classes
> >
> > This is all working fine and I can build and run my app using Maven in
> > Eclipse.
> >
> > However, I'm trying to setup to work on my app on my notebook running
> > Debian.  For various reasons, I won't have eclipse installed there.
> >
> > In preparation for the move, I tried building my app using Maven on the
> > command line on the windoze box.
> >
> > mvn clean compile works fine.
> >
> > However, if I try and run the app the way I do within Eclipse via:
> >
> > mvn jetty:run-war -Phsqldb
> >
> > All my tests fail - apparently because they're seeing the original appfuse
> > model classes and not my modified versions.  Exactly the same thing
> > happens on my linux box.
> >
> > Is there some other configuration step involved in getting this to work from
> > the console?  I've looked back over the Core Classes and Environment
> > Configuration pages of the AppFuse site, but can't see anything obvious that
> > I've missed.

Thanks,
Rob Hills
Waikiki, Western Australia
Mobile +61 (412) 904-357
Fax: +61 (8) 9529-2137

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to