mcconnell 2004/04/21 08:55:53
Modified: . maven.xml
Log:
fix top level merlin.properties replication.
Revision Changes Path
1.5 +24 -1 avalon/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/avalon/maven.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- maven.xml 18 Apr 2004 23:22:24 -0000 1.4
+++ maven.xml 21 Apr 2004 15:55:53 -0000 1.5
@@ -2,7 +2,13 @@
<!DOCTYPE project [
<!ENTITY % index SYSTEM "file:index.ent"> %index;
]>
-<project default="avalon:install" xmlns:maven="jelly:maven" xmlns:j="jelly:core"
xmlns:util="jelly:util" xmlns:ant="jelly:ant">
+<project default="avalon:help" xmlns:maven="jelly:maven" xmlns:j="jelly:core"
xmlns:util="jelly:util" xmlns:ant="jelly:ant">
+
+ <goal name="avalon:help">
+ <echo>
+Top level solution not in place yet - but it's underway.
+ </echo>
+ </goal>
<!--
==============================================================================
@@ -21,5 +27,22 @@
value="&avalon-activation-artifact;"/>
</preGoal>
+ <postGoal name="java:compile">
+
+ <util:file var="merlinProperties" name="merlin.properties"/>
+ <j:if test="${merlinProperties.exists()}">
+ <ant:copy
+ file="merlin.properties"
+ toDir="${maven.build.dir}/classes"
+ verbose="yes"
+ filtering="on">
+ <filterset>
+ <filter token="MERLIN_IMPLEMENTATION" value="&merlin-impl-artifact;"/>
+ <filter token="LOGGING_IMPLEMENTATION"
value="&avalon-logging-logkit-artifact;"/>
+ <filter token="STANDARD_RUNTIME" value="&avalon-activation-artifact;"/>
+ </filterset>
+ </ant:copy>
+ </j:if>
+ </postGoal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]