-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All-in-one archetype doesn't do hot deployment with JRebel #181
Comments
From marco.ma...@gmail.com on June 26, 2014 08:44:56 I could see in my logs: JRebel: ERROR Error! Invalid 'dir' defined in class path of rebel.xml (jndi:/localhost/share/WEB-INF/classes/rebel.xml): Directory '/Users/xxx/Documents/workspace/maven-jrebel-aio/jrebel-test/share/target/test-classes' does not exist So I have changed the AIO pom.xml to override the JRebel Plugin adding: rad org.zeroturnaround jrebel-maven-plugin 1.1.5 generate-rebel-xml prepare-package generate war false ${project.build.outputDirectory} ${project.build.testOutputDirectory} / ${project.build.directory}/${project.build.finalName} / ${project.build.directory}/war org.alfresco.maven alfresco-rad ${maven.alfresco.version}
Now any changes inside the Alfresco project and Share project are taken into account, not inside the amp. Is it supposed to work with the AMP as well? |
From colum...@gmail.com on July 17, 2014 17:10:58 Marco, can you commit this in the SDK parent POM so that we can close this issue? Assigning it to you for now. Let me know! Status: Accepted |
This is now fixed using spring-loaded in version 2.0.0. JRebel usage is deprecated. |
From marco.ma...@gmail.com on March 04, 2014 11:30:41
What steps will reproduce the problem? 1. Install & configure JRebel 5.5.1 with valid licence
2. Create a new maven project with All-in-one archetype
3. Perform a mvn install -Prun,rad
4. When Alfresco is up and running add the folders:
/extension/templates/webscripts
inside
/amp/src/main/amp/config/alfresco/
5. Create a webscript descriptor inside the webscripts folder,
example "jrebel-test.get.desc.xml"
Jrebel-test /enterprise/admin/jrebel-test 1. Refresh Alfresco WebscriptsWhat is the expected output?
JRebel should hot deploy and alfresco should install the new webscript
What do you see instead?
The new webscript is not installed
What version of the product are you using?
SDK 1.1.0
All-in-on archetype
Alfresco 4.2.0 Please provide any additional information below. Works fine with the AMP archetype
Original issue: http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=181
The text was updated successfully, but these errors were encountered: