notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r927 - trunk/main/transit/core/src/main/net/dpml/transit
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r927 - trunk/main/transit/core/src/main/net/dpml/transit
- Date: Sun, 15 Jan 2006 21:53:29 +0100
Author: mcconnell
Date: 2006-01-15 21:53:27 +0100 (Sun, 15 Jan 2006)
New Revision: 927
Modified:
trunk/main/transit/core/src/main/net/dpml/transit/ModernLayout.java
Log:
add transit handling of modern layout implied groups via "." character in
group name
Modified: trunk/main/transit/core/src/main/net/dpml/transit/ModernLayout.java
===================================================================
--- trunk/main/transit/core/src/main/net/dpml/transit/ModernLayout.java
2006-01-15 20:01:18 UTC (rev 926)
+++ trunk/main/transit/core/src/main/net/dpml/transit/ModernLayout.java
2006-01-15 20:53:27 UTC (rev 927)
@@ -53,7 +53,9 @@
}
else
{
- return artifact.getGroup() + "/" + artifact.getName();
+ String group = artifact.getGroup();
+ group = group.replace( '.', '/' );
+ return group + "/" + artifact.getName();
}
}
else
@@ -64,7 +66,9 @@
}
else
{
- return artifact.getGroup() + "/" + artifact.getName() + "/"
+ version;
+ String group = artifact.getGroup();
+ group = group.replace( '.', '/' );
+ return group + "/" + artifact.getName() + "/" + version;
}
}
}
- r927 - trunk/main/transit/core/src/main/net/dpml/transit, mcconnell at BerliOS, 01/15/2006
Archive powered by MHonArc 2.6.24.