notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r1178 - in development/main: magic metro/tools transit transit/handler/src/main/net/dpml/transit/artifact util
- From: mcconnell AT netcompartner.com
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r1178 - in development/main: magic metro/tools transit transit/handler/src/main/net/dpml/transit/artifact util
- Date: Tue, 14 Dec 2004 00:35:39 +0100
Author: mcconnell
Date: Tue Dec 14 00:35:39 2004
New Revision: 1178
Modified:
development/main/magic/index.xml
development/main/magic/module.xml
development/main/metro/tools/build.xml
development/main/metro/tools/module.xml
development/main/transit/handler/src/main/net/dpml/transit/artifact/Handler.java
development/main/transit/handler/src/main/net/dpml/transit/artifact/XMLHostsBuilder.java
development/main/transit/index.xml
development/main/transit/module.xml
development/main/util/index.xml
Log:
Add checkstyle to the util, transit and magic modules.
Modified: development/main/magic/index.xml
==============================================================================
--- development/main/magic/index.xml (original)
+++ development/main/magic/index.xml Tue Dec 14 00:35:39 2004
@@ -39,6 +39,9 @@
<dependencies>
<include key="dpml-transit"/>
</dependencies>
+ <plugins>
+ <include key="dpml-magic-checkstyle"/>
+ </plugins>
</project>
<!--
Modified: development/main/magic/module.xml
==============================================================================
--- development/main/magic/module.xml (original)
+++ development/main/magic/module.xml Tue Dec 14 00:35:39 2004
@@ -23,6 +23,7 @@
xmlns:transit="antlib:net.dpml.transit" xmlns:x="antlib:net.dpml.magic" >
<transit:import uri="artifact:template:dpml/magic/standard"/>
+ <transit:import uri="artifact:template:dpml/magic/checkstyle"/>
<target name="build" depends="standard.build">
<x:module index="index.xml">
@@ -37,7 +38,7 @@
</x:module>
</target>
- <target name="docs" depends="install,junit-report">
+ <target name="docs" depends="install,junit-report,checkstyle">
<x:javadoc>
<link href="http://java.sun.com/j2se/1.4/docs/api"/>
<link href="http://www.dpml.net/asf/ant/1.6.2/api"/>
Modified: development/main/metro/tools/build.xml
==============================================================================
--- development/main/metro/tools/build.xml (original)
+++ development/main/metro/tools/build.xml Tue Dec 14 00:35:39 2004
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<project name="dpml-metro-tools" default="default" basedir="."
- xmlns:transit="antlib:net.dpml.transit" xmlns:x="antlib:net.dpml.magic" >
+ xmlns:transit="antlib:net.dpml.transit">
- <transit:init/>
- <import file="${dpml.templates}/reactor.xml"/>
+ <transit:import uri="artifact:template:dpml/magic/reactor"/>
</project>
Modified: development/main/metro/tools/module.xml
==============================================================================
--- development/main/metro/tools/module.xml (original)
+++ development/main/metro/tools/module.xml Tue Dec 14 00:35:39 2004
@@ -3,8 +3,7 @@
<project name="dpml-metro-tools" default="docs" basedir="."
xmlns:transit="antlib:net.dpml.transit" xmlns:x="antlib:net.dpml.magic" >
- <transit:init/>
- <import file="${dpml.templates}/standard.xml"/>
+ <transit:import uri="artifact:template:dpml/magic/standard"/>
<target name="build" depends="standard.build">
<x:module index="index.xml"/>
Modified:
development/main/transit/handler/src/main/net/dpml/transit/artifact/Handler.java
==============================================================================
---
development/main/transit/handler/src/main/net/dpml/transit/artifact/Handler.java
(original)
+++
development/main/transit/handler/src/main/net/dpml/transit/artifact/Handler.java
Tue Dec 14 00:35:39 2004
@@ -116,6 +116,11 @@
return result;
}
+ /**
+ * Return the pure artifact path without any internal address.
+ * @param url the url to evaluate
+ * @return the pure path
+ */
private String getRealPath( URL url )
{
String path = url.getPath();
@@ -134,6 +139,11 @@
}
}
+ /**
+ * Return the value of an internal address associated with a path.
+ * @param url the url to evaluate
+ * @return the internal address of null if the url does not contain an
internal address
+ */
private String getInternalPath( URL url )
{
String path = url.getPath();
Modified:
development/main/transit/handler/src/main/net/dpml/transit/artifact/XMLHostsBuilder.java
==============================================================================
---
development/main/transit/handler/src/main/net/dpml/transit/artifact/XMLHostsBuilder.java
(original)
+++
development/main/transit/handler/src/main/net/dpml/transit/artifact/XMLHostsBuilder.java
Tue Dec 14 00:35:39 2004
@@ -140,6 +140,7 @@
*
* @param path the repository path
* @return the repository url
+ * @exception IOException if an IO related error occurs
*/
private static URL resolveLocalRepositoryURL( String path ) throws
IOException
{
Modified: development/main/transit/index.xml
==============================================================================
--- development/main/transit/index.xml (original)
+++ development/main/transit/index.xml Tue Dec 14 00:35:39 2004
@@ -38,6 +38,9 @@
<status>SNAPSHOT</status>
<type>module</type>
</info>
+ <plugins>
+ <include key="dpml-magic-checkstyle"/>
+ </plugins>
</project>
<!--
Modified: development/main/transit/module.xml
==============================================================================
--- development/main/transit/module.xml (original)
+++ development/main/transit/module.xml Tue Dec 14 00:35:39 2004
@@ -22,6 +22,7 @@
xmlns:checkstyle="antlib:net.dpml.magic.checkstyle">
<transit:import uri="artifact:template:dpml/magic/standard"/>
+ <transit:import uri="artifact:template:dpml/magic/checkstyle"/>
<target name="build" depends="standard.build">
<x:module index="index.xml">
@@ -36,7 +37,7 @@
</x:module>
</target>
- <target name="docs" depends="install,junit-report">
+ <target name="docs" depends="install,junit-report,checkstyle">
<x:javadoc overview="overview.html">
<link href="http://java.sun.com/j2se/1.4/docs/api"/>
<link href="http://www.dpml.net/asf/ant/1.6.2/api"/>
Modified: development/main/util/index.xml
==============================================================================
--- development/main/util/index.xml (original)
+++ development/main/util/index.xml Tue Dec 14 00:35:39 2004
@@ -18,9 +18,9 @@
<status>SNAPSHOT</status>
<type>module</type>
</info>
- <dependencies>
- <include key="dpml-magic-checkstyle" />
- </dependencies>
+ <plugins>
+ <include key="dpml-magic-checkstyle"/>
+ </plugins>
</project>
<!-- Utitlities -->
- svn commit: r1178 - in development/main: magic metro/tools transit transit/handler/src/main/net/dpml/transit/artifact util, mcconnell, 12/13/2004
Archive powered by MHonArc 2.6.24.