notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1932 - in trunk/main/depot: library/src/main/dpml/library library/src/main/dpml/library/impl tools/src/main/dpml/tools/tasks
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1932 - in trunk/main/depot: library/src/main/dpml/library library/src/main/dpml/library/impl tools/src/main/dpml/tools/tasks
- Date: Sun, 25 Mar 2007 01:01:24 +0100
Author: mcconnell
Date: 2007-03-25 01:01:14 +0100 (Sun, 25 Mar 2007)
New Revision: 1932
Modified:
trunk/main/depot/library/src/main/dpml/library/Type.java
trunk/main/depot/library/src/main/dpml/library/impl/DefaultType.java
trunk/main/depot/tools/src/main/dpml/tools/tasks/ReplicateTask.java
Log:
add test for non-export of a type during content replication
Modified: trunk/main/depot/library/src/main/dpml/library/Type.java
===================================================================
--- trunk/main/depot/library/src/main/dpml/library/Type.java 2007-03-24
06:05:14 UTC (rev 1931)
+++ trunk/main/depot/library/src/main/dpml/library/Type.java 2007-03-25
00:01:14 UTC (rev 1932)
@@ -55,6 +55,8 @@
String getSource();
+ boolean getExport();
+
boolean getTest();
/**
Modified: trunk/main/depot/library/src/main/dpml/library/impl/DefaultType.java
===================================================================
--- trunk/main/depot/library/src/main/dpml/library/impl/DefaultType.java
2007-03-24 06:05:14 UTC (rev 1931)
+++ trunk/main/depot/library/src/main/dpml/library/impl/DefaultType.java
2007-03-25 00:01:14 UTC (rev 1932)
@@ -147,6 +147,11 @@
return m_directive.getTest();
}
+ public boolean getExport()
+ {
+ return m_directive.getExport();
+ }
+
/**
* Return the alias production flag.
* @return the alias flag
Modified: trunk/main/depot/tools/src/main/dpml/tools/tasks/ReplicateTask.java
===================================================================
--- trunk/main/depot/tools/src/main/dpml/tools/tasks/ReplicateTask.java
2007-03-24 06:05:14 UTC (rev 1931)
+++ trunk/main/depot/tools/src/main/dpml/tools/tasks/ReplicateTask.java
2007-03-25 00:01:14 UTC (rev 1932)
@@ -192,7 +192,7 @@
for( int j=0; j<types.length; j++ )
{
Type type = types[j];
- if( type.getTest() )
+ if( type.getTest() || !type.getExport() )
{
return;
}
- r1932 - in trunk/main/depot: library/src/main/dpml/library library/src/main/dpml/library/impl tools/src/main/dpml/tools/tasks, mcconnell at BerliOS, 03/24/2007
Archive powered by MHonArc 2.6.24.