cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karich <peat...@yahoo.de>
Subject Re: fast deployment; deploy a single block
Date Tue, 10 Feb 2009 13:11:18 GMT
Hi again

> cd block
> mvn jetty:run 

this wasn't that easy :-)

I had to add some dependencies [1], which were in the war project
statically (!?)
And instead of accessing tomcat from your browser via:
http://localhost:8080/webapp/block/matcher
you have to go to
http://localhost:8888/block/matcher

Now all is fine. This will boost my development a lot. Even the class
reloading works - yeah!!
Thanks again, this rocks!

Regards,
Peter.


[1]
cd webapp/WEB-INF/lib
 mvn install:install-file -DgroupId=httpcomponents-httpcore
-DartifactId=httpcore -Dversion=4.0-beta3 -Dpackaging=jar
-Dfile=httpcore-4.0-beta3.jar
 mvn install:install-file -DgroupId=httpcomponents-httpclient
-DartifactId=httpclient -Dversion=4.0-beta2 -Dpackaging=jar
-Dfile=httpclient-4.0-beta2.jar

 change pom.xml for the block.jar:
  <dependency>
            <groupId>httpcomponents-httpcore</groupId>
            <artifactId>httpcore</artifactId>
            <version>4.0-beta3</version>
  </dependency>
  <dependency>
            <groupId>httpcomponents-httpclient</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.0-beta2</version>
  </dependency>


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


Mime
View raw message