On Wed, 2010-09-15 at 16:59 +0200, Karel Piwko wrote:
> Hi Flavio,
> 
> if I got your question right, you can use following maven snippet to run
> hosted mode with your configuration after deploying *exploded* WAR to
> JBoss AS with ${context.path}:
> 
> 
>       <profile>
>          ...
>          <build>
>             <defaultGoal>package</defaultGoal>
>             <plugins>
>                <plugin>
>                   <groupId>org.codehaus.mojo</groupId>
>                   <artifactId>gwt-maven-plugin</artifactId>
>                   <version>1.3-SNAPSHOT</version>
>                   <executions>
>                      <execution>
>                         <id>run-devmode</id>
>                         <phase>package</phase>
>                         <goals>
>                            <goal>run</goal>
>                         </goals>
>                         <configuration>
> <runTarget>http://localhost:8080/${context.path}/devmode.html</runTarget>
> <!-- do not start jetty -->
> <noServer>true</noServer>
> <bindAddress>0.0.0.0</bindAddress>                           
> <!-- a directory where exploded WAR is in JBoss AS -->
> <hostedWebapp>/jboss-as-home/server/default/${context.path}</hostedWebapp>
I missed 'deploy' in here, it should
be /jboss-as-home/server/default/deploy/${context.path}.

>                         </configuration>
>                      </execution>
>                   </executions>
>                </plugin>
>             </plugins>
>          </build>
>       </profile>
>  
> If you're not using Maven, but Ant, which is probable if you used
> Seam-gen ;), there will be similar arguments as in plugin configuration
> you can pass.
> 
> Karel
> 
> 
> On Tue, 2010-09-07 at 02:38 -0700, Flori wrote:
> > Hey all,
> > 
> > did someone manage to run a seam generated application with gwt
> > compilied sources in hosted mode on JBoss?
> > 
> > http://community.jboss.org/wiki/UseJBossToolswithGoogleGWTPlugin  -
> > does not help really in my case - its the wrong order ;) I already
> > have my application and want to ADD a gwt application. So it's all
> > working fine - i can include my gwt module into a xhtml view - but i
> > don't know how i can use the hosted mode since my files are placed in
> > the generated view folder instead of the default gwt war folder! Can
> > someone point me in the right direction? Thanks a lot!
> > 
> > greetings!
> > 
> 
> 


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to