Re: How to create a war from Eclipse

2011-11-16 Thread Vangel V. Ajanovski

On 12.11.2011 15:13, robnangle wrote:

Just wondering if any of  you know the best way to host your project?

I have java hosting that runs a tomcat server.
How do I get the project to display and work correctly on it?


I do mvn package which produces a war file and then I put it in webapps.
If you want it to answer on root path, you just name the war file ROOT.war

I use the tomcat manager app to deploy new versions ( /manager/html )
Whether this is allowed - it depends on the hosting option.



smime.p7s
Description: S/MIME Cryptographic Signature


Re: How to create a war from Eclipse

2011-11-12 Thread robnangle
Just wondering if any of  you know the best way to host your project?

I have java hosting that runs a tomcat server.
How do I get the project to display and work correctly on it?

Cheers in advance..!

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-create-a-war-from-Eclipse-tp4732051p4986976.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



How to create a war from Eclipse

2011-08-24 Thread Tim Koop
I've looked around for a way to create a .war file from Eclipse, but I 
can't find one.


Can someone here please tell me how it's done?

Thanks!


For more information:
- I've looked in Export..., but no war option is there, probably 
because my Tapestry project is not a Web Application.
- I think I'm using Maven somewhere in the background, because I 
sometimes see Maven notices on the console, and I suspect you can create 
a war with Maven, but I have no idea how.


--
Tim Koop
t...@timkoop.com mailto:t...@timkoop.com
www.timkoop.com http://www.timkoop.com

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: How to create a war from Eclipse

2011-08-24 Thread Chris Mylonas
(1) Right click on the project:  Maven - Enable dependency management
(2) Right click on the project:  Run As - maven package

If you don't have (1), you need the eclipse maven plugin:
In eclipse, Help - Install New Software and update this url to the update site 
URL list m2eclipse Core Update Site:
http://m2eclipse.sonatype.org/sites/m2e
Good luck!

 

On 25/08/2011, at 7:57 AM, Tim Koop wrote:

 I've looked around for a way to create a .war file from Eclipse, but I can't 
 find one.
 
 Can someone here please tell me how it's done?
 
 Thanks!
 
 
 For more information:
 - I've looked in Export..., but no war option is there, probably because my 
 Tapestry project is not a Web Application.
 - I think I'm using Maven somewhere in the background, because I sometimes 
 see Maven notices on the console, and I suspect you can create a war with 
 Maven, but I have no idea how.
 
 -- 
 Tim Koop
 t...@timkoop.com mailto:t...@timkoop.com
 www.timkoop.com http://www.timkoop.com
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org
 


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: How to create a war from Eclipse

2011-08-24 Thread nillehammer
Not quite Tapestry related, but anyway you can use the maven war plugin to
create wars. It is as simple as the following command on the command line:
mvn clean war:war
Look here for further information:
http://maven.apache.org/plugins/maven-war-plugin/

-
http://www.winfonet.eu
--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-create-a-war-from-Eclipse-tp4732051p4732059.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org