Skip to content

Commit

Permalink
Pass mdx.dir in to the MDA.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
iay committed Jul 31, 2016
1 parent cd27613 commit 5012efd
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mdx/at_aconet/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion mdx/int_cobweb/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion mdx/int_edugain/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion mdx/test/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion mdx/uk/collect.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions mdx/uk/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion mdx/us_incommon/verbs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5012efd

Please sign in to comment.