[jboss-cvs] JBossAS SVN: r64500 - projects/aop/trunk/maven-jbossaop-plugin/src/main/java/org/jboss/maven/plugins.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Aug 8 05:55:14 EDT 2007
Author: stalep
Date: 2007-08-08 05:55:14 -0400 (Wed, 08 Aug 2007)
New Revision: 64500
Modified:
projects/aop/trunk/maven-jbossaop-plugin/src/main/java/org/jboss/maven/plugins/JBossAOPCMojo.java
Log:
[JBAOP-449] added aoppaths to support multiple jboss-aop.xml files (plattform independent)
Modified: projects/aop/trunk/maven-jbossaop-plugin/src/main/java/org/jboss/maven/plugins/JBossAOPCMojo.java
===================================================================
--- projects/aop/trunk/maven-jbossaop-plugin/src/main/java/org/jboss/maven/plugins/JBossAOPCMojo.java 2007-08-08 09:31:39 UTC (rev 64499)
+++ projects/aop/trunk/maven-jbossaop-plugin/src/main/java/org/jboss/maven/plugins/JBossAOPCMojo.java 2007-08-08 09:55:14 UTC (rev 64500)
@@ -106,9 +106,9 @@
/**
*
- * @parameter expression="${aopPath}" default-value="src/main/resources/jboss-aop.xml"
+ * @parameter expression="${aopPaths}" default-value={src/main/resources/jboss-aop.xml}
*/
- private String aoppath;
+ private String[] aoppaths;
/**
*
@@ -240,8 +240,21 @@
}
private String getAoppath()
- {
- return aoppath;
+ {
+ if(aoppaths.length > 0)
+ {
+ System.err.println("AOPPATH[0]: "+aoppaths[0]);
+ StringBuffer sb = new StringBuffer();
+ for(String aoppath : aoppaths)
+ {
+ if(sb.length() > 0)
+ sb.append(File.pathSeparator);
+ sb.append(aoppath);
+ }
+ return sb.toString();
+ }
+ else
+ return "src/main/resources/jboss-aop.xml";
}
private void processStream(BufferedReader input, boolean isError)
More information about the jboss-cvs-commits
mailing list