This page (revision-19) was last changed on 06-Sep-2012 15:54 by Dieter Käppel

This page was created on 12-Feb-2011 02:54 by Dieter Käppel

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
19 06-Sep-2012 15:54 7 KB Dieter Käppel to previous
18 06-Sep-2012 15:54 7 KB Dieter Käppel to previous | to last
17 26-Jun-2012 13:57 7 KB Dieter Käppel to previous | to last
16 09-May-2012 23:19 7 KB Dieter Käppel to previous | to last
15 09-May-2012 23:18 7 KB Dieter Käppel to previous | to last
14 11-Apr-2012 11:45 7 KB Dieter Käppel to previous | to last
13 11-Apr-2012 11:32 7 KB Dieter Käppel to previous | to last
12 11-Apr-2012 10:55 7 KB Dieter Käppel to previous | to last
11 22-Feb-2011 12:05 7 KB Dieter Käppel to previous | to last
10 14-Feb-2011 10:34 7 KB Dieter Käppel to previous | to last
9 14-Feb-2011 10:32 6 KB Dieter Käppel to previous | to last
8 14-Feb-2011 10:28 6 KB Dieter Käppel to previous | to last
7 14-Feb-2011 10:24 6 KB Dieter Käppel to previous | to last
6 14-Feb-2011 10:24 6 KB Dieter Käppel to previous | to last
5 13-Feb-2011 17:09 6 KB Dieter Käppel to previous | to last
4 13-Feb-2011 15:51 6 KB Dieter Käppel to previous | to last
3 12-Feb-2011 03:14 6 KB Dieter Käppel to previous | to last
2 12-Feb-2011 02:55 6 KB Dieter Käppel to previous | to last
1 12-Feb-2011 02:54 4 KB Dieter Käppel to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 3 changed one line
!Problem Description
!!!Background
At line 6 changed one line
!Solution
!!!Solution
At line 9 changed one line
!State of Development
!!!State of Development
At line 13 removed one line
* reloading of classes where with changes in method body only
At line 17 changed 2 lines
!Installation
# Download current version of [http://repository.intersult.com/repository/com/intersult/live/1.0-SNAPSHOT/live-1.0-SNAPSHOT.jar] from Intersult repository.
[Intersult Live] works together with [Dynamic Code Evolution|http://ssw.jku.at/dcevm/]:
* Add/remove methods
* Change method signature
* Add/remove superclass and interfaces
Note: If you have problems using the Dynamic Code Evolution patch with Eclipse or other applications, you should use a copy of your VM eg. C:\Java\jdk1.6.0_23 -> C:\Java\jdk1.6.0_23dce.
!!!Usage
# Download current version of [http://intersult.com/public/maven/com/intersult/live/1.0-SNAPSHOT/live-1.0-SNAPSHOT.jar] from Intersult repository.
At line 20 changed one line
# Add -noverify -javaagent:<path>\1.0-SNAPSHOT\live-1.0-SNAPSHOT.jar to your JVM-Options, where <path> is local path to live-1.0-SNAPSHOT.jar
# Add -noverify -javaagent:<path>\live-1.0-SNAPSHOT.jar to your JVM-Options, where <path> is local path to live-1.0-SNAPSHOT.jar
At line 32 added 6 lines
Example run Java-Class using [Intersult Live]:
{{{
java -noverify -javaagent:live.jar -cp test.jar com.intersult.Test
}}}
At line 28 changed 2 lines
<live>
<mapping source="C\:\Java\workspace-helios\com.intersult\public\jsf-desktop\target/classes" target="/"/>
<live xmlns="http://intersult.com/live/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://intersult.com/live/1.0 http://intersult.com/public/maven/com/intersult/live/1.0-SNAPSHOT/live.xsd">
<mapping source="C\:\Java\workspace-helios\com.intersult\public\jsf-desktop\target/classes" target="/"/>
At line 35 changed 2 lines
!Examples with Maven 2
If you use maven 2 for the build process, it is very nice to generate source path into the live.xml. Just active resource filtering for properties files:
In most cases you want to exclude mapping of files in /META-INF, because this would break the system JAR loader:
At line 52 added 15 lines
<?xml version="1.0" encoding="UTF-8"?>
<live xmlns="http://intersult.com/live/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://intersult.com/live/1.0 http://intersult.com/public/maven/com/intersult/live/1.0-SNAPSHOT/live.xsd">
<mapping source="C:/<your-path>/classes" target="/">
<exclude path="/META-INF*"/>
</mapping>
</live>
}}}
In most cases there is only some static compiler stuff.
!Examples with Maven 2/3
If you use maven 2/3 for the build process, it is very nice to generate source path into the live.xml. To advice maven to replace variables, just put the live.xml in you projects /src/main/resources source folder. To activate resource filtering, place the following configuration into your pom.xml:
{{{
At line 45 removed 3 lines
<excludes>
<exclude>**/*.properties</exclude>
</excludes>
At line 78 added 8 lines
<repositories>
<repository>
<id>intersult-repo</id>
<name>Intersult Repository</name>
<url>http://intersult.com/public/maven</url>
</repository>
</repositories>
...
At line 62 changed one line
xsi:schemaLocation="http://intersult.com/live/1.0 http://repository.intersult.com/repository/com/intersult/live/1.0-SNAPSHOT/live.xsd ">
xsi:schemaLocation="http://intersult.com/live/1.0 http://intersult.com/public/maven/com/intersult/live/1.0-SNAPSHOT/live.xsd">
At line 71 changed one line
xsi:schemaLocation="http://intersult.com/live/1.0 http://repository.intersult.com/repository/com/intersult/live/1.0-SNAPSHOT/live.xsd ">
xsi:schemaLocation="http://intersult.com/live/1.0 http://intersult.com/public/maven/com/intersult/live/1.0-SNAPSHOT/live.xsd">
At line 75 removed one line
<mapping source="${basedir}/src/main/resources" target="/"/>
At line 83 changed one line
xsi:schemaLocation="http://intersult.com/live/1.0 http://repository.intersult.com/repository/com/intersult/live/1.0-SNAPSHOT/live.xsd">
xsi:schemaLocation="http://intersult.com/live/1.0 http://intersult.com/public/maven/com/intersult/live/1.0-SNAPSHOT/live.xsd">
At line 95 changed one line
xsi:schemaLocation="http://intersult.com/live/1.0 http://repository.intersult.com/repository/com/intersult/live/1.0-SNAPSHOT/live.xsd">
xsi:schemaLocation="http://intersult.com/live/1.0 http://intersult.com/public/maven/com/intersult/live/1.0-SNAPSHOT/live.xsd">
At line 107 changed one line
The live.xml definitions above references the live.xsd schema from intersult.com repository. Manually you can access the XML Schema Definition (XSD) at [live.xsd|http://repository.intersult.com/repository/com/intersult/live/1.0-SNAPSHOT/live.xsd]
The live.xml definitions above references the live.xsd schema from intersult.com repository. Manually you can access the XML Schema Definition (XSD) at [live.xsd|http://intersult.com/public/maven/com/intersult/live/1.0-SNAPSHOT/live.xsd]
At line 109 changed one line
!How it works
!!!How it works
At line 118 removed 3 lines
!Finally
Don't make jokes like Zero Payaround ;-)