You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-dev@james.apache.org by Johnny Sørensen <jo...@gmail.com> on 2010/02/04 14:45:52 UTC
Run Hupa directly with Maven without any IDE setup
Hello
I have a suggestion for some small changes in client/pom.xml.
For those who want to see what Hupa look like, they can check out the
project and run it without setting up any IDE. After the pom.xml is setup
correctly.
The user needs a SVN client and Maven installed.
Checkout the project with:
svn checkout http://svn.apache.org/repos/asf/james/hupa/trunkhupa-parent
Change directory:
cd hupa-parent/client
Start the Hupa client in GWT hosted mode:
mvn gwt:run
In the GWT Development Mode Window, click the "Launch Default Browser"
button.
If this is the first time, you will be asked to install a GWT Developer
Plugin.
And now when the Hupa Client is up and running, you can use your ordinary
gmail account.
If this has triggered the users curiosity, they can continue with setting up
their IDE either Eclipse, IntelliJ or whatever.
And the changes are (in client/pom.xml):
--------------
Index: pom.xml
===================================================================
--- pom.xml (revision 906457)
+++ pom.xml (working copy)
@@ -20,8 +20,8 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<configuration>
- <runTarget>org.apache.hupa.Hupa/Hupa.html
- </runTarget>
+ <runTarget>Hupa.html</runTarget>
+
<extraJvmArgs>-Dhupa.config.file=${project.parent.basedir}/server/src/main/webapp/WEB-INF/conf/config.properties</extraJvmArgs>
</configuration>
<executions>
<execution>
--------------
Re: Run Hupa directly with Maven without any IDE setup
Posted by Norman Maurer <no...@googlemail.com>.
Hi Jonny,
thx for the report. Please direct HUPA related questions/reports etc
to server-dev mailing list ( the one I Cc'd). Could you please open a
jira issue and attach the patch there (with the ASF grant checkbox
checked) ?
https://issues.apache.org/jira/browse/HUPA
I will be happy to include it then..
Thx a bunch,
Norman
2010/2/4 Johnny Sørensen <jo...@gmail.com>:
> Hello
>
> I have a suggestion for some small changes in client/pom.xml.
> For those who want to see what Hupa look like, they can check out the
> project and run it without setting up any IDE. After the pom.xml is setup
> correctly.
>
> The user needs a SVN client and Maven installed.
>
> Checkout the project with:
> svn checkout http://svn.apache.org/repos/asf/james/hupa/trunk
> hupa-parent
>
> Change directory:
> cd hupa-parent/client
>
> Start the Hupa client in GWT hosted mode:
> mvn gwt:run
>
> In the GWT Development Mode Window, click the "Launch Default Browser"
> button.
> If this is the first time, you will be asked to install a GWT Developer
> Plugin.
>
> And now when the Hupa Client is up and running, you can use your ordinary
> gmail account.
> If this has triggered the users curiosity, they can continue with setting up
> their IDE either Eclipse, IntelliJ or whatever.
>
> And the changes are (in client/pom.xml):
> --------------
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 906457)
> +++ pom.xml (working copy)
> @@ -20,8 +20,8 @@
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>gwt-maven-plugin</artifactId>
> <configuration>
> - <runTarget>org.apache.hupa.Hupa/Hupa.html
> - </runTarget>
> + <runTarget>Hupa.html</runTarget>
> +
> <extraJvmArgs>-Dhupa.config.file=${project.parent.basedir}/server/src/main/webapp/WEB-INF/conf/config.properties</extraJvmArgs>
> </configuration>
> <executions>
> <execution>
> --------------
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org