Skip to content

Commit 540b427

Browse files
committed
remove extra target.path setup
1 parent 23f1b00 commit 540b427

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build/build.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@
161161
<!-- <property name="dist.suffix" value="${os.arch}" /> -->
162162

163163
<!-- Figure out the platform-specific output directory for all this work. -->
164+
<!-- This is set by antcall to assemble. If we set these up here, then we
165+
can't detect when someone is attempting 'ant assemble' (which is bad). -->
166+
<!--
164167
<condition property="target.path"
165168
value="macos/work/Processing.app/Contents/Java">
166169
<os family="mac" />
@@ -173,6 +176,7 @@
173176
<condition property="target.path" value="windows/work">
174177
<os family="windows" />
175178
</condition>
179+
-->
176180

177181
<!-- Libraries required for running processing -->
178182
<!-- also need to copy these to the bundleapp task for macos -->
@@ -378,7 +382,7 @@
378382
</fileset>
379383
</copy>
380384

381-
<!-- get the examples folder, but don't require it to buid -->
385+
<!-- get the examples folder, but don't require it to build (only required for dist) -->
382386
<copy todir="${target.path}/modes/java/examples"
383387
preservelastmodified="true" failonerror="false">
384388
<fileset dir="${examples.dir}" />

0 commit comments

Comments
 (0)