This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 161337 - evaluate CoS and javarebel usage interactions
Summary: evaluate CoS and javarebel usage interactions
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 11:53 UTC by Milos Kleint
Modified: 2009-08-20 11:59 UTC (History)
4 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2009-03-27 11:53:35 UTC
we need to check how compile on save (and deploy on save) interacts with javarebel agent (that is capable of reloading
the classes live without a re-run/re-deploy). Also applies to frameworks like tapestry (as mentioned in #148499)

we should probably somehow (how?) figure out that a technology that is using hot class replacement is in place and just
copy the class files on save.
Comment 1 Milos Kleint 2009-06-10 09:49:37 UTC
sample manual setup of netbeans maven projects, automatic IDE compilation and javarebel
http://blogs.codehaus.org/people/mkleint/archives/001795_appframework_maven_javarebel_and_netbeans.html

the supported IDE integration should work along those lines
1. allow embedding the javarebel execution configutation transparently
2. avoid having to place the automatic build stamp manually
Comment 2 Milos Kleint 2009-06-16 09:25:16 UTC
When configuring actions for projects, one can reuse variables from the IDE (as defined in Tools/Variables).
eg. when defining REBEL variable pointing to /home/mkleint/javatools/javarebel,
then it's possible to define the Run action mapping property as follows:
exec.args=-noverify -javaagent:${REBEL}/javarebel.jar -classpath %classpath ${packageClassName}
when executing via exec:exec plugin (and similarly for other usecases). 
http://hg.netbeans.org/main/rev/1a4d55fe2b61

The added value is that the nb-actions.xml file persisted with the project doesn't hardwire the absolute path.
Comment 3 Milos Kleint 2009-08-20 11:59:21 UTC
most probably done, I've used javarebel a few times and it seems to work (when it didn't work it was an issue in
javarebel itself)