Skip to Content.
Sympa Menu

notify-dpml - r1603 - in trunk: central/tutorials/tooling/simple/build central/tutorials/tooling/simple/properties central/tutorials/tooling/simple/symbolic main/depot/tools/builder/src/main/net/dpml/tools/tasks

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: r1603 - in trunk: central/tutorials/tooling/simple/build central/tutorials/tooling/simple/properties central/tutorials/tooling/simple/symbolic main/depot/tools/builder/src/main/net/dpml/tools/tasks
  • Date: Wed, 19 Jul 2006 19:01:02 +0200

Author: mcconnell
Date: 2006-07-19 19:00:59 +0200 (Wed, 19 Jul 2006)
New Revision: 1603

Modified:
trunk/central/tutorials/tooling/simple/build/build.xml
trunk/central/tutorials/tooling/simple/properties/build.xml
trunk/central/tutorials/tooling/simple/symbolic/build.xml

trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/PrepareTask.java
Log:
remove creation of target directory if no types are declared

Modified: trunk/central/tutorials/tooling/simple/build/build.xml
===================================================================
--- trunk/central/tutorials/tooling/simple/build/build.xml 2006-07-19
16:49:14 UTC (rev 1602)
+++ trunk/central/tutorials/tooling/simple/build/build.xml 2006-07-19
17:00:59 UTC (rev 1603)
@@ -2,6 +2,10 @@

<project name="demo" default="build">

+ <target name="clean">
+ <!-- nothing to do -->
+ </target>
+
<target name="build">
<echo message="Executing the simple project build."/>
</target>

Modified: trunk/central/tutorials/tooling/simple/properties/build.xml
===================================================================
--- trunk/central/tutorials/tooling/simple/properties/build.xml 2006-07-19
16:49:14 UTC (rev 1602)
+++ trunk/central/tutorials/tooling/simple/properties/build.xml 2006-07-19
17:00:59 UTC (rev 1603)
@@ -2,6 +2,10 @@

<project name="demo" default="build">

+ <target name="clean">
+ <!-- nothing to do -->
+ </target>
+
<target name="build">
<echo message="${message}"/>
</target>

Modified: trunk/central/tutorials/tooling/simple/symbolic/build.xml
===================================================================
--- trunk/central/tutorials/tooling/simple/symbolic/build.xml 2006-07-19
16:49:14 UTC (rev 1602)
+++ trunk/central/tutorials/tooling/simple/symbolic/build.xml 2006-07-19
17:00:59 UTC (rev 1603)
@@ -2,6 +2,10 @@

<project name="demo" default="build">

+ <target name="clean">
+ <!-- nothing to do -->
+ </target>
+
<target name="build">
<echo message="${message}"/>
</target>

Modified:
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/PrepareTask.java
===================================================================
---
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/PrepareTask.java
2006-07-19 16:49:14 UTC (rev 1602)
+++
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/PrepareTask.java
2006-07-19 17:00:59 UTC (rev 1603)
@@ -91,7 +91,10 @@
//

String filters = context.getProperty( SRC_FILTERED_INCLUDES_KEY,
SRC_FILTERED_INCLUDES_VALUE );
- mkDir( context.getTargetDirectory() );
+ if( resource.getTypes().length > 0 )
+ {
+ mkDir( context.getTargetDirectory() );
+ }
if( context.getSrcMainDirectory().exists() )
{
log( "preparing 'main' src.", Project.MSG_VERBOSE );




  • r1603 - in trunk: central/tutorials/tooling/simple/build central/tutorials/tooling/simple/properties central/tutorials/tooling/simple/symbolic main/depot/tools/builder/src/main/net/dpml/tools/tasks, mcconnell at BerliOS, 07/19/2006

Archive powered by MHonArc 2.6.24.

Top of Page