You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by nick the mytilian <at...@csd.uoc.gr> on 2004/10/13 18:58:10 UTC
Hotdeploy in jetspeed-1.5
Hello all!
I am working with jetspeed-1.5 and i am developing some jsp portlets.
Every time that i change one of them, i have to:
1.shutdown tomcat.
2. remove {TOMCAT_HOME}/webapps/jetspeed
3. remove {TOMCAT_HOME}/webapps/jetspeed.war
4. write: maven -Dmaven.test.skip=true dist:install from {JETSPEED_HOME}
5. copy the produced jetspeed.war in {TOMCAT_HOME}/webapps
6. start tomcat.
But this takes a long time for just a simple change!
Isn't there any more easy way?
I try to write "maven hotdeploy", but i get a:
BUILD FAILED
File...... /home/users/athanasi/jetspeed-1.5/maven.xml
Element... copy
Line...... 120
Column.... 87
Failed to copy
/home/users/athanasi/jetspeed-1.5/target/classes/org/apache/jetsp
eed/services/security/JetspeedSecurityException.class to
/webapps/jetspeed/WEB-I
NF/classes/org/apache/jetspeed/services/security/JetspeedSecurityException.class
due to
/webapps/jetspeed/WEB-INF/classes/org/apache/jetspeed/services/security/
JetspeedSecurityException.class (No such file or directory)
Total time: 21 seconds
Finished at: Thu Oct 14 00:38:01 EEST 2004
Any ideas please?
Thank you in advance!
Nikos.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Hotdeploy in jetspeed-1.5
Posted by Wu Ze He <wu...@gmail.com>.
Seems jetspeed plugin provides jetspeed:hotdeploy already. Can try?
On Wed, 13 Oct 2004 19:58:10 +0300 (EET DST), nick the mytilian
<at...@csd.uoc.gr> wrote:
> Hello all!
>
> I am working with jetspeed-1.5 and i am developing some jsp portlets.
>
> Every time that i change one of them, i have to:
> 1.shutdown tomcat.
> 2. remove {TOMCAT_HOME}/webapps/jetspeed
> 3. remove {TOMCAT_HOME}/webapps/jetspeed.war
> 4. write: maven -Dmaven.test.skip=true dist:install from {JETSPEED_HOME}
> 5. copy the produced jetspeed.war in {TOMCAT_HOME}/webapps
> 6. start tomcat.
>
> But this takes a long time for just a simple change!
> Isn't there any more easy way?
>
> I try to write "maven hotdeploy", but i get a:
> BUILD FAILED
> File...... /home/users/athanasi/jetspeed-1.5/maven.xml
> Element... copy
> Line...... 120
> Column.... 87
> Failed to copy
> /home/users/athanasi/jetspeed-1.5/target/classes/org/apache/jetsp
> eed/services/security/JetspeedSecurityException.class to
> /webapps/jetspeed/WEB-I
> NF/classes/org/apache/jetspeed/services/security/JetspeedSecurityException.class
> due to
> /webapps/jetspeed/WEB-INF/classes/org/apache/jetspeed/services/security/
> JetspeedSecurityException.class (No such file or directory)
> Total time: 21 seconds
> Finished at: Thu Oct 14 00:38:01 EEST 2004
>
> Any ideas please?
>
> Thank you in advance!
> Nikos.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
Re: Hotdeploy in jetspeed-1.5
Posted by David Sean Taylor <da...@bluesunrise.com>.
nick the mytilian wrote:
> Hello all!
>
> I am working with jetspeed-1.5 and i am developing some jsp portlets.
>
> Every time that i change one of them, i have to:
> 1.shutdown tomcat.
> 2. remove {TOMCAT_HOME}/webapps/jetspeed
> 3. remove {TOMCAT_HOME}/webapps/jetspeed.war
> 4. write: maven -Dmaven.test.skip=true dist:install from {JETSPEED_HOME}
> 5. copy the produced jetspeed.war in {TOMCAT_HOME}/webapps
> 6. start tomcat.
>
>
> But this takes a long time for just a simple change!
> Isn't there any more easy way?
>
If you are changing the JSP templates, you shouldn't have to restart
Tomcat. Just copy the new templates in like what you are trying to do
below....
> I try to write "maven hotdeploy", but i get a:
> BUILD FAILED
> File...... /home/users/athanasi/jetspeed-1.5/maven.xml
> Element... copy
> Line...... 120
> Column.... 87
> Failed to copy
> /home/users/athanasi/jetspeed-1.5/target/classes/org/apache/jetsp
> eed/services/security/JetspeedSecurityException.class to
> /webapps/jetspeed/WEB-I
> NF/classes/org/apache/jetspeed/services/security/JetspeedSecurityException.class
>
> due to
> /webapps/jetspeed/WEB-INF/classes/org/apache/jetspeed/services/security/
> JetspeedSecurityException.class (No such file or directory)
> Total time: 21 seconds
> Finished at: Thu Oct 14 00:38:01 EEST 2004
>
>
Sounds like your build is not running correctly.
Not sure why that is....
Can you build
maven java:compile
and then are all the class files being written to the target directory?
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org