Skip to content

Commit

Permalink
Closes umple#639 and umple#617
Browse files Browse the repository at this point in the history
  • Loading branch information
Nava2 committed Dec 4, 2015
1 parent e8fa835 commit 4238e41
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 21 deletions.
8 changes: 4 additions & 4 deletions build/_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<property name="myenv" value="cc" />
<import file="_${myenv}.xml" />


<taskdef resource="net/sf/antcontrib/antcontrib.properties"/>

<property name="dist.dir" value="${basedir}/dist" />
<property file="${dist.dir}/recent.build.properties" />
Expand All @@ -29,8 +29,8 @@
<property name="dist.@{name}.jar.prev" value="umple-${dist.umple.latest.version}.jar" />
</then>
<else>
<property name="dist.umple.@{name}.jar" value="@{name}-${umple.version}.jar" />
<property name="dist.umple.@{name}.jar.prev" value="@{name}-${dist.umple.latest.version}.jar" />
<property name="dist.umple.@{name}.jar" value="umple@{name}-${umple.version}.jar" />
<property name="dist.umple.@{name}.jar.prev" value="umple@{name}-${dist.umple.latest.version}.jar" />
</else>
</if>
</sequential>
Expand Down
2 changes: 1 addition & 1 deletion build/_versionLast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<property prefix="last" file="build/umpleversion.last.txt"/>
<property name="umple.version" value="${last.version}" />
<echo message="Last Version: ${umple.version}" />
<echo message="Last Version: ${last.version}" />

</project>

6 changes: 4 additions & 2 deletions build/build.deps.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Environment Variables
``````````````````````````` -->
<import file="_template.xml" />
<import file="_versionLast.xml" />

<!-- Ivy Configuration -->
<property name="ivy.install.version" value="2.4.0" />
Expand All @@ -16,7 +17,7 @@
<!-- Umple Last -->
<property name="umple.deps.dir" value="${dist.dir}/libs" />
<property name="umple.deps.manual.dir" value="${umple.deps.dir}/manual" />
<property name="umple.stable.jar" value="${umple.deps.dir}/../umple-stable.jar" />
<property name="umple.stable.jar" value="${umple.deps.dir}/../umple-${last.version}.jar" />

<!-- Vendor Configuration -->
<property name="vendors.path" value="${dist.dir}/vendors" />
Expand Down Expand Up @@ -172,8 +173,9 @@
<echo level="warning">WARNING: This is merely wget-ing http://cruise.eecs.uottawa.ca/umpleonline/scripts/umple.jar</echo>
<mkdir dir="${umple.deps.dir}" />
<get src="http://cruise.eecs.uottawa.ca/umpleonline/scripts/umple.jar"
dest="${umple.last.jar.file}"
dest="${umple.stable.jar}"
usetimestamp="true" />
<copy file="${umple.stable.jar}" tofile="${umple.stable.jar}" />
</else>
</if>

Expand Down
2 changes: 1 addition & 1 deletion build/build.sandbox.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
``````````````````````````` -->

<target name="umpleSandbox">
<java jar="${dist.dir}/${dist.umple.jar.prev}" fork="true" failonerror="true">
<java jar="${umple.stable.jar}" fork="true" failonerror="true">
<arg value="sandbox/src/sandbox.ump"/>
</java>
</target>
Expand Down
11 changes: 3 additions & 8 deletions build/build.umple.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@

<deps-load-path conf="core" pathid="core.ivy.classpath" />

<java jar="${dist.dir}/${dist.umple.jar.prev}" fork="true" failonerror="true">
<java jar="${umple.stable.jar}" fork="true" failonerror="true">
<arg value="cruise.umple/src/Master.ump"/>
</java>
<java jar="${dist.dir}/${dist.umple.jar.prev}" fork="true" failonerror="true">
<java jar="${umple.stable.jar}" fork="true" failonerror="true">
<arg value="cruise.umple.validator/src/Master.ump"/>
</java>
<java jar="${dist.dir}/${dist.umple.jar.prev}" fork="true" failonerror="true">
<java jar="${umple.stable.jar}" fork="true" failonerror="true">
<arg value="cruise.umplificator/src/Master.ump"/>
</java>
</target>
Expand Down Expand Up @@ -329,15 +329,10 @@
</manifest>

</jar>

<copy file="${dist.dir}/${dist.umple.jar}"
tofile="${dist.dir}/${dist.umple.jar.next}" />
</target>

<target name="packageJars">
<antcall target="packageMainJar" />

<echo message="dist.umple.latest.version=${umple.version}" file="${recent.build.properties.file}" />

<deps-get-path conf="core" pathid="core.ivy.classpath" />
<manifestclasspath property="umple.jar.classpath" jarfile="${dist.dir}/${dist.umple.jar}" >
Expand Down
2 changes: 0 additions & 2 deletions build/compile_sandbox

This file was deleted.

3 changes: 0 additions & 3 deletions build/precommit.sh

This file was deleted.

0 comments on commit 4238e41

Please sign in to comment.