src/Tools/jEdit/contrib/jEdit/build-nb.xml
author immler@in.tum.de
Sun, 11 Jan 2009 13:16:35 +0100
changeset 34465 ccadbf63e320
parent 34381 a94d2fb96fd5
permissions -rw-r--r--
added EventBus for new command- or keyword-declarations
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34381
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
     2
<project name="jEdit">
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
     3
    <import file="./build.xml"/>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
     4
    <property environment="env"/>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
     5
    
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
     6
    <target name="run" depends="compile">
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
     7
        <java classname="org.gjt.sp.jedit.jEdit" classpath="./build/jEdit.jar" dir="./" fork="true">
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
     8
          <arg value="-noserver"/>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
     9
          <arg value="-nobackground"/>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    10
          <arg value="-settings=${env.ISABELLE_HOME_USER}/jedit"/>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    11
        </java>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    12
    </target>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    13
    
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    14
    <target name="debug-nb" depends="compile">
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    15
        <path id="cp" location="./build/jEdit.jar" />
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    16
        
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    17
        <nbjpdastart addressproperty="jpda.address" name="jEdit" transport="dt_socket">
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    18
            <classpath refid="cp"/>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    19
        </nbjpdastart>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    20
        
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    21
        <java classname="org.gjt.sp.jedit.jEdit" classpathref="cp" fork="true" dir="./">
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    22
            <jvmarg value="-Xdebug"/>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    23
            <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    24
        </java>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    25
    </target>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    26
    
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    27
    <target name="profile-nb" depends="compile">
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    28
        <fail unless="netbeans.home">This target can only run inside the NetBeans IDE.</fail>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    29
        
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    30
        <path id="cp" location="./build/jEdit.jar" />
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    31
        
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    32
        <nbprofiledirect>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    33
            <classpath refid="cp"/>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    34
        </nbprofiledirect>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    35
        
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    36
        <java classname="org.gjt.sp.jedit.jEdit" fork="true" logError="yes" dir="." classpathref="cp">
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    37
            <classpath refid="cp"/>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    38
            <jvmarg value="${profiler.info.jvmargs.agent}"/>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    39
        </java>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    40
    </target>
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents:
diff changeset
    41
</project>