From fc665cc23e877364bfdaa619392996bb906c711e Mon Sep 17 00:00:00 2001 From: vmassol Date: Tue, 17 Aug 2004 13:54:11 +0000 Subject: [PATCH] Refactoring: all jars to include in the generated JNLP are now signed in the maven.abbot.dest.jar.dir and the JNLP generation logic scans all jars in this directory for inclusion git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115971 13f79535-47bb-0310-9956-ffa450edef68 --- abbot/plugin.jelly | 19 +++++++++++------ abbot/plugin.properties | 4 ++++ abbot/src/plugin-resources/jnlp.jsl | 33 +++++++++++------------------ 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/abbot/plugin.jelly b/abbot/plugin.jelly index b10925b5..cca5095b 100644 --- a/abbot/plugin.jelly +++ b/abbot/plugin.jelly @@ -131,7 +131,7 @@ - @@ -145,35 +145,39 @@ + srcfile="${plugin.getDependencyPath(dep.Id)}" + targetfile="${maven.abbot.dest.dir}/${filename}.jar"/> ${dep.id} is uptodate ? ${context.getVariable(varname) == true} - + - + - + + - + + @@ -299,6 +303,7 @@ + diff --git a/abbot/plugin.properties b/abbot/plugin.properties index 7207067d..04672ae9 100644 --- a/abbot/plugin.properties +++ b/abbot/plugin.properties @@ -33,6 +33,10 @@ maven.abbot.recurse = true # Location where the abbot plugin puts build files related to abbot maven.abbot.dest.dir = ${maven.build.dir}/abbot +# Location where the abbot plugin signs the jars to be added to the +# generated JNLP file. +maven.abbot.dest.jar.dir = ${maven.abbot.dest.dir}/jars + # Location where abbot junit test results will be located maven.abbot.reports.dir = ${maven.build.dir}/abbot-reports diff --git a/abbot/src/plugin-resources/jnlp.jsl b/abbot/src/plugin-resources/jnlp.jsl index a456d6f0..f6f64dc1 100644 --- a/abbot/src/plugin-resources/jnlp.jsl +++ b/abbot/src/plugin-resources/jnlp.jsl @@ -65,28 +65,19 @@ - - - - - - - file:${maven.abbot.dest.dir}/${filename}.jar - + + + + + + + + + true - - - ${dep.getDependancyPath()} - - - - - - - - true - file:${maven.abbot.dest.dir}/${maven.abbot.webstart.main.jar} - + file:${jar.absolutePath} + +