You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Fernando Wermus <fe...@gmail.com> on 2009/04/15 22:05:05 UTC

jetty, wicket and multiple maven modules. refresh class problem.

Hi,
     I have a web site with wicket + maven. I use a maven module for
business logic and a maven module for webapp. Jetty looks .class files in
webapp/target. Before creating the multiples modules, I was debugging and
fixing the code all at the same time. Now, I have 2 modules and when I make
a change in a business logic java file, I have the old  .class file in
webapp/target which havent been replaced for logic business module class.

How can I make jetty take the last changes I ve made?


thanks in advance.

-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus
http://mientretiempo.blogspot.com/

Re: jetty, wicket and multiple maven modules. refresh class problem.

Posted by Fernando Wermus <fe...@gmail.com>.
buil automaticaly was off. Jajaja! thanks

On Thu, Apr 16, 2009 at 9:20 AM, Fernando Wermus
<fe...@gmail.com>wrote:

> Hi,
>     I solved dependencies problems.
>     I still cannot debugging and programming at the same time. Eclipse
> didn't take the changes I did to a any business java file and webapp java
> file!!. I only can debug lines that haven't been change.
>     I do execute command mvn eclipse:eclipse from parent pom, without any
> success.
>
>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>com.misPartidos</groupId>
>   <artifactId>misDeportes-module</artifactId>
>   <version>1.0-SNAPSHOT</version>
>   <packaging>pom</packaging>
>
>   <modules>
>     <module>XXX-core</module>
>     <module>XXX-webapp</module>
>     <module>XXX-swf</module>
>     <module>XXX-cfg</module>
>   </modules>
> </project>
>
>
>
>
>
>
>
> On Wed, Apr 15, 2009 at 3:00 PM, Igor Vaynberg <ig...@gmail.com>wrote:
>
>> On Wed, Apr 15, 2009 at 2:56 PM, Fernando Wermus
>> <fe...@gmail.com> wrote:
>> > Igor,
>> >     I avoid to use start.java because I get:
>> > org.apache.wicket.WicketRuntimeException:
>> > Application class com.misPartidos.web.EntretiempoApplication must be a
>> > subclass of WebApplication.
>>
>> you have two wicket jars on your classpath.
>>
>> -igor
>>
>>
>>
>> >
>> > but I am using maven for everything. What am I doing wrong?
>> >
>> > I outline some of the spec of my projects:
>> >
>> > there are four modules
>> >
>> > 1 flex module
>> > 2 java module
>> >      a. compiled with java 5 in Eclipse
>> > 1 config module.
>> >
>> > wicket 1.3.0
>> >
>> > using m2eclipse
>> >
>> >
>> > webapp
>> module---------------------------------------------------------------
>> >
>> >    <properties>
>> >        <wicket.version>1.3.0</wicket.version>
>> >        <jetty.version>6.1.4</jetty.version>
>> >        <blazeds.version>3.0.0.544</blazeds.version>
>> >    </properties>
>> >
>> > webapp dependecies------------------------------------------------------
>> >
>> >        <dependency>
>> >            <groupId>org.apache.wicket</groupId>
>> >            <artifactId>wicket-auth-roles</artifactId>
>> >            <version>${wicket.version}</version>
>> >        </dependency>
>> >        <dependency>
>> >               <groupId>org.apache.wicket.wicket-security</groupId>
>> >               <artifactId>wasp</artifactId>
>> >               <version>${wicket.version}</version>
>> >               <scope>compile</scope>
>> >        </dependency>
>> >        <dependency>
>> >            <groupId>org.apache.wicket</groupId>
>> >            <artifactId>wicket</artifactId>
>> >            <version>${wicket.version}</version>
>> >        </dependency>
>> >        <dependency>
>> >            <groupId>org.apache.wicket</groupId>
>> >            <artifactId>wicket-datetime</artifactId>
>> >            <version>${wicket.version}</version>
>> >        </dependency>
>> >        <dependency>
>> >            <groupId>org.apache.wicket</groupId>
>> >            <artifactId>wicket-extensions</artifactId>
>> >            <version>${wicket.version}</version>
>> >        </dependency>
>> >
>> >
>> > Please any help I would really appreciate.
>> >
>> >
>> > On Wed, Apr 15, 2009 at 2:09 PM, Igor Vaynberg <igor.vaynberg@gmail.com
>> >wrote:
>> >
>> >> and make sure you run mvn eclipse:eclipse from the folder that
>> >> contains the parent pom of both modules, that way yoru business logic
>> >> project is on the classpath of the webapp project instead of a jar.
>> >>
>> >> -igor
>> >>
>> >> On Wed, Apr 15, 2009 at 2:01 PM, Jeremy Thomerson
>> >> <je...@wickettraining.com> wrote:
>> >> > Run the Start.java that came with the quickstart - but make sure to
>> >> "debug
>> >> > as -> java application" rather than "start as".  This will allow it
>> to
>> >> pick
>> >> > up changes as you develop.
>> >> >
>> >> > --
>> >> > Jeremy Thomerson
>> >> > http://www.wickettraining.com
>> >> >
>> >> >
>> >> >
>> >> > On Wed, Apr 15, 2009 at 4:00 PM, Fernando Wermus
>> >> > <fe...@gmail.com>wrote:
>> >> >
>> >> >> I am. I am trying to solve this problem with jetty-test-plugin.
>> Better
>> >> >> option?
>> >> >>
>> http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory
>> >> .
>> >> >>
>> >> >> Eclipse isnt detecting the changes :(. Could it detect the changes
>> by
>> >> >> itself?
>> >> >>
>> >> >> It compiles in webapp/target and business logic/target. Jetty reads
>> >> classes
>> >> >> at webapp/target.
>> >> >>
>> >> >> -fernando
>> >> >>
>> >> >> On Wed, Apr 15, 2009 at 1:47 PM, Igor Vaynberg <
>> igor.vaynberg@gmail.com
>> >> >> >wrote:
>> >> >>
>> >> >> > are you using eclipse?
>> >> >> >
>> >> >> > -igor
>> >> >> >
>> >> >> > On Wed, Apr 15, 2009 at 1:05 PM, Fernando Wermus
>> >> >> > <fe...@gmail.com> wrote:
>> >> >> > > Hi,
>> >> >> > >     I have a web site with wicket + maven. I use a maven module
>> for
>> >> >> > > business logic and a maven module for webapp. Jetty looks .class
>> >> files
>> >> >> in
>> >> >> > > webapp/target. Before creating the multiples modules, I was
>> >> debugging
>> >> >> and
>> >> >> > > fixing the code all at the same time. Now, I have 2 modules and
>> when
>> >> I
>> >> >> > make
>> >> >> > > a change in a business logic java file, I have the old  .class
>> file
>> >> in
>> >> >> > > webapp/target which havent been replaced for logic business
>> module
>> >> >> class.
>> >> >> > >
>> >> >> > > How can I make jetty take the last changes I ve made?
>> >> >> > >
>> >> >> > >
>> >> >> > > thanks in advance.
>> >> >> > >
>> >> >> > > --
>> >> >> > > Fernando Wermus.
>> >> >> > >
>> >> >> > > www.linkedin.com/in/fernandowermus
>> >> >> > > http://mientretiempo.blogspot.com/
>> >> >> > >
>> >> >> >
>> >> >> >
>> ---------------------------------------------------------------------
>> >> >> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> >> > For additional commands, e-mail: users-help@wicket.apache.org
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Fernando Wermus.
>> >> >>
>> >> >> www.linkedin.com/in/fernandowermus
>> >> >> http://mientretiempo.blogspot.com/
>> >> >>
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> For additional commands, e-mail: users-help@wicket.apache.org
>> >>
>> >>
>> >
>> >
>> > --
>> > Fernando Wermus.
>> >
>> > www.linkedin.com/in/fernandowermus
>> > http://mientretiempo.blogspot.com/
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
> http://mientretiempo.blogspot.com/
>



-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus
http://mientretiempo.blogspot.com/

Re: jetty, wicket and multiple maven modules. refresh class problem.

Posted by Fernando Wermus <fe...@gmail.com>.
Hi,
    I solved dependencies problems.
    I still cannot debugging and programming at the same time. Eclipse
didn't take the changes I did to a any business java file and webapp java
file!!. I only can debug lines that haven't been change.
    I do execute command mvn eclipse:eclipse from parent pom, without any
success.


<project xmlns="http://maven.apache.org/POM/4.0.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.misPartidos</groupId>
  <artifactId>misDeportes-module</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pom</packaging>

  <modules>
    <module>XXX-core</module>
    <module>XXX-webapp</module>
    <module>XXX-swf</module>
    <module>XXX-cfg</module>
  </modules>
</project>






On Wed, Apr 15, 2009 at 3:00 PM, Igor Vaynberg <ig...@gmail.com>wrote:

> On Wed, Apr 15, 2009 at 2:56 PM, Fernando Wermus
> <fe...@gmail.com> wrote:
> > Igor,
> >     I avoid to use start.java because I get:
> > org.apache.wicket.WicketRuntimeException:
> > Application class com.misPartidos.web.EntretiempoApplication must be a
> > subclass of WebApplication.
>
> you have two wicket jars on your classpath.
>
> -igor
>
>
>
> >
> > but I am using maven for everything. What am I doing wrong?
> >
> > I outline some of the spec of my projects:
> >
> > there are four modules
> >
> > 1 flex module
> > 2 java module
> >      a. compiled with java 5 in Eclipse
> > 1 config module.
> >
> > wicket 1.3.0
> >
> > using m2eclipse
> >
> >
> > webapp
> module---------------------------------------------------------------
> >
> >    <properties>
> >        <wicket.version>1.3.0</wicket.version>
> >        <jetty.version>6.1.4</jetty.version>
> >        <blazeds.version>3.0.0.544</blazeds.version>
> >    </properties>
> >
> > webapp dependecies------------------------------------------------------
> >
> >        <dependency>
> >            <groupId>org.apache.wicket</groupId>
> >            <artifactId>wicket-auth-roles</artifactId>
> >            <version>${wicket.version}</version>
> >        </dependency>
> >        <dependency>
> >               <groupId>org.apache.wicket.wicket-security</groupId>
> >               <artifactId>wasp</artifactId>
> >               <version>${wicket.version}</version>
> >               <scope>compile</scope>
> >        </dependency>
> >        <dependency>
> >            <groupId>org.apache.wicket</groupId>
> >            <artifactId>wicket</artifactId>
> >            <version>${wicket.version}</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>org.apache.wicket</groupId>
> >            <artifactId>wicket-datetime</artifactId>
> >            <version>${wicket.version}</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>org.apache.wicket</groupId>
> >            <artifactId>wicket-extensions</artifactId>
> >            <version>${wicket.version}</version>
> >        </dependency>
> >
> >
> > Please any help I would really appreciate.
> >
> >
> > On Wed, Apr 15, 2009 at 2:09 PM, Igor Vaynberg <igor.vaynberg@gmail.com
> >wrote:
> >
> >> and make sure you run mvn eclipse:eclipse from the folder that
> >> contains the parent pom of both modules, that way yoru business logic
> >> project is on the classpath of the webapp project instead of a jar.
> >>
> >> -igor
> >>
> >> On Wed, Apr 15, 2009 at 2:01 PM, Jeremy Thomerson
> >> <je...@wickettraining.com> wrote:
> >> > Run the Start.java that came with the quickstart - but make sure to
> >> "debug
> >> > as -> java application" rather than "start as".  This will allow it to
> >> pick
> >> > up changes as you develop.
> >> >
> >> > --
> >> > Jeremy Thomerson
> >> > http://www.wickettraining.com
> >> >
> >> >
> >> >
> >> > On Wed, Apr 15, 2009 at 4:00 PM, Fernando Wermus
> >> > <fe...@gmail.com>wrote:
> >> >
> >> >> I am. I am trying to solve this problem with jetty-test-plugin.
> Better
> >> >> option?
> >> >>
> http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory
> >> .
> >> >>
> >> >> Eclipse isnt detecting the changes :(. Could it detect the changes by
> >> >> itself?
> >> >>
> >> >> It compiles in webapp/target and business logic/target. Jetty reads
> >> classes
> >> >> at webapp/target.
> >> >>
> >> >> -fernando
> >> >>
> >> >> On Wed, Apr 15, 2009 at 1:47 PM, Igor Vaynberg <
> igor.vaynberg@gmail.com
> >> >> >wrote:
> >> >>
> >> >> > are you using eclipse?
> >> >> >
> >> >> > -igor
> >> >> >
> >> >> > On Wed, Apr 15, 2009 at 1:05 PM, Fernando Wermus
> >> >> > <fe...@gmail.com> wrote:
> >> >> > > Hi,
> >> >> > >     I have a web site with wicket + maven. I use a maven module
> for
> >> >> > > business logic and a maven module for webapp. Jetty looks .class
> >> files
> >> >> in
> >> >> > > webapp/target. Before creating the multiples modules, I was
> >> debugging
> >> >> and
> >> >> > > fixing the code all at the same time. Now, I have 2 modules and
> when
> >> I
> >> >> > make
> >> >> > > a change in a business logic java file, I have the old  .class
> file
> >> in
> >> >> > > webapp/target which havent been replaced for logic business
> module
> >> >> class.
> >> >> > >
> >> >> > > How can I make jetty take the last changes I ve made?
> >> >> > >
> >> >> > >
> >> >> > > thanks in advance.
> >> >> > >
> >> >> > > --
> >> >> > > Fernando Wermus.
> >> >> > >
> >> >> > > www.linkedin.com/in/fernandowermus
> >> >> > > http://mientretiempo.blogspot.com/
> >> >> > >
> >> >> >
> >> >> >
> ---------------------------------------------------------------------
> >> >> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> >> > For additional commands, e-mail: users-help@wicket.apache.org
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >> --
> >> >> Fernando Wermus.
> >> >>
> >> >> www.linkedin.com/in/fernandowermus
> >> >> http://mientretiempo.blogspot.com/
> >> >>
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> >
> > --
> > Fernando Wermus.
> >
> > www.linkedin.com/in/fernandowermus
> > http://mientretiempo.blogspot.com/
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus
http://mientretiempo.blogspot.com/

Re: jetty, wicket and multiple maven modules. refresh class problem.

Posted by Igor Vaynberg <ig...@gmail.com>.
On Wed, Apr 15, 2009 at 2:56 PM, Fernando Wermus
<fe...@gmail.com> wrote:
> Igor,
>     I avoid to use start.java because I get:
> org.apache.wicket.WicketRuntimeException:
> Application class com.misPartidos.web.EntretiempoApplication must be a
> subclass of WebApplication.

you have two wicket jars on your classpath.

-igor



>
> but I am using maven for everything. What am I doing wrong?
>
> I outline some of the spec of my projects:
>
> there are four modules
>
> 1 flex module
> 2 java module
>      a. compiled with java 5 in Eclipse
> 1 config module.
>
> wicket 1.3.0
>
> using m2eclipse
>
>
> webapp module---------------------------------------------------------------
>
>    <properties>
>        <wicket.version>1.3.0</wicket.version>
>        <jetty.version>6.1.4</jetty.version>
>        <blazeds.version>3.0.0.544</blazeds.version>
>    </properties>
>
> webapp dependecies------------------------------------------------------
>
>        <dependency>
>            <groupId>org.apache.wicket</groupId>
>            <artifactId>wicket-auth-roles</artifactId>
>            <version>${wicket.version}</version>
>        </dependency>
>        <dependency>
>               <groupId>org.apache.wicket.wicket-security</groupId>
>               <artifactId>wasp</artifactId>
>               <version>${wicket.version}</version>
>               <scope>compile</scope>
>        </dependency>
>        <dependency>
>            <groupId>org.apache.wicket</groupId>
>            <artifactId>wicket</artifactId>
>            <version>${wicket.version}</version>
>        </dependency>
>        <dependency>
>            <groupId>org.apache.wicket</groupId>
>            <artifactId>wicket-datetime</artifactId>
>            <version>${wicket.version}</version>
>        </dependency>
>        <dependency>
>            <groupId>org.apache.wicket</groupId>
>            <artifactId>wicket-extensions</artifactId>
>            <version>${wicket.version}</version>
>        </dependency>
>
>
> Please any help I would really appreciate.
>
>
> On Wed, Apr 15, 2009 at 2:09 PM, Igor Vaynberg <ig...@gmail.com>wrote:
>
>> and make sure you run mvn eclipse:eclipse from the folder that
>> contains the parent pom of both modules, that way yoru business logic
>> project is on the classpath of the webapp project instead of a jar.
>>
>> -igor
>>
>> On Wed, Apr 15, 2009 at 2:01 PM, Jeremy Thomerson
>> <je...@wickettraining.com> wrote:
>> > Run the Start.java that came with the quickstart - but make sure to
>> "debug
>> > as -> java application" rather than "start as".  This will allow it to
>> pick
>> > up changes as you develop.
>> >
>> > --
>> > Jeremy Thomerson
>> > http://www.wickettraining.com
>> >
>> >
>> >
>> > On Wed, Apr 15, 2009 at 4:00 PM, Fernando Wermus
>> > <fe...@gmail.com>wrote:
>> >
>> >> I am. I am trying to solve this problem with jetty-test-plugin. Better
>> >> option?
>> >> http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory
>> .
>> >>
>> >> Eclipse isnt detecting the changes :(. Could it detect the changes by
>> >> itself?
>> >>
>> >> It compiles in webapp/target and business logic/target. Jetty reads
>> classes
>> >> at webapp/target.
>> >>
>> >> -fernando
>> >>
>> >> On Wed, Apr 15, 2009 at 1:47 PM, Igor Vaynberg <igor.vaynberg@gmail.com
>> >> >wrote:
>> >>
>> >> > are you using eclipse?
>> >> >
>> >> > -igor
>> >> >
>> >> > On Wed, Apr 15, 2009 at 1:05 PM, Fernando Wermus
>> >> > <fe...@gmail.com> wrote:
>> >> > > Hi,
>> >> > >     I have a web site with wicket + maven. I use a maven module for
>> >> > > business logic and a maven module for webapp. Jetty looks .class
>> files
>> >> in
>> >> > > webapp/target. Before creating the multiples modules, I was
>> debugging
>> >> and
>> >> > > fixing the code all at the same time. Now, I have 2 modules and when
>> I
>> >> > make
>> >> > > a change in a business logic java file, I have the old  .class file
>> in
>> >> > > webapp/target which havent been replaced for logic business module
>> >> class.
>> >> > >
>> >> > > How can I make jetty take the last changes I ve made?
>> >> > >
>> >> > >
>> >> > > thanks in advance.
>> >> > >
>> >> > > --
>> >> > > Fernando Wermus.
>> >> > >
>> >> > > www.linkedin.com/in/fernandowermus
>> >> > > http://mientretiempo.blogspot.com/
>> >> > >
>> >> >
>> >> > ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> >> > For additional commands, e-mail: users-help@wicket.apache.org
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> Fernando Wermus.
>> >>
>> >> www.linkedin.com/in/fernandowermus
>> >> http://mientretiempo.blogspot.com/
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
> http://mientretiempo.blogspot.com/
>

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


Re: jetty, wicket and multiple maven modules. refresh class problem.

Posted by Fernando Wermus <fe...@gmail.com>.
Igor,
     I avoid to use start.java because I get:
org.apache.wicket.WicketRuntimeException:
Application class com.misPartidos.web.EntretiempoApplication must be a
subclass of WebApplication.

but I am using maven for everything. What am I doing wrong?

I outline some of the spec of my projects:

there are four modules

1 flex module
2 java module
      a. compiled with java 5 in Eclipse
1 config module.

wicket 1.3.0

using m2eclipse


webapp module---------------------------------------------------------------

    <properties>
        <wicket.version>1.3.0</wicket.version>
        <jetty.version>6.1.4</jetty.version>
        <blazeds.version>3.0.0.544</blazeds.version>
    </properties>

webapp dependecies------------------------------------------------------

        <dependency>
            <groupId>org.apache.wicket</groupId>
            <artifactId>wicket-auth-roles</artifactId>
            <version>${wicket.version}</version>
        </dependency>
        <dependency>
               <groupId>org.apache.wicket.wicket-security</groupId>
               <artifactId>wasp</artifactId>
               <version>${wicket.version}</version>
               <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.wicket</groupId>
            <artifactId>wicket</artifactId>
            <version>${wicket.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.wicket</groupId>
            <artifactId>wicket-datetime</artifactId>
            <version>${wicket.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.wicket</groupId>
            <artifactId>wicket-extensions</artifactId>
            <version>${wicket.version}</version>
        </dependency>


Please any help I would really appreciate.


On Wed, Apr 15, 2009 at 2:09 PM, Igor Vaynberg <ig...@gmail.com>wrote:

> and make sure you run mvn eclipse:eclipse from the folder that
> contains the parent pom of both modules, that way yoru business logic
> project is on the classpath of the webapp project instead of a jar.
>
> -igor
>
> On Wed, Apr 15, 2009 at 2:01 PM, Jeremy Thomerson
> <je...@wickettraining.com> wrote:
> > Run the Start.java that came with the quickstart - but make sure to
> "debug
> > as -> java application" rather than "start as".  This will allow it to
> pick
> > up changes as you develop.
> >
> > --
> > Jeremy Thomerson
> > http://www.wickettraining.com
> >
> >
> >
> > On Wed, Apr 15, 2009 at 4:00 PM, Fernando Wermus
> > <fe...@gmail.com>wrote:
> >
> >> I am. I am trying to solve this problem with jetty-test-plugin. Better
> >> option?
> >> http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory
> .
> >>
> >> Eclipse isnt detecting the changes :(. Could it detect the changes by
> >> itself?
> >>
> >> It compiles in webapp/target and business logic/target. Jetty reads
> classes
> >> at webapp/target.
> >>
> >> -fernando
> >>
> >> On Wed, Apr 15, 2009 at 1:47 PM, Igor Vaynberg <igor.vaynberg@gmail.com
> >> >wrote:
> >>
> >> > are you using eclipse?
> >> >
> >> > -igor
> >> >
> >> > On Wed, Apr 15, 2009 at 1:05 PM, Fernando Wermus
> >> > <fe...@gmail.com> wrote:
> >> > > Hi,
> >> > >     I have a web site with wicket + maven. I use a maven module for
> >> > > business logic and a maven module for webapp. Jetty looks .class
> files
> >> in
> >> > > webapp/target. Before creating the multiples modules, I was
> debugging
> >> and
> >> > > fixing the code all at the same time. Now, I have 2 modules and when
> I
> >> > make
> >> > > a change in a business logic java file, I have the old  .class file
> in
> >> > > webapp/target which havent been replaced for logic business module
> >> class.
> >> > >
> >> > > How can I make jetty take the last changes I ve made?
> >> > >
> >> > >
> >> > > thanks in advance.
> >> > >
> >> > > --
> >> > > Fernando Wermus.
> >> > >
> >> > > www.linkedin.com/in/fernandowermus
> >> > > http://mientretiempo.blogspot.com/
> >> > >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> > For additional commands, e-mail: users-help@wicket.apache.org
> >> >
> >> >
> >>
> >>
> >> --
> >> Fernando Wermus.
> >>
> >> www.linkedin.com/in/fernandowermus
> >> http://mientretiempo.blogspot.com/
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus
http://mientretiempo.blogspot.com/

Re: jetty, wicket and multiple maven modules. refresh class problem.

Posted by Igor Vaynberg <ig...@gmail.com>.
and make sure you run mvn eclipse:eclipse from the folder that
contains the parent pom of both modules, that way yoru business logic
project is on the classpath of the webapp project instead of a jar.

-igor

On Wed, Apr 15, 2009 at 2:01 PM, Jeremy Thomerson
<je...@wickettraining.com> wrote:
> Run the Start.java that came with the quickstart - but make sure to "debug
> as -> java application" rather than "start as".  This will allow it to pick
> up changes as you develop.
>
> --
> Jeremy Thomerson
> http://www.wickettraining.com
>
>
>
> On Wed, Apr 15, 2009 at 4:00 PM, Fernando Wermus
> <fe...@gmail.com>wrote:
>
>> I am. I am trying to solve this problem with jetty-test-plugin. Better
>> option?
>> http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory.
>>
>> Eclipse isnt detecting the changes :(. Could it detect the changes by
>> itself?
>>
>> It compiles in webapp/target and business logic/target. Jetty reads classes
>> at webapp/target.
>>
>> -fernando
>>
>> On Wed, Apr 15, 2009 at 1:47 PM, Igor Vaynberg <igor.vaynberg@gmail.com
>> >wrote:
>>
>> > are you using eclipse?
>> >
>> > -igor
>> >
>> > On Wed, Apr 15, 2009 at 1:05 PM, Fernando Wermus
>> > <fe...@gmail.com> wrote:
>> > > Hi,
>> > >     I have a web site with wicket + maven. I use a maven module for
>> > > business logic and a maven module for webapp. Jetty looks .class files
>> in
>> > > webapp/target. Before creating the multiples modules, I was debugging
>> and
>> > > fixing the code all at the same time. Now, I have 2 modules and when I
>> > make
>> > > a change in a business logic java file, I have the old  .class file in
>> > > webapp/target which havent been replaced for logic business module
>> class.
>> > >
>> > > How can I make jetty take the last changes I ve made?
>> > >
>> > >
>> > > thanks in advance.
>> > >
>> > > --
>> > > Fernando Wermus.
>> > >
>> > > www.linkedin.com/in/fernandowermus
>> > > http://mientretiempo.blogspot.com/
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> > For additional commands, e-mail: users-help@wicket.apache.org
>> >
>> >
>>
>>
>> --
>> Fernando Wermus.
>>
>> www.linkedin.com/in/fernandowermus
>> http://mientretiempo.blogspot.com/
>>
>

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


Re: jetty, wicket and multiple maven modules. refresh class problem.

Posted by Jeremy Thomerson <je...@wickettraining.com>.
Run the Start.java that came with the quickstart - but make sure to "debug
as -> java application" rather than "start as".  This will allow it to pick
up changes as you develop.

--
Jeremy Thomerson
http://www.wickettraining.com



On Wed, Apr 15, 2009 at 4:00 PM, Fernando Wermus
<fe...@gmail.com>wrote:

> I am. I am trying to solve this problem with jetty-test-plugin. Better
> option?
> http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory.
>
> Eclipse isnt detecting the changes :(. Could it detect the changes by
> itself?
>
> It compiles in webapp/target and business logic/target. Jetty reads classes
> at webapp/target.
>
> -fernando
>
> On Wed, Apr 15, 2009 at 1:47 PM, Igor Vaynberg <igor.vaynberg@gmail.com
> >wrote:
>
> > are you using eclipse?
> >
> > -igor
> >
> > On Wed, Apr 15, 2009 at 1:05 PM, Fernando Wermus
> > <fe...@gmail.com> wrote:
> > > Hi,
> > >     I have a web site with wicket + maven. I use a maven module for
> > > business logic and a maven module for webapp. Jetty looks .class files
> in
> > > webapp/target. Before creating the multiples modules, I was debugging
> and
> > > fixing the code all at the same time. Now, I have 2 modules and when I
> > make
> > > a change in a business logic java file, I have the old  .class file in
> > > webapp/target which havent been replaced for logic business module
> class.
> > >
> > > How can I make jetty take the last changes I ve made?
> > >
> > >
> > > thanks in advance.
> > >
> > > --
> > > Fernando Wermus.
> > >
> > > www.linkedin.com/in/fernandowermus
> > > http://mientretiempo.blogspot.com/
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
> http://mientretiempo.blogspot.com/
>

Re: jetty, wicket and multiple maven modules. refresh class problem.

Posted by Fernando Wermus <fe...@gmail.com>.
I am. I am trying to solve this problem with jetty-test-plugin. Better
option?
http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory.

Eclipse isnt detecting the changes :(. Could it detect the changes by
itself?

It compiles in webapp/target and business logic/target. Jetty reads classes
at webapp/target.

-fernando

On Wed, Apr 15, 2009 at 1:47 PM, Igor Vaynberg <ig...@gmail.com>wrote:

> are you using eclipse?
>
> -igor
>
> On Wed, Apr 15, 2009 at 1:05 PM, Fernando Wermus
> <fe...@gmail.com> wrote:
> > Hi,
> >     I have a web site with wicket + maven. I use a maven module for
> > business logic and a maven module for webapp. Jetty looks .class files in
> > webapp/target. Before creating the multiples modules, I was debugging and
> > fixing the code all at the same time. Now, I have 2 modules and when I
> make
> > a change in a business logic java file, I have the old  .class file in
> > webapp/target which havent been replaced for logic business module class.
> >
> > How can I make jetty take the last changes I ve made?
> >
> >
> > thanks in advance.
> >
> > --
> > Fernando Wermus.
> >
> > www.linkedin.com/in/fernandowermus
> > http://mientretiempo.blogspot.com/
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus
http://mientretiempo.blogspot.com/

Re: jetty, wicket and multiple maven modules. refresh class problem.

Posted by Igor Vaynberg <ig...@gmail.com>.
are you using eclipse?

-igor

On Wed, Apr 15, 2009 at 1:05 PM, Fernando Wermus
<fe...@gmail.com> wrote:
> Hi,
>     I have a web site with wicket + maven. I use a maven module for
> business logic and a maven module for webapp. Jetty looks .class files in
> webapp/target. Before creating the multiples modules, I was debugging and
> fixing the code all at the same time. Now, I have 2 modules and when I make
> a change in a business logic java file, I have the old  .class file in
> webapp/target which havent been replaced for logic business module class.
>
> How can I make jetty take the last changes I ve made?
>
>
> thanks in advance.
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
> http://mientretiempo.blogspot.com/
>

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