Skip to content

Commit

Permalink
Initial import.
Browse files Browse the repository at this point in the history
  • Loading branch information
luelljoc committed Mar 18, 2004
1 parent 6f66a32 commit b5eae8b
Show file tree
Hide file tree
Showing 27 changed files with 2,141 additions and 0 deletions.
6 changes: 6 additions & 0 deletions org.epic.feature.main/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path=""/>
<classpathentry kind="output" path="bin"/>
</classpath>
23 changes: 23 additions & 0 deletions org.epic.feature.main/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.epic.feature.main</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
8 changes: 8 additions & 0 deletions org.epic.feature.main/about.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
aboutText=EPIC - Eclipse Perl Integration\n\
Version: 0.1.0\n\
\n\
Provided by the EPIC Project Team \n\
\n\
Visit http://e-p-i-c.sourceforge.net
featureImage=epicAbout.jpg
appName=EPIC
6 changes: 6 additions & 0 deletions org.epic.feature.main/bin/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path=""/>
<classpathentry kind="output" path="bin"/>
</classpath>
23 changes: 23 additions & 0 deletions org.epic.feature.main/bin/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.epic.feature.main</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
8 changes: 8 additions & 0 deletions org.epic.feature.main/bin/about.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
aboutText=EPIC - Eclipse Perl Integration\n\
Version: 0.1.0\n\
\n\
Provided by the EPIC Project Team \n\
\n\
Visit http://e-p-i-c.sourceforge.net
featureImage=epicAbout.jpg
appName=EPIC
3 changes: 3 additions & 0 deletions org.epic.feature.main/bin/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bin.includes = feature.xml,\
icons/,\
license.html
135 changes: 135 additions & 0 deletions org.epic.feature.main/bin/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.epic.feature.main" default="build.update.jar" basedir=".">

<target name="init">
<property name="feature" value="org.epic.feature.main"/>
<property name="feature.version.suffix" value="_0.1.0"/>
<property name="feature.full.name" value="${feature}${feature.version.suffix}"/>
<property name="feature.temp.folder" value="${basedir}/feature.temp.folder"/>
<property name="feature.destination" value="${basedir}"/>
</target>

<target name="all.plugins" depends="init">
<ant antfile="build.xml" dir="../org.epic.regexp/" target="${target}"/>
<ant antfile="build.xml" dir="../org.epic.ext.cbg.editor/" target="${target}"/>
<ant antfile="build.xml" dir="../org.epic.perleditor/" target="${target}"/>
<ant antfile="build.xml" dir="../org.epic.debug/" target="${target}"/>
<ant antfile="build.xml" dir="../org.epic.regexp/" target="${target}"/>
<ant antfile="build.xml" dir="../org.epic.ext.cbg.editor/" target="${target}"/>
<ant antfile="build.xml" dir="../org.epic.perleditor/" target="${target}"/>
<ant antfile="build.xml" dir="../org.epic.debug/" target="${target}"/>
</target>

<target name="all.children" depends="init,all.plugins">
</target>

<target name="children" if="include.children">
<antcall target="all.children"/>
</target>

<target name="build.jars" depends="init" description="Build all the jars for the feature: org.epic.feature.main.">
<antcall target="all.children">
<param name="target" value="build.jars"/>
</antcall>
</target>

<target name="build.sources" depends="init">
<antcall target="all.children">
<param name="target" value="build.sources"/>
</antcall>
</target>

<target name="build.zips" depends="init">
<antcall target="all.children">
<param name="target" value="build.zips"/>
</antcall>
</target>

<target name="build.update.jar" depends="init" description="Build the feature jar of: org.epic.feature.main for an update site.">
<antcall target="all.children">
<param name="target" value="build.update.jar"/>
</antcall>
<property name="feature.base" value="${feature.temp.folder}"/>
<delete dir="${feature.temp.folder}"/>
<mkdir dir="${feature.temp.folder}"/>
<antcall target="gather.bin.parts" inheritAll="false">
<param name="feature.base" value="${feature.temp.folder}"/>
</antcall>
<jar jarfile="${feature.destination}/${feature.full.name}.jar" basedir="${feature.temp.folder}/features/${feature.full.name}"/>
<delete dir="${feature.temp.folder}"/>
</target>

<target name="gather.bin.parts" depends="init" if="feature.base">
<antcall target="children">
<param name="destination.temp.folder" value="${feature.base}/plugins"/>
<param name="target" value="gather.bin.parts"/>
</antcall>
<mkdir dir="${feature.base}/features/${feature.full.name}"/>
<copy todir="${feature.base}/features/${feature.full.name}">
<fileset dir="${basedir}" includes="feature.xml,icons/,license.html"/>
</copy>
</target>

<target name="zip.distribution" depends="init" description="Create a zip containing all the plug-ins and features for the feature: org.epic.feature.main.">
<delete dir="${feature.temp.folder}"/>
<mkdir dir="${feature.temp.folder}"/>
<antcall target="gather.bin.parts">
<param name="include.children" value="true"/>
<param name="feature.base" value="${feature.temp.folder}"/>
</antcall>
<antcall target="zip.folder">
<param name="zipname" value="${feature.full.name}.bin.dist.zip"/>
</antcall>
<delete dir="${feature.temp.folder}"/>
</target>

<target name="zip.sources" depends="init">
<delete dir="${feature.temp.folder}"/>
<mkdir dir="${feature.temp.folder}"/>
<antcall target="all.children">
<param name="destination.temp.folder" value="${feature.temp.folder}/plugins/${feature}.source${feature.version.suffix}/src"/>
<param name="target" value="gather.sources"/>
</antcall>
<antcall target="zip.folder">
<param name="zipname" value="${feature.full.name}.src.zip"/>
</antcall>
<delete dir="${feature.temp.folder}"/>
</target>

<target name="zip.logs" depends="init">
<delete dir="${feature.temp.folder}"/>
<mkdir dir="${feature.temp.folder}"/>
<antcall target="all.children" inheritAll="false">
<param name="destination.temp.folder" value="${feature.temp.folder}/plugins"/>
<param name="target" value="gather.logs"/>
</antcall>
<antcall target="zip.folder">
<param name="zipname" value="${feature.full.name}.log.zip"/>
</antcall>
<delete dir="${feature.temp.folder}"/>
</target>

<target name="zip.folder" depends="init">
<zip zipfile="${zipname}" basedir="${feature.temp.folder}" filesonly="true" update="yes"/>
</target>

<target name="clean" depends="init" description="Clean the feature: org.epic.feature.main of all the zips, jars and logs created.">
<delete file="${feature.destination}/${feature.full.name}.jar"/>
<delete file="${feature.destination}/${feature.full.name}.bin.dist.zip"/>
<delete file="${feature.destination}/${feature.full.name}.log.zip"/>
<delete file="${feature.destination}/${feature.full.name}.src.zip"/>
<delete dir="${feature.temp.folder}"/>
<antcall target="all.children">
<param name="target" value="clean"/>
</antcall>
</target>

<target name="refresh" depends="init" if="eclipse.running">
<eclipse.convertPath fileSystemPath="/home/luelljoc/eclipse/workspace/org.epic.feature.main" property="resourcePath"/>
<eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
<antcall target="all.children">
<param name="target" value="refresh"/>
</antcall>
</target>

</project>
Binary file added org.epic.feature.main/bin/epicAbout.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b5eae8b

Please sign in to comment.