diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9dfe126..6cc849f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
## JaCoCoverage Change Log
+### Version 1.3.8.20140919.2148 (2014-09-19)
+* updated JaCoCo library to 0.7.2 (see its [changelog](http://www.eclemma.org/jacoco/trunk/doc/changes.html)).
+* preparation for Java Web/EE/EJB/EAR projects support (will be activated once [NetBeans bug 246072](https://netbeans.org/bugzilla/show_bug.cgi?id=246072) is fixed).
+* *built with NetBeans 8.0.1FCS and Oracle JDK7.*
+
### Version 1.3.7.20140512.1900 (2014-05-12)
* updated JaCoCo library to 0.7.1 (see its [changelog](http://www.eclemma.org/jacoco/trunk/doc/changes.html)).
diff --git a/README.md b/README.md
index d698818..91135e6 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Ant target) is executed for the project. Currently the Java Application, Java Li
Cobertura based plugins.
* JaCoCo is a free code coverage library for Java, which has been created by the [EclEmma team](http://www.eclemma.org/jacoco/).
-TikiOne JaCoCoverage plugin is built with and for the [NetBeans 8.0 platform](http://netbeans.org) and the latest version of
+TikiOne JaCoCoverage plugin is built with and for the [NetBeans 8.0.1 platform](http://netbeans.org) and the latest version of
[Oracle JDK7](http://www.oracle.com/technetwork/java/javase/downloads/index.html).
### Download stable builds
diff --git a/nbproject/platform.properties b/nbproject/platform.properties
index fcd017b..b1114ed 100644
--- a/nbproject/platform.properties
+++ b/nbproject/platform.properties
@@ -12,4 +12,4 @@ cluster.path=\
${nbplatform.active.dir}/websvccommon
disabled.modules=
nbjdk.active=JDK_1.7
-nbplatform.active=nb80
+nbplatform.active=default
diff --git a/tikione-jacoco-lib/manifest.mf b/tikione-jacoco-lib/manifest.mf
index f362ca1..41d83b0 100644
--- a/tikione-jacoco-lib/manifest.mf
+++ b/tikione-jacoco-lib/manifest.mf
@@ -3,5 +3,5 @@ AutoUpdate-Show-In-Client: false
OpenIDE-Module: fr.tikione.jacoco.lib/1
OpenIDE-Module-Layer: fr/tikione/jacoco/lib/layer.xml
OpenIDE-Module-Localizing-Bundle: fr/tikione/jacoco/lib/Bundle.properties
-OpenIDE-Module-Specification-Version: 0.7.1.20140512.1900
+OpenIDE-Module-Specification-Version: 0.7.2.20140919.2145
diff --git a/tikione-jacoco-lib/nbproject/genfiles.properties b/tikione-jacoco-lib/nbproject/genfiles.properties
index 204bea2..6a797fb 100644
--- a/tikione-jacoco-lib/nbproject/genfiles.properties
+++ b/tikione-jacoco-lib/nbproject/genfiles.properties
@@ -1,8 +1,8 @@
-build.xml.data.CRC32=eea180bb
+build.xml.data.CRC32=4c0c1a66
build.xml.script.CRC32=b0c00133
-build.xml.stylesheet.CRC32=a56c6a5b@2.56.1
+build.xml.stylesheet.CRC32=a56c6a5b@2.67.1
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=eea180bb
+nbproject/build-impl.xml.data.CRC32=4c0c1a66
nbproject/build-impl.xml.script.CRC32=10dbad13
-nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.56.1
+nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.67.1
diff --git a/tikione-jacoco-lib/nbproject/project.xml b/tikione-jacoco-lib/nbproject/project.xml
index 5550cee..e1654c0 100644
--- a/tikione-jacoco-lib/nbproject/project.xml
+++ b/tikione-jacoco-lib/nbproject/project.xml
@@ -10,19 +10,19 @@
com.vladium.emma.rt
org.jacoco.agent
org.jacoco.agent.rt
- org.jacoco.agent.rt.internal_9dd1198
- org.jacoco.agent.rt.internal_9dd1198.asm
- org.jacoco.agent.rt.internal_9dd1198.asm.commons
- org.jacoco.agent.rt.internal_9dd1198.asm.tree
- org.jacoco.agent.rt.internal_9dd1198.core
- org.jacoco.agent.rt.internal_9dd1198.core.data
- org.jacoco.agent.rt.internal_9dd1198.core.instr
- org.jacoco.agent.rt.internal_9dd1198.core.internal
- org.jacoco.agent.rt.internal_9dd1198.core.internal.data
- org.jacoco.agent.rt.internal_9dd1198.core.internal.flow
- org.jacoco.agent.rt.internal_9dd1198.core.internal.instr
- org.jacoco.agent.rt.internal_9dd1198.core.runtime
- org.jacoco.agent.rt.internal_9dd1198.output
+ org.jacoco.agent.rt.internal_e6e56f0
+ org.jacoco.agent.rt.internal_e6e56f0.asm
+ org.jacoco.agent.rt.internal_e6e56f0.asm.commons
+ org.jacoco.agent.rt.internal_e6e56f0.asm.tree
+ org.jacoco.agent.rt.internal_e6e56f0.core
+ org.jacoco.agent.rt.internal_e6e56f0.core.data
+ org.jacoco.agent.rt.internal_e6e56f0.core.instr
+ org.jacoco.agent.rt.internal_e6e56f0.core.internal
+ org.jacoco.agent.rt.internal_e6e56f0.core.internal.data
+ org.jacoco.agent.rt.internal_e6e56f0.core.internal.flow
+ org.jacoco.agent.rt.internal_e6e56f0.core.internal.instr
+ org.jacoco.agent.rt.internal_e6e56f0.core.runtime
+ org.jacoco.agent.rt.internal_e6e56f0.output
org.jacoco.ant
org.jacoco.asm
org.jacoco.asm.commons
@@ -37,6 +37,7 @@
org.jacoco.core.internal.flow
org.jacoco.core.internal.instr
org.jacoco.core.runtime
+ org.jacoco.core.tools
org.jacoco.report
org.jacoco.report.check
org.jacoco.report.csv
diff --git a/tikione-jacoco-lib/release/modules/ext/jacocoagent.jar b/tikione-jacoco-lib/release/modules/ext/jacocoagent.jar
index 97730fd..29f58bd 100644
Binary files a/tikione-jacoco-lib/release/modules/ext/jacocoagent.jar and b/tikione-jacoco-lib/release/modules/ext/jacocoagent.jar differ
diff --git a/tikione-jacoco-lib/release/modules/ext/jacocoant.jar b/tikione-jacoco-lib/release/modules/ext/jacocoant.jar
index e62b569..ccadf0f 100644
Binary files a/tikione-jacoco-lib/release/modules/ext/jacocoant.jar and b/tikione-jacoco-lib/release/modules/ext/jacocoant.jar differ
diff --git a/tikione-jacoco-lib/src/fr/tikione/jacoco/lib/Bundle.properties b/tikione-jacoco-lib/src/fr/tikione/jacoco/lib/Bundle.properties
index 9ffd730..e663f02 100644
--- a/tikione-jacoco-lib/src/fr/tikione/jacoco/lib/Bundle.properties
+++ b/tikione-jacoco-lib/src/fr/tikione/jacoco/lib/Bundle.properties
@@ -3,5 +3,5 @@ OpenIDE-Module-Display-Category=Libraries
OpenIDE-Module-Name=JaCoCo Library
OpenIDE-Module-Short-Description=The JaCoCo library
OpenIDE-Module-Long-Description=\
- The JaCoCo 0.7.0 library. \
+ The JaCoCo 0.7.2 library. \
JaCoCo is a free code coverage library for Java, which has been created by the EclEmma team (http://www.eclemma.org/jacoco).
diff --git a/tikione-jacoco-lib/src/fr/tikione/jacoco/lib/Bundle_fr.properties b/tikione-jacoco-lib/src/fr/tikione/jacoco/lib/Bundle_fr.properties
index b71274e..0a8bf21 100644
--- a/tikione-jacoco-lib/src/fr/tikione/jacoco/lib/Bundle_fr.properties
+++ b/tikione-jacoco-lib/src/fr/tikione/jacoco/lib/Bundle_fr.properties
@@ -3,5 +3,5 @@ OpenIDE-Module-Display-Category=Libraries
OpenIDE-Module-Name=JaCoCo Library
OpenIDE-Module-Short-Description=La librairie JaCoCo
OpenIDE-Module-Long-Description=\
- La librairie JaCoCo 0.6.5. \
+ La librairie JaCoCo 0.7.2. \
JaCoCo est une librairie gratuite de couverture de code pour Java, cr\u00e9\u00e9e par l'\u00e9quipe EclEmma (http://www.eclemma.org/jacoco).
diff --git a/tikione-jacocoverage-plugin/manifest.mf b/tikione-jacocoverage-plugin/manifest.mf
index f936950..84641c5 100644
--- a/tikione-jacocoverage-plugin/manifest.mf
+++ b/tikione-jacocoverage-plugin/manifest.mf
@@ -2,5 +2,5 @@ Manifest-Version: 1.0
OpenIDE-Module: fr.tikione.jacocoverage.plugin/1
OpenIDE-Module-Layer: fr/tikione/jacocoverage/plugin/layer.xml
OpenIDE-Module-Localizing-Bundle: fr/tikione/jacocoverage/plugin/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.3.8.20140523.2140
+OpenIDE-Module-Specification-Version: 1.3.8.20140919.2148
OpenIDE-Module-Needs: org.openide.filesystems.FileUtil.toFileObject
diff --git a/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/action/ActionJacocoOnAntTaskJ2SE.java b/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/action/ActionJacocoOnAntTaskJ2SE.java
index 6d0a369..12c87fc 100644
--- a/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/action/ActionJacocoOnAntTaskJ2SE.java
+++ b/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/action/ActionJacocoOnAntTaskJ2SE.java
@@ -133,8 +133,12 @@ private void runJacocoJavaagent(final Project project)
}
}
antTaskJavaagentParam = "\"" + NBUtils.getJacocoAgentJar().getAbsolutePath()
- + "\"=includes=*:" + NBUtils.getProjectJavaPackagesAsStr(project, prjProps, ":", ".*")
- + ",destfile=\"" + binreport.getAbsolutePath() + "\"" + exclude.toString();
+ //+ "\"=includes=*:" + NBUtils.getProjectJavaPackagesAsStr(project, prjProps, ":", ".*")
+ //+ ",destfile=\"" + binreport.getAbsolutePath() + "\"" + exclude.toString();
+ + "\"=destfile=\"" + binreport.getAbsolutePath() + "\"" + exclude.toString(); // TODO revert once j2ee works
+
+ System.out.println("binreport=" + binreport.getAbsolutePath());
+
FileObject scriptToExecute = project.getProjectDirectory().getFileObject("build", "xml");
if (scriptToExecute == null) { // Fix for GitHub #16.
diff --git a/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/action/ProjectAntTestJ2SE.java b/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/action/ProjectAntTestJ2SE.java
index 632c1e6..6a5e48c 100644
--- a/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/action/ProjectAntTestJ2SE.java
+++ b/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/action/ProjectAntTestJ2SE.java
@@ -39,7 +39,9 @@ public class ProjectAntTestJ2SE
public ProjectAntTestJ2SE() {
super("test");
- setEnabled(Utils.isProjectSupported(NBUtils.getSelectedProject(), NBProjectTypeEnum.J2SE));
+ setEnabled(Utils.isProjectSupported(NBUtils.getSelectedProject(), NBProjectTypeEnum.J2SE/*,
+ NBProjectTypeEnum.J2EE, NBProjectTypeEnum.J2EE_EAR,
+ NBProjectTypeEnum.J2EE_EJB, NBProjectTypeEnum.J2EE_WEB*/));
putValue(DynamicMenuContent.HIDE_WHEN_DISABLED, true);
putValue(Action.NAME, Bundle.CTL_ProjectAntTestJ2SE());
}
diff --git a/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/config/PrjcfgAntJavaeewebCatProvider.java b/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/config/PrjcfgAntJavaeewebCatProvider.java
new file mode 100644
index 0000000..1477094
--- /dev/null
+++ b/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/config/PrjcfgAntJavaeewebCatProvider.java
@@ -0,0 +1,52 @@
+package fr.tikione.jacocoverage.plugin.config;
+
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import javax.swing.ImageIcon;
+import javax.swing.JComponent;
+import javax.swing.JPanel;
+import org.netbeans.spi.project.ui.support.ProjectCustomizer;
+import org.netbeans.spi.project.ui.support.ProjectCustomizer.Category;
+import org.openide.util.Exceptions;
+import org.openide.util.Lookup;
+
+/**
+ * JaCoCoverage configuration category at project level.
+ *
See DevFaqActionAddProjectCustomizer for integration.
+ *
+ * @author Jonathan Lermitage
+ */
+@ProjectCustomizer.CompositeCategoryProvider.Registration(
+ projectType = "org-netbeans-modules-web-project-webproject",
+ position = 1405)
+public class PrjcfgAntJavaeewebCatProvider implements ProjectCustomizer.CompositeCategoryProvider {
+
+ private Category cat;
+
+ public @Override
+ Category createCategory(Lookup context) {
+ ImageIcon pluginIcon = new ImageIcon(getClass().getResource(
+ "/fr/tikione/jacocoverage/plugin/resources/icon/famfamfam_lightning.png"));
+ cat = ProjectCustomizer.Category.create(
+ "JaCoCoverage",
+ "JaCoCoverage",
+ pluginIcon.getImage());
+ return cat;
+ }
+
+ public @Override
+ JComponent createComponent(Category category, Lookup context) {
+ JPanel panel;
+ try {
+ panel = new PrjcfgAntJavasePanel(context);
+ cat.setStoreListener(new PrjcfgAntJavaseListener((IStorable) panel));
+ } catch (FileNotFoundException ex) {
+ Exceptions.printStackTrace(ex);
+ panel = new JPanel();
+ } catch (IOException ex) {
+ Exceptions.printStackTrace(ex);
+ panel = new JPanel();
+ }
+ return panel;
+ }
+}
diff --git a/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/config/ProjectConfig.java b/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/config/ProjectConfig.java
index 1739769..7e45431 100644
--- a/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/config/ProjectConfig.java
+++ b/tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/config/ProjectConfig.java
@@ -5,6 +5,7 @@
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
@@ -97,8 +98,8 @@ public void load()
if (prjCfgFile.exists()) {
try {
getInternalPref().putAll((Map