notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r991 - trunk/main/depot/tools/builder/src/main/net/dpml/tools/impl
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r991 - trunk/main/depot/tools/builder/src/main/net/dpml/tools/impl
- Date: Mon, 30 Jan 2006 14:06:37 +0100
Author: mcconnell
Date: 2006-01-30 14:06:34 +0100 (Mon, 30 Jan 2006)
New Revision: 991
Modified:
trunk/main/depot/tools/builder/src/main/net/dpml/tools/impl/DefaultContext.java
Log:
add missing property evalution of a codebase inital src and test directory
(change enables building non-dpml based projects)
Modified:
trunk/main/depot/tools/builder/src/main/net/dpml/tools/impl/DefaultContext.java
===================================================================
---
trunk/main/depot/tools/builder/src/main/net/dpml/tools/impl/DefaultContext.java
2006-01-30 08:16:58 UTC (rev 990)
+++
trunk/main/depot/tools/builder/src/main/net/dpml/tools/impl/DefaultContext.java
2006-01-30 13:06:34 UTC (rev 991)
@@ -263,7 +263,8 @@
*/
public File getSrcMainDirectory()
{
- return new File( getSrcDirectory(), "main" );
+ String path = getProperty( "project.src.main", "main" );
+ return new File( getSrcDirectory(), path );
}
/**
@@ -272,7 +273,8 @@
*/
public File getSrcTestDirectory()
{
- return new File( getSrcDirectory(), "test" );
+ String path = getProperty( "project.src.test", "test" );
+ return new File( getSrcDirectory(), path );
}
/**
@@ -281,7 +283,8 @@
*/
public File getSrcDocsDirectory()
{
- return new File( getSrcDirectory(), "docs" );
+ String path = getProperty( "project.src.test", "docs" );
+ return new File( getSrcDirectory(), path );
}
/**
@@ -290,7 +293,8 @@
*/
public File getEtcDirectory()
{
- return createFile( "etc" );
+ String path = getProperty( "project.etc", "etc" );
+ return createFile( path );
}
/**
- r991 - trunk/main/depot/tools/builder/src/main/net/dpml/tools/impl, mcconnell at BerliOS, 01/30/2006
Archive powered by MHonArc 2.6.24.