Commit 80982aa9 authored by Markus Bauer's avatar Markus Bauer
Browse files

Removing old buildscripts

parent f4af3249
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>PseuCoCo</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.ajdt.core.ajbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.ajdt.ui.ajnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.7
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
===== HOW TO BUILD =====
- Make a copy of this buildscript, name it "buildscript.xml"
- Adjust the path to your AspectJ runtime (C:/Program Files (x86)/eclipse/...)
- Run it!
Maybe you have to add the bcel.jar to your Ant runtime.
In eclipse, go to Window->Preferences->Ant->Runtime, and add the jar from the "becl-5.2" folder of this project.
-->
<project default="make" name="Create jar and release zip for PseucoIDE">
<!--ANT 1.7 is required -->
<target name="create_jar">
<delete file="./release/pseuCoCo-runnable.jar"/>
<delete file="./release/PseucoIDE.jar"/>
<jar destfile="./release/PseucoIDE.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="start.Start"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="./bin">
<include name="**/*"/>
<exclude name="/debug/**"/>
<exclude name="/junit/**"/>
<exclude name="/org/junit/**"/>
<exclude name="/tests/**"/>
</fileset>
<zipfileset excludes="META-INF/*.SF" src="./jsyntaxpane-0.9.6.jar"/>
<zipfileset excludes="META-INF/*.SF" src="./javax.json-1.0.4.jar"/>
<zipfileset excludes="META-INF/*.SF" src="C:/Program Files (x86)/eclipse/plugins/org.aspectj.runtime_1.7.3.20130613144500-a.jar"/>
</jar>
</target>
<target name="create_zip">
<delete dir="./release/projects" />
<copy todir="./release/projects">
<fileset dir="./projects">
<include name="exampleCount_1.pseuco" />
<include name="exampleCount_2.pseuco" />
<include name="example_Fakultaet.pseuco" />
</fileset>
</copy>
<!-- Get the current version -->
<loadproperties encoding="iso-8859-1" srcfile="./bin/start/Start.class">
<filterchain>
<classconstants/>
</filterchain>
</loadproperties>
<loadresource property="versionF">
<propertyresource name="version" />
<filterchain>
<tokenfilter>
<filetokenizer />
<replacestring from=" " to="_" />
</tokenfilter>
</filterchain>
</loadresource>
<zip destfile="./release/PseucoIDE_${versionF}.zip">
<fileset dir="./release">
<include name="PseucoIDE.jar" />
<include name="projects/*.pseuco" />
</fileset>
</zip>
</target>
<target name="make">
<antcall target="create_jar" />
<antcall target="create_zip" />
</target>
</project>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment