Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Pass mdx.dir in to the MDA.
Most of the uses of this directory are actually to write output files,
but each of those uses are set up as ignores for source control
purposes.
iay committed Jul 31, 2016
1 parent cd27613 commit 5012efd
Showing 8 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions build.xml
@@ -412,6 +412,7 @@
-->
<property name="mda.java.endorsed.dirs" value="${tools.dir}/endorsed"/>
<property name="mda.basedir" value="${basedir}"/>
<property name="mda.mdx.dir" value="${mdx.dir}"/>

<!--
Build a property set of all the properties to be passed through, with
2 changes: 1 addition & 1 deletion mdx/at_aconet/verbs.xml
@@ -25,7 +25,7 @@
<bean id="serializeImported" parent="SerializationStage">
<property name="outputFile">
<bean class="java.io.File">
<constructor-arg value="${basedir}/mdx/at_aconet/imported.xml"/>
<constructor-arg value="${mdx.dir}/at_aconet/imported.xml"/>
</bean>
</property>
</bean>
2 changes: 1 addition & 1 deletion mdx/int_cobweb/verbs.xml
@@ -25,7 +25,7 @@
<bean id="serializeImported" parent="SerializationStage">
<property name="outputFile">
<bean class="java.io.File">
<constructor-arg value="${basedir}/mdx/int_cobweb/imported.xml"/>
<constructor-arg value="${mdx.dir}/int_cobweb/imported.xml"/>
</bean>
</property>
</bean>
2 changes: 1 addition & 1 deletion mdx/int_edugain/verbs.xml
@@ -26,7 +26,7 @@
<bean id="serializeImported" parent="SerializationStage">
<property name="outputFile">
<bean class="java.io.File">
<constructor-arg value="${basedir}/mdx/int_edugain/imported.xml"/>
<constructor-arg value="${mdx.dir}/int_edugain/imported.xml"/>
</bean>
</property>
</bean>
2 changes: 1 addition & 1 deletion mdx/test/verbs.xml
@@ -25,7 +25,7 @@
<bean id="serializeImported" parent="SerializationStage">
<property name="outputFile">
<bean class="java.io.File">
<constructor-arg value="${basedir}/mdx/test/imported.xml"/>
<constructor-arg value="${mdx.dir}/test/imported.xml"/>
</bean>
</property>
</bean>
2 changes: 1 addition & 1 deletion mdx/uk/collect.xml
@@ -25,7 +25,7 @@
<bean id="serializeCollected" parent="SerializationStage">
<property name="outputFile">
<bean class="java.io.File">
<constructor-arg value="${basedir}/mdx/uk/collected.xml"/>
<constructor-arg value="${mdx.dir}/uk/collected.xml"/>
</bean>
</property>
</bean>
4 changes: 2 additions & 2 deletions mdx/uk/verbs.xml
@@ -62,7 +62,7 @@
<bean id="serialize" parent="SerializationStage">
<property name="outputFile">
<bean class="java.io.File">
<constructor-arg value="${basedir}/mdx/uk/temp.html"/>
<constructor-arg value="${mdx.dir}/uk/temp.html"/>
</bean>
</property>
</bean>
@@ -326,7 +326,7 @@
<bean id="serializeImported" parent="SerializationStage">
<property name="outputFile">
<bean class="java.io.File">
<constructor-arg value="${basedir}/mdx/uk/imported.xml"/>
<constructor-arg value="${mdx.dir}/uk/imported.xml"/>
</bean>
</property>
</bean>
2 changes: 1 addition & 1 deletion mdx/us_incommon/verbs.xml
@@ -28,7 +28,7 @@
<bean id="serializeImported" parent="SerializationStage">
<property name="outputFile">
<bean class="java.io.File">
<constructor-arg value="${basedir}/mdx/us_incommon/imported.xml"/>
<constructor-arg value="${mdx.dir}/us_incommon/imported.xml"/>
</bean>
</property>
</bean>

0 comments on commit 5012efd

Please sign in to comment.