eclipse plugin: Tweak a bit the build script
This commit is contained in:
parent
4881b7dafd
commit
d3de08c360
2 changed files with 9 additions and 9 deletions
|
@ -1,20 +1,19 @@
|
|||
@echo off
|
||||
|
||||
set ECLIPSEHOME=D:\bin\eclipse\
|
||||
set ECLIPSEBUILD=D:\bin\eclipse_build\eclipse\
|
||||
set ECLIPSEDELTAPACK=d:\work\java\eclipse\3.6.2\eclipse\
|
||||
set ECLIPSEBIN=d:\work\java\eclipse\3.6.2\eclipse\
|
||||
set BUILDDIR=d:\tmp\eclipse_build
|
||||
|
||||
set BUILDDIR=d:\tmp
|
||||
mkdir %BUILDDIR%
|
||||
|
||||
REM get path to equinox jar inside ECLIPSEHOME folder
|
||||
for /f "delims= tokens=1" %%c in ('dir /B /S /OD %ECLIPSEHOME%\plugins\org.eclipse.equinox.launcher_*.jar') do set EQUINOXJAR=%%c
|
||||
REM get path to equinox jar inside ECLIPSEBIN folder
|
||||
for /f "delims= tokens=1" %%c in ('dir /B /S /OD %ECLIPSEBIN%\plugins\org.eclipse.equinox.launcher_*.jar') do set EQUINOXJAR=%%c
|
||||
echo "Found equinox jar: " %EQUINOXJAR%
|
||||
|
||||
REM find pde build folder
|
||||
for /f "delims= tokens=1" %%c in ('dir /B /S /OD %ECLIPSEHOME%\plugins\org.eclipse.pde.build_*') do set PDEBUILD_DIR=%%c
|
||||
for /f "delims= tokens=1" %%c in ('dir /B /S /OD %ECLIPSEBIN%\plugins\org.eclipse.pde.build_*') do set PDEBUILD_DIR=%%c
|
||||
echo "Found pde folder: " %PDEBUILD_DIR%
|
||||
|
||||
java -cp %EQUINOXJAR% org.eclipse.core.launcher.Main -data workspace -application org.eclipse.ant.core.antRunner -DbuildDirectory=%BUILDDIR% -Dbase=%ECLIPSEBUILD% -DbaseLocation=%ECLIPSEBUILD% -Ddeltapack=%ECLIPSEDELTAPACK% -Declipse.pdebuild.scripts=%PDEBUILD_DIR%\scripts -Declipse.pdebuild.templates=%PDEBUILD_DIR%\templates -buildfile build.xml
|
||||
java -cp %EQUINOXJAR% org.eclipse.core.launcher.Main -data workspace -application org.eclipse.ant.core.antRunner -DbuildDirectory=%BUILDDIR% -Dbase=%ECLIPSEBIN% -DbaseLocation=%ECLIPSEBIN% -Ddeltapack=%ECLIPSEBIN% -Declipse.pdebuild.scripts=%PDEBUILD_DIR%\scripts -Declipse.pdebuild.templates=%PDEBUILD_DIR%\templates -buildfile build.xml
|
||||
|
||||
IF EXIST ../org.wesnoth/build.xml rm ../org.wesnoth/build.xml
|
||||
IF EXIST ../org.wesnoth.wml/build.xml rm ../org.wesnoth.wml/build.xml
|
||||
|
|
|
@ -18,9 +18,10 @@
|
|||
|
||||
<ant antfile="${eclipse.pdebuild.scripts}/productBuild/productBuild.xml" />
|
||||
|
||||
<move todir="${basedir}">
|
||||
<move todir="${basedir}/${buildLabel}">
|
||||
<fileset dir="${buildDirectory}/${buildLabel}" includes="*.zip"/>
|
||||
</move>
|
||||
|
||||
</target>
|
||||
</project>
|
||||
|
Loading…
Add table
Reference in a new issue