This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 35523
Collapse All | Expand All

(-)build.xml (-14 / +9 lines)
Lines 13-30 Link Here
13
-->
13
-->
14
<project basedir="." default="all" name="bookmarks">
14
<project basedir="." default="all" name="bookmarks">
15
15
16
    <target depends="all" name="netbeans"/>
16
    <target name="all" depends="netbeans"/>
17
17
18
    <property name="nb_all" value="../.."/>
18
    <property name="nb_all" value="../.."/>
19
19
20
    <property name="nbm_alias" value="nb_ide"/>
20
    <property name="nbm_alias" value="nb_ide"/>
21
    <property name="homepage.base" value="netbeans.org"/>
22
    <property name="dist.base" value="www.netbeans.org/download/nbms/40"/>
21
    <property name="dist.base" value="www.netbeans.org/download/nbms/40"/>
22
    <!-- XXX may prefer to use modified version with s/Sun Microsystems/Nokia/g: -->
23
    <property location="${nb_all}/nbbuild/standard-nbm-license.txt" name="license.file"/>
23
    <property location="${nb_all}/nbbuild/standard-nbm-license.txt" name="license.file"/>
24
24
25
    <taskdef classname="org.netbeans.nbbuild.MakeNBM" classpath="${nb_all}/nbbuild/nbantext.jar" name="makenbm"/>
25
    <taskdef classname="org.netbeans.nbbuild.MakeNBM" classpath="${nb_all}/nbbuild/nbantext.jar" name="makenbm"/>
26
    <taskdef classname="org.netbeans.nbbuild.MakeListOfNBM" classpath="${nb_all}/nbbuild/nbantext.jar" name="genlist"/>
26
    <taskdef classname="org.netbeans.nbbuild.MakeListOfNBM" classpath="${nb_all}/nbbuild/nbantext.jar" name="genlist"/>
27
    <taskdef classname="org.netbeans.nbbuild.LocalizedJar" classpath="${nb_all}/nbbuild/nbantext.jar" name="locjar"/>
28
27
29
    <target name="compile">
28
    <target name="compile">
30
        <javac destdir="src" srcdir="src" deprecation="${build.compiler.deprecation}" debug="${build.compiler.debug}">
29
        <javac destdir="src" srcdir="src" deprecation="${build.compiler.deprecation}" debug="${build.compiler.debug}">
Lines 32-42 Link Here
32
                <!-- Whatever you need, based on your dependencies. -->
31
                <!-- Whatever you need, based on your dependencies. -->
33
                <pathelement location="${nb_all}/openide/openide-13javac-workaround.jar"/>
32
                <pathelement location="${nb_all}/openide/openide-13javac-workaround.jar"/>
34
                <pathelement location="${nb_all}/openide/netbeans/lib/openide.jar"/>
33
                <pathelement location="${nb_all}/openide/netbeans/lib/openide.jar"/>
35
                <pathelement location="${nb_all}/core/netbeans/lib/core.jar"/>
34
                <pathelement location="${nb_all}/openide/loaders/netbeans/lib/openide-loaders.jar"/>
36
                <fileset dir="${nb_all}/core/external">
37
                    <include name="xml-apis*.jar"/>
38
                    <include name="xerces*.jar"/>
39
                </fileset>
40
            </classpath>
35
            </classpath>
41
        </javac>
36
        </javac>
42
    </target>
37
    </target>
Lines 52-64 Link Here
52
        </jar>
47
        </jar>
53
    </target>
48
    </target>
54
49
55
    <target depends="jars" description="Build the module." name="all"/>
50
    <target depends="jars" description="Build the module." name="netbeans">
51
        <genlist targetname="nbm" outputfiledir="netbeans"/>
52
    </target>
56
53
57
    <target depends="all" description="Prepare the module for distribution via Auto Update." name="nbm">
54
    <target depends="netbeans" description="Prepare the module for distribution via Auto Update." name="nbm">
58
        <makenbm distribution="http://www.nokia.com/" file="bookmarks.nbm" homepage="http://www.nokia.com/" module="netbeans/modules/bookmarks.jar" topdir=".">
55
        <makenbm file="bookmarks.nbm" homepage="http://www.nokia.com/" module="netbeans/modules/bookmarks.jar" topdir="." needsrestart="no" distribution="http://${dist.base}/bookmarks.nbm">
59
<!--            <license file="/SOMEWHERE/SOME/LICENSE/TEXT.txt"/> -->
56
            <license file="${license.file}"/>
60
            <!-- signature element permitted also if you have the secret key for lib/ide.ks -->
61
            <!-- otherwise users will be warned that your NBM is unsigned, and will have to accept it -->
62
            <signature alias="${nbm_alias}" keystore="${keystore}" storepass="${storepass}"/>
57
            <signature alias="${nbm_alias}" keystore="${keystore}" storepass="${storepass}"/>
63
        </makenbm>
58
        </makenbm>
64
    </target>
59
    </target>

Return to bug 35523