notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r1793 - in development/main: magic magic/core/src/main/net/dpml/magic/builder metro
- From: mcconnell AT netcompartner.com
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r1793 - in development/main: magic magic/core/src/main/net/dpml/magic/builder metro
- Date: Wed, 16 Feb 2005 20:54:51 +0100
Author: mcconnell
Date: Wed Feb 16 20:54:51 2005
New Revision: 1793
Added:
development/main/metro/module.properties
Modified:
development/main/magic/core/src/main/net/dpml/magic/builder/IndexBuilder.java
development/main/magic/module.properties
development/main/metro/index.xml
Log:
more on module version handling
Modified:
development/main/magic/core/src/main/net/dpml/magic/builder/IndexBuilder.java
==============================================================================
---
development/main/magic/core/src/main/net/dpml/magic/builder/IndexBuilder.java
(original)
+++
development/main/magic/core/src/main/net/dpml/magic/builder/IndexBuilder.java
Wed Feb 16 20:54:51 2005
@@ -49,6 +49,11 @@
public static final String RELEASE_SIGNATURE_KEY =
"dpml.release.signature";
/**
+ * Immutable key to the build identifier
+ */
+ public static final String BUILD_SIGNATURE_KEY = "dpml.build.signature";
+
+ /**
* Immutable key to the magic docs cache directory.
*/
public static final String DOCS_KEY = "magic.docs";
@@ -78,11 +83,11 @@
m_signature = getBuildSignature();
if( null == m_signature )
{
- project.setProperty( "project.build.id", "SNAPSHOT" );
+ project.setProperty( BUILD_SIGNATURE_KEY, "SNAPSHOT" );
}
else
{
- project.setProperty( "project.build.id", m_signature );
+ project.setProperty( BUILD_SIGNATURE_KEY, m_signature );
log( "release: " + m_signature, Project.MSG_VERBOSE );
}
Modified: development/main/magic/module.properties
==============================================================================
--- development/main/magic/module.properties (original)
+++ development/main/magic/module.properties Wed Feb 16 20:54:51 2005
@@ -1,3 +1,3 @@
-dpml.transit.version = ${project.build.id}
+dpml.transit.version = ${dpml.build.signature}
dpml.transit.uri =
artifact:module:dpml/transit/dpml-transit#${dpml.transit.version}
Modified: development/main/metro/index.xml
==============================================================================
--- development/main/metro/index.xml (original)
+++ development/main/metro/index.xml Wed Feb 16 20:54:51 2005
@@ -2,7 +2,7 @@
<index key="dpml-metro">
- <import uri="artifact:module:dpml/transit/dpml-transit#SNAPSHOT"/>
+ <import uri="${dpml.transit.uri}"/>
<!--
Metro Modules
Added: development/main/metro/module.properties
==============================================================================
--- (empty file)
+++ development/main/metro/module.properties Wed Feb 16 20:54:51 2005
@@ -0,0 +1,3 @@
+
+dpml.transit.version = ${dpml.build.signature}
+dpml.transit.uri =
artifact:module:dpml/transit/dpml-transit#${dpml.transit.version}
- svn commit: r1793 - in development/main: magic magic/core/src/main/net/dpml/magic/builder metro, mcconnell, 02/16/2005
Archive powered by MHonArc 2.6.24.