[Deployers on JBoss (Deployers/JBoss)] - scanning unpacked deployment units outside the jboss server
by joris77
Hi,
I'm developing war deployment units for JBoss 4.0.2 all the time. One of the bottlenecks for developer productivity is the code deploy test cycle (probably most people feel this).
Jetty now has this plugin for maven2 which automatically reloads the jetty server when something changes in your source directory. It looks directly at the src/main/webapp folder and the target/classes folder. Very handy and it would save me a lot of time.
I tried to have the same effect with jboss by pointing the deployment scanner to my web folder in my workspace, changing the jboss-service.xml. Letting eclipse compile directly to the web-inf/classes folder I was able to deploy the exploded war from my workspace. But the only problem is, I quote from the comment in the jboss-service.xml:
anonymous wrote : URLs may be local (file:) or remote (http:). Scanning is supported
| for remote URLs but unpacked deployment units are not.
So redeployment is not possible !?
Another problem was that I had to rename my web folder to web.war.
My questions are:
Are there currently any plans to support such functionality (I don't mean the maven plugin)?
Is it very difficult to implement/contribute a deployer or deploymentscanner that does such a thing for development purposes?
Such a thing = configure a directory where the exploded war lives and reload it when:
option 1 the way jboss does it currently with exploded wars in the deploy directory when the web.xml is touched
option 2 the jetty way scanning the WEB-INF classes or another class directory configured
Thanks anyway,
Joris
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010110#4010110
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010110
18 years, 11 months
send parameter
by m.heidari
Hi,
I want to send language parameter from "jbossweb-tomcat55.sar/ROOT.war/
index.html "to index.jsp of portal-core.war.
How can I do this?
Thanks very much
18 years, 11 months
[Design of JBoss Build System] - JBoss Build Status Meeting Notes Feb 1, 2007
by pgier
Remaining tasks to complete before micro container mavenization is complete
Add a snapshot version of JBossTest to the maven2 repository. (JBoss Test can also be mavenized soon).
JBossRetro will be called by the antrun plugin until a maven2 plugin version can be created.
POM structure
There should be a single parent pom that all JBoss proejcts will inherit default configuration from.
Microcontainer and JBoss common will initially each use the build/pom.xml as the parent pom. Later will be re factored to share a single parent.
Project artifact naming convention
Project groupId will be "jboss" for all projects.
artifactId will be the name of the project or subproject
Synchronization of jboss maven repository with main maven repo.
All JBoss project builds should be dependent only on the JBoss repository.
Uploading JBoss artifacts to main maven repository is low priority and can be manually done as needed.
Cleanup of Maven2 repository
Paul will begin removing old stuff from the jboss repository. Maybe we can create something automated to find artifacts that are not depended upon.
We will look into using ant tasks to pull artifacts from the maven2 repository instead of the current one for existing builds. This would allow us to merge the two repositories before fully converting to maven.
Subversion Migration
Will work with IT to migrate remaining projects from CVS to subversion. Starting with JBoss Serialization and then Seam, JBoss Remoting, and maybe JBossRetro and the maven repository.
Other notes
We will have a bi-weekly meeting to provide an update of the status of the build system.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010067#4010067
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010067
18 years, 11 months