Author: saminda
Date: Thu Jun 1 06:34:03 2006
New Revision: 410863
URL: http://svn.apache.org/viewvc?rev=410863&view=rev
Log:
more cleaning ups
Modified:
incubator/synapse/trunk/java/maven.xml
incubator/synapse/trunk/java/modules/core/conf/log4j.properties
incubator/synapse/trunk/java/modules/extensions/maven.xml
Modified: incubator/synapse/trunk/java/maven.xml
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/maven.xml?rev=410863&r1=410862&r2=410863&view=diff
==============================================================================
--- incubator/synapse/trunk/java/maven.xml (original)
+++ incubator/synapse/trunk/java/maven.xml Thu Jun 1 06:34:03 2006
@@ -297,12 +297,10 @@
<ant:delete dir="target"/>
<ant:delete dir="etc/target"/>
<ant:echo>+----------------------------------------</ant:echo>
- <ant:echo>| Cleaning: logs and MANIFEST.MF </ant:echo>
+ <ant:echo>| Cleaning: logs </ant:echo>
<ant:echo>+----------------------------------------</ant:echo>
- <ant:delete file="modules/extensions/synapse.log"/>
- <ant:delete file="modules/core/synapse.log"/>
- <ant:delete file="MANIFEST.MF"/>
- <ant:delete file="modules/extensions/MANIFEST.MF"/>
+ <ant:delete dir="modules/extensions/logs"/>
+ <ant:delete dir="modules/core/logs"/>
</goal>
<goal name="clean">
@@ -320,18 +318,22 @@
</goal> -->
<goal name="create-jar" prereqs="init">
- <manifest file="MANIFEST.MF">
- <attribute name="Extension-Name"
value="org.apache.synapse"/>
- <attribute name="Specification-Title"
value="${pom.artifactId}"/>
- <attribute name="Specification-Vendor"
value="Apache Software Foundation"/>
- <attribute name="Specification-Version"
value="${pom.currentVersion}"/>
- <attribute name="Implementation-Title"
value="Apache Synapse"/>
- <attribute name="Implementation-Vendor-Id"
value="org.apache"/>
- <attribute name="Implementation-Vendor" value="Apache
Software Foundation"/>
- <attribute name="Implementation-Version"
value="${pom.currentVersion}"/>
- </manifest>
+ <manifest file="target/MANIFEST.MF">
+ <attribute name="Extension-Name" value="org.apache.synapse"/>
+ <attribute name="Specification-Title" value="${pom.artifactId}"/>
+ <attribute name="Specification-Vendor"
+ value="Apache Software Foundation"/>
+ <attribute name="Specification-Version"
+ value="${pom.currentVersion}"/>
+ <attribute name="Implementation-Title" value="Apache Synapse"/>
+ <attribute name="Implementation-Vendor-Id" value="org.apache"/>
+ <attribute name="Implementation-Vendor"
+ value="Apache Software Foundation"/>
+ <attribute name="Implementation-Version"
+ value="${pom.currentVersion}"/>
+ </manifest>
- <jar destfile="target/lib/${pom.artifactId}-${pom.currentVersion}.jar"
manifest="MANIFEST.MF">
+ <jar destfile="target/lib/${pom.artifactId}-${pom.currentVersion}.jar"
manifest="target/MANIFEST.MF">
<fileset dir="modules/core/target/classes"/>
</jar>
</goal>
@@ -377,7 +379,7 @@
</ant:fileset>
</ant:copy>
- <manifest file="MANIFEST.MF">
+ <manifest file="target/MANIFEST.MF">
<attribute name="Extension-Name" value="org.apache.synapse"/>
<attribute name="Specification-Title" value="${pom.artifactId}"/>
<attribute name="Specification-Vendor"
@@ -392,11 +394,11 @@
value="${pom.currentVersion}"/>
</manifest>
- <jar destfile="target/lib/${pom.artifactId}-${pom.currentVersion}.jar"
manifest="MANIFEST.MF">
+ <jar destfile="target/lib/${pom.artifactId}-${pom.currentVersion}.jar"
manifest="target/MANIFEST.MF">
<fileset dir="modules/core/target/classes"/>
</jar>
- <jar destfile="target/${dist.name}.jar" manifest="MANIFEST.MF">
+ <jar destfile="target/${dist.name}.jar" manifest="target/MANIFEST.MF">
<fileset dir="target/temp1"/>
</jar>
Modified: incubator/synapse/trunk/java/modules/core/conf/log4j.properties
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/core/conf/log4j.properties?rev=410863&r1=410862&r2=410863&view=diff
==============================================================================
--- incubator/synapse/trunk/java/modules/core/conf/log4j.properties (original)
+++ incubator/synapse/trunk/java/modules/core/conf/log4j.properties Thu Jun 1
06:34:03 2006
@@ -12,7 +12,7 @@
#### appender writes to a file
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
-log4j.appender.logfile.File=synapse.log
+log4j.appender.logfile.File=logs/synapse.log
# Control the maximum log file size
Modified: incubator/synapse/trunk/java/modules/extensions/maven.xml
URL:
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/extensions/maven.xml?rev=410863&r1=410862&r2=410863&view=diff
==============================================================================
--- incubator/synapse/trunk/java/modules/extensions/maven.xml (original)
+++ incubator/synapse/trunk/java/modules/extensions/maven.xml Thu Jun 1
06:34:03 2006
@@ -49,7 +49,7 @@
<ant:copy file="../../NOTICE-JAR.txt"
tofile="src/META-INF/NOTICE.txt"/>
- <manifest file="MANIFEST.MF">
+ <manifest file="target/MANIFEST.MF">
<attribute name="Extension-Name" value="org.apache.synapse"/>
<attribute name="Specification-Title" value="${pom.artifactId}"/>
<attribute name="Specification-Vendor"
@@ -65,7 +65,7 @@
</manifest>
<jar jarfile="target/dist/extension_mediators.jar"
- basedir="${extensions.dir}" manifest="MANIFEST.MF">
+ basedir="${extensions.dir}" manifest="target/MANIFEST.MF">
<include name="**/**"/>
</jar>
<ant:delete dir="${extensions.dir}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]