[protege] / protege4 / protege-standalone / trunk / osgi / build-felix.xml
Project Root:

protege: protege4/protege-standalone/trunk/osgi/build-felix.xml

File: [protege] / protege4 / protege-standalone / trunk / osgi / build-felix.xml (download) (as text)
Revision: 15098, Mon Aug 24 19:05:22 2009 UTC (3 months ago) by tredmond
File size: 2821 byte(s)
things got out of sync somewhere...
<?xml version = "1.0" encoding = "UTF-8"?>
<project name = "Protege Felix Distribution Build File" default = "run" basedir = ".">


    <!-- ===================================================================  -->
    <!-- FELIX - create a felix-based distribution -->
    <!-- ===================================================================  -->
    <target name = "felix">
      <echo message="bundles dir = ${bundles.dir}"/>
        <copy todir = "${dist.dir}/felix">
            <fileset dir = "./osgi/felix"/>
        </copy>

        <copy todir = "${dist.dir}/felix/bundles">
            <fileset dir = "${osgi.common}" includes = "org.eclipse.equinox.*.jar"/>
        </copy>
        
        <chmod file = "${dist.dir}/felix/run.sh" perm = "u+x"/>
        <chmod file = "${dist.dir}/felix/run.command" perm = "u+x"/>

        <copy todir = "${dist.dir}/felix/bundles" file = "${commonlibs.jar}"/>
        <copy todir = "${dist.dir}/felix/bundles" file = "${core.jar}"/>
        <copy todir = "${dist.dir}/felix/plugins" 
              failonerror = "false">
            <fileset dir="${bundles.dir}" 
                     includes="*.jar" 
                     excludes="${commonlibs.name}.jar, ${core.name}.jar"/>
        </copy>
    </target>

    <!-- ===================================================================  -->
    <!-- RUN.FELIX -->
    <!-- ===================================================================  -->
    <target name = "run.felix">
        <java fork = "true" dir = "${dist.dir}/felix" 
              classname = "org.apache.felix.main.Main">
            <jvmarg value = "-Dlog4j.configuration=file:log4j.xml"/>
            <jvmarg value = "-Dorg.protege.plugin.dir=plugins"/>
            <jvmarg value = "-Xmx1500M"/>
            <classpath>
              <pathelement path="${dist.dir}/felix/bin/felix.jar"/>
              <pathelement path="${dist.dir}/felix/bin/crimson.jar"/>
            </classpath>
        </java>
    </target>

    <!-- ===================================================================  -->
    <!-- DEBUG.FELIX -->
    <!-- ===================================================================  -->
    <target name = "debug.felix">
        <java fork = "true" dir = "${dist.dir}/felix" 
              classname = "org.apache.felix.main.Main">
            <jvmarg value = "-Dlog4j.configuration=file:log4j.xml"/>
            <jvmarg value = "-Dorg.protege.plugin.dir=plugins"/>
            <jvmarg value = "-agentlib:jdwp=transport=dt_socket,address=8500,server=y,suspend=n"/>
            <jvmarg value = "-Xmx1500M"/>
            <classpath>
              <pathelement path="${dist.dir}/felix/bin/felix.jar"/>
              <pathelement path="${dist.dir}/felix/bin/crimson.jar"/>
            </classpath>
        </java>
    </target>

</project>

CVS-SVN admin

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help