Skip to Content.
Sympa Menu

notify-dpml - r1061 - in trunk/main/depot/library/common/src/main/net/dpml/library: impl info

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1061 - in trunk/main/depot/library/common/src/main/net/dpml/library: impl info
  • Date: Wed, 8 Feb 2006 23:59:08 +0100

Author: mcconnell
Date: 2006-02-08 23:59:07 +0100 (Wed, 08 Feb 2006)
New Revision: 1061

Modified:

trunk/main/depot/library/common/src/main/net/dpml/library/impl/DefaultResource.java

trunk/main/depot/library/common/src/main/net/dpml/library/info/ResourceDirective.java
Log:
fix bug related to anonomouse non-versioned resources

Modified:
trunk/main/depot/library/common/src/main/net/dpml/library/impl/DefaultResource.java
===================================================================
---
trunk/main/depot/library/common/src/main/net/dpml/library/impl/DefaultResource.java
2006-02-08 17:12:54 UTC (rev 1060)
+++
trunk/main/depot/library/common/src/main/net/dpml/library/impl/DefaultResource.java
2006-02-08 22:59:07 UTC (rev 1061)
@@ -187,6 +187,10 @@
return getStandardVersion();
}
String version = m_directive.getVersion();
+ if( ResourceDirective.ANONYMOUS.equals( getClassifier() ) )
+ {
+ return version;
+ }
if( null == version )
{
if( null != m_parent )

Modified:
trunk/main/depot/library/common/src/main/net/dpml/library/info/ResourceDirective.java
===================================================================
---
trunk/main/depot/library/common/src/main/net/dpml/library/info/ResourceDirective.java
2006-02-08 17:12:54 UTC (rev 1060)
+++
trunk/main/depot/library/common/src/main/net/dpml/library/info/ResourceDirective.java
2006-02-08 22:59:07 UTC (rev 1061)
@@ -30,7 +30,7 @@
import net.dpml.lang.Enum;

/**
- * The ModuleDirective class describes a module data-structure.
+ * The ResourceDirective class describes an available resource.
*
* @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
* @version @PROJECT-VERSION@




  • r1061 - in trunk/main/depot/library/common/src/main/net/dpml/library: impl info, mcconnell at BerliOS, 02/08/2006

Archive powered by MHonArc 2.6.24.

Top of Page