Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1834 - in development/main/transit: . core core/handler/src/main/net/dpml/transit/repository core/handler/src/test/net/dpml/transit/repository core/plugin/src/main/net/dpml/transit/control

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1834 - in development/main/transit: . core core/handler/src/main/net/dpml/transit/repository core/handler/src/test/net/dpml/transit/repository core/plugin/src/main/net/dpml/transit/control
  • Date: Sat, 19 Feb 2005 23:45:38 +0100

Author: mcconnell
Date: Sat Feb 19 23:45:37 2005
New Revision: 1834

Added:
development/main/transit/CHANGES.TXT
- copied, changed from r1832, development/main/transit/core/CHANGES.TXT
Removed:
development/main/transit/TODO.TXT
development/main/transit/core/CHANGES.TXT
Modified:

development/main/transit/core/handler/src/main/net/dpml/transit/repository/Plugin.java

development/main/transit/core/handler/src/main/net/dpml/transit/repository/PropertiesPlugin.java

development/main/transit/core/handler/src/test/net/dpml/transit/repository/PropertiesPluginTestCase.java

development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
Log:
fix transit version message by removing redundant build number from plugin
descriptor

Copied: development/main/transit/CHANGES.TXT (from r1832,
development/main/transit/core/CHANGES.TXT)
==============================================================================
--- development/main/transit/core/CHANGES.TXT (original)
+++ development/main/transit/CHANGES.TXT Sat Feb 19 23:45:37 2005
@@ -1,4 +1,5 @@

19-FEB-2005 SJM 1823M1
20-FEB-2005 SJM Changed the Policy class exposed by the public interface
ResourceHost from protected to public.
-20-FEB-2005 SJM Updated the svn structure such that the transit distribution
is named transit
\ No newline at end of file
+20-FEB-2005 SJM Updated the svn structure such that the transit distribution
is named transit
+20-FEB-2005 SJM Removed the build number from the plugin descriptor
(redundant function)
\ No newline at end of file

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/repository/Plugin.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/repository/Plugin.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/repository/Plugin.java
Sat Feb 19 23:45:37 2005
@@ -64,12 +64,6 @@
String getSpecificationVersion();

/**
- * Return the build identifier
- * @return the identifier
- */
- String getBuild();
-
- /**
* Return the classname.
* @return the classname
*/

Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/repository/PropertiesPlugin.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/repository/PropertiesPlugin.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/repository/PropertiesPlugin.java
Sat Feb 19 23:45:37 2005
@@ -62,11 +62,6 @@
static final String PP_META_VERSION_KEY = "dpml.plugin.meta.version";

/**
- * key to designate the build signature of the plugin descriptor.
- */
- static final String PP_BUILD_KEY = "dpml.artifact.signature";
-
- /**
* key to designate an api entry.
*/
static final String PP_API_KEY = "dpml.artifact.dependency.api";
@@ -107,11 +102,6 @@
static final String PP_VERSION_KEY = "dpml.artifact.version";

/**
- * key to designate the artifact signature.
- */
- static final String PP_SIGNATURE_KEY = "dpml.artifact.signature";
-
- /**
* key to designate the artifact a resource path.
*/
static final String PP_RESOURCE_KEY = "dpml.plugin.resource";
@@ -166,11 +156,6 @@
private final String m_version;

/**
- * Plugin build identifier.
- */
- private final String m_build;
-
- /**
* Plugin plugin uri.
*/
private final URI m_uri;
@@ -235,7 +220,6 @@
m_group = attributes.getProperty( PP_GROUP_KEY, "" );
m_name = attributes.getProperty( PP_NAME_KEY, "" );
m_version = attributes.getProperty( PP_VERSION_KEY, "" );
- m_build = attributes.getProperty( PP_SIGNATURE_KEY, "" );

m_uri = Artifact.createArtifact( m_group, m_name, m_version,
"plugin" ).toURI();

@@ -309,15 +293,6 @@
}

/**
- * Return the build identifier
- * @return the identifier
- */
- public String getBuild()
- {
- return m_build;
- }
-
- /**
* Test is the supplied object is equal to this object.
* @param other the object to compare this object with
* @return true if the objects are equivalent
@@ -345,7 +320,6 @@
hash ^= m_specificationVersion.hashCode();
hash ^= m_group.hashCode();
hash ^= m_version.hashCode();
- hash ^= m_build.hashCode();
return hash;
}


Modified:
development/main/transit/core/handler/src/test/net/dpml/transit/repository/PropertiesPluginTestCase.java
==============================================================================
---
development/main/transit/core/handler/src/test/net/dpml/transit/repository/PropertiesPluginTestCase.java
(original)
+++
development/main/transit/core/handler/src/test/net/dpml/transit/repository/PropertiesPluginTestCase.java
Sat Feb 19 23:45:37 2005
@@ -66,12 +66,6 @@
assertEquals( "Version", "1.0", m_Plugin.getSpecificationVersion() );
}

- public void testBuild()
- throws Exception
- {
- assertEquals( "Build", "20041031.131418", m_Plugin.getBuild() );
- }
-
public void testClassname()
throws Exception
{

Modified:
development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
==============================================================================
---
development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
(original)
+++
development/main/transit/core/plugin/src/main/net/dpml/transit/control/CommandHandler.java
Sat Feb 19 23:45:37 2005
@@ -355,7 +355,6 @@
System.out.println(
"\n Transit: "
+ descriptor.getURI()
- + "\n Build: " + descriptor.getBuild()
+ "\n" );
}




  • svn commit: r1834 - in development/main/transit: . core core/handler/src/main/net/dpml/transit/repository core/handler/src/test/net/dpml/transit/repository core/plugin/src/main/net/dpml/transit/control, mcconnell, 02/19/2005

Archive powered by MHonArc 2.6.24.

Top of Page