silly file paths. ant install now working

This commit is contained in:
Manindra Moharana
2014-06-25 13:44:27 +05:30
parent a514cc18ca
commit b80b944801
2 changed files with 9 additions and 9 deletions
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="clean,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AUTO_TARGETS" value="package,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="install,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AUTO_TARGETS" value="install,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_CLEAN_TARGETS" value="clean,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="package,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_MANUAL_TARGETS" value="full_install,"/>
<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.capture_output" value="false"/>
+6 -6
View File
@@ -22,15 +22,15 @@
</condition>
<!-- Figure out the platform-specific output directory. -->
<condition property="target.path" value="macosx/work/Processing.app/Contents/Java">
<condition property="target.path" value="../build/macosx/work/Processing.app/Contents/Java">
<os family="mac" />
</condition>
<condition property="target.path" value="linux/work">
<condition property="target.path" value="../build/linux/work">
<os family="unix" />
</condition>
<condition property="target.path" value="windows/work">
<condition property="target.path" value="../build/windows/work">
<os family="windows" />
</condition>
@@ -138,9 +138,9 @@
excludes="**/.DS_Store"/>
</target>
<target name="full_install" depends="package" description="Full install to sketchbook">
<delete dir="${sketchbook.location}/modes/${lib.name}" />
<copy todir="${sketchbook.location}/modes/">
<target name="full_install" depends="package" description="Full install to mode folder">
<delete dir="${target.path}/modes/${lib.name}" />
<copy todir="${target.path}/modes/">
<fileset dir="dist" />
</copy>
</target>