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 124082
Collapse All | Expand All

(-)visualweb/dataprovider/runtime/build.xml (+15 lines)
Lines 72-77 Link Here
72
        </copy>
72
        </copy>
73
    </target>
73
    </target>
74
74
75
    <target name="library-build-ml" if="locales">
76
        <ant dir="library" target="jar-ml" inheritAll="false">
77
            <property name="locales" value="${locales}"/>
78
        </ant>
79
    </target>
80
    
81
    <target name="netbeans-extra-ml" depends="init,library-build-ml">
82
        <mkdir dir="${cluster}/modules/ext"/>
83
        <copy todir="${cluster}/modules/ext" includeEmptyDirs="true" overwrite="true">
84
            <fileset dir="library/dist">
85
                <include name="locale/**/*.jar"/>
86
            </fileset>
87
        </copy>
88
    </target>
89
75
    <target name="clean" depends="projectized-common.clean,library-clean"/>
90
    <target name="clean" depends="projectized-common.clean,library-clean"/>
76
    
91
    
77
    <!-- Clean the J2SE project on which this library wrapper module depends. -->
92
    <!-- Clean the J2SE project on which this library wrapper module depends. -->
(-)visualweb/dataprovider/runtime/library/build.xml (+21 lines)
Lines 76-79 Link Here
76
        <zip basedir="${src.dir}" destfile="${src.zip}" excludes="**/CVS/**"/>
76
        <zip basedir="${src.dir}" destfile="${src.zip}" excludes="**/CVS/**"/>
77
    </target>
77
    </target>
78
    
78
    
79
    <target name="-check-run-ml-build">
80
        <condition property="run.ml.build" value="true">
81
            <and>
82
                <available file="../../../../translatedfiles/src/visualweb/dataprovider/runtime/library/src" type="dir"/>
83
                <isset property="locales"/>
84
                <length string="${locales}" when="greater" length="1" />
85
            </and>
86
        </condition>
87
    </target>
88
    
89
    <!-- prepare localized jarfile -->
90
    <target name="jar-ml" depends="-init-project,-check-run-ml-build" if="run.ml.build">
91
        <property name="locjar.locales" value="${locales}"/>
92
        <property name="nb_all" value="../../../.."/>
93
        <taskdef name="locjar" classname="org.netbeans.nbbuild.LocalizedJar"
94
                 classpath="${nb_all}/nbbuild/nbantext.jar"/>
95
        <locjar jarfile="${dist.jar}" 
96
                warnMissingDir="true"
97
                basedir="../../../../translatedfiles/src/visualweb/dataprovider/runtime/library/src"/>
98
    </target>
99
    
79
</project>
100
</project>
(-)visualweb/designtime/build.xml (+15 lines)
Lines 54-59 Link Here
54
        <ant dir="library" target="jar" inheritAll="false"/>
54
        <ant dir="library" target="jar" inheritAll="false"/>
55
    </target>
55
    </target>
56
    
56
    
57
    <target name="library-build-ml" if="locales">
58
        <ant dir="library" target="jar-ml" inheritAll="false">
59
            <property name="locales" value="${locales}"/>
60
        </ant>
61
    </target>
62
    
57
    <target name="netbeans-extra" depends="init">
63
    <target name="netbeans-extra" depends="init">
58
        <mkdir dir="${cluster}/modules/ext"/>
64
        <mkdir dir="${cluster}/modules/ext"/>
59
        <copy todir="${cluster}/modules/ext">
65
        <copy todir="${cluster}/modules/ext">
Lines 66-71 Link Here
66
    <!-- Clean the J2SE project on which this library wrapper module depends. -->
72
    <!-- Clean the J2SE project on which this library wrapper module depends. -->
67
    <target name="library-clean">
73
    <target name="library-clean">
68
        <ant target="clean" dir="library" inheritAll="false"/>
74
        <ant target="clean" dir="library" inheritAll="false"/>
75
    </target>
76
77
    <target name="netbeans-extra-ml" depends="init,library-build-ml">
78
        <mkdir dir="${cluster}/modules/ext"/>
79
        <copy todir="${cluster}/modules/ext" includeEmptyDirs="true" overwrite="true">
80
            <fileset dir="library/dist">
81
                <include name="locale/**/*.jar"/>
82
            </fileset>
83
        </copy>
69
    </target>
84
    </target>
70
85
71
</project>
86
</project>
(-)visualweb/designtime/library/build.xml (+21 lines)
Lines 66-70 Link Here
66
    <target name="-post-jar">
66
    <target name="-post-jar">
67
        <delete file="MANIFEST.MF"/>
67
        <delete file="MANIFEST.MF"/>
68
    </target>
68
    </target>
69
70
    <target name="-check-run-ml-build">
71
        <condition property="run.ml.build" value="true">
72
            <and>
73
                <available file="../../../translatedfiles/src/visualweb/designtime/library/src" type="dir"/>
74
                <isset property="locales"/>
75
                <length string="${locales}" when="greater" length="1" />
76
            </and>
77
        </condition>
78
    </target>
79
    
80
    <!-- prepare localized jarfile -->
81
    <target name="jar-ml" depends="-check-run-ml-build" if="run.ml.build">
82
        <property name="locjar.locales" value="${locales}"/>
83
        <property name="nb_all" value="../../.."/>
84
        <taskdef name="locjar" classname="org.netbeans.nbbuild.LocalizedJar"
85
                 classpath="${nb_all}/nbbuild/nbantext.jar"/>
86
        <locjar jarfile="dist/designtime.jar" 
87
                warnMissingDir="true"
88
                basedir="../../../translatedfiles/src/visualweb/designtime/library/src"/>
89
    </target>
69
    
90
    
70
</project>
91
</project>
(-)visualweb/designtime/rave/build.xml (+15 lines)
Lines 66-70 Link Here
66
    <target name="library-clean">
66
    <target name="library-clean">
67
        <ant target="clean" dir="library" inheritAll="false"/>
67
        <ant target="clean" dir="library" inheritAll="false"/>
68
    </target>
68
    </target>
69
70
    <target name="library-build-ml" if="locales">
71
        <ant dir="library" target="jar-ml" inheritAll="false">
72
            <property name="locales" value="${locales}"/>
73
        </ant>
74
    </target>
69
    
75
    
76
    <target name="netbeans-extra-ml" depends="init,library-build-ml">
77
        <mkdir dir="${cluster}/modules/ext"/>
78
        <copy todir="${cluster}/modules/ext" includeEmptyDirs="true" overwrite="true">
79
            <fileset dir="library/dist">
80
                <include name="locale/**/*.jar"/>
81
            </fileset>
82
        </copy>
83
    </target>
84
70
</project>
85
</project>
(-)visualweb/designtime/rave/library/build.xml (+21 lines)
Lines 105-108 Link Here
105
    nbproject/build-impl.xml file. 
105
    nbproject/build-impl.xml file. 
106
106
107
    -->
107
    -->
108
    <target name="-check-run-ml-build">
109
        <condition property="run.ml.build" value="true">
110
            <and>
111
                <available file="../../../../translatedfiles/src/visualweb/designtime/rave/library/src" type="dir"/>
112
                <isset property="locales"/>
113
                <length string="${locales}" when="greater" length="1" />
114
            </and>
115
        </condition>
116
    </target>
117
    
118
    <!-- prepare localized jarfile -->
119
    <target name="jar-ml" depends="-init-project,-check-run-ml-build" if="run.ml.build">
120
        <property name="locjar.locales" value="${locales}"/>
121
        <property name="nb_all" value="../../../.."/>
122
        <taskdef name="locjar" classname="org.netbeans.nbbuild.LocalizedJar"
123
                 classpath="${nb_all}/nbbuild/nbantext.jar"/>
124
        <locjar jarfile="${dist.jar}" 
125
                warnMissingDir="true"
126
                basedir="../../../../translatedfiles/src/visualweb/designtime/rave/library/src"/>
127
    </target>
128
    
108
</project>
129
</project>
(-)visualweb/errorhandler/client/build.xml (+16 lines)
Lines 65-68 Link Here
65
    <target name="library-clean">
65
    <target name="library-clean">
66
        <ant target="clean" dir="library" inheritAll="false"/>
66
        <ant target="clean" dir="library" inheritAll="false"/>
67
    </target>    
67
    </target>    
68
69
    <target name="library-build-ml" if="locales">
70
        <ant dir="library" target="jar-ml" inheritAll="false">
71
            <property name="locales" value="${locales}"/>
72
        </ant>
73
    </target>
74
    
75
    <target name="netbeans-extra-ml" depends="init,library-build-ml">
76
        <mkdir dir="${cluster}/modules/ext"/>
77
        <copy todir="${cluster}/modules/ext" includeEmptyDirs="true" overwrite="true">
78
            <fileset dir="library/dist">
79
                <include name="locale/**/*.jar"/>
80
            </fileset>
81
        </copy>
82
    </target>
83
68
</project>
84
</project>
(-)visualweb/errorhandler/client/library/build.xml (+21 lines)
Lines 105-108 Link Here
105
    nbproject/build-impl.xml file. 
105
    nbproject/build-impl.xml file. 
106
106
107
    -->
107
    -->
108
    <target name="-check-run-ml-build">
109
        <condition property="run.ml.build" value="true">
110
            <and>
111
                <available file="../../../../translatedfiles/src/visualweb/errorhandler/client/library/src" type="dir"/>
112
                <isset property="locales"/>
113
                <length string="${locales}" when="greater" length="1" />
114
            </and>
115
        </condition>
116
    </target>
117
    
118
    <!-- prepare localized jarfile -->
119
    <target name="jar-ml" depends="-init-project,-check-run-ml-build" if="run.ml.build">
120
        <property name="locjar.locales" value="${locales}"/>
121
        <property name="nb_all" value="../../../.."/>
122
        <taskdef name="locjar" classname="org.netbeans.nbbuild.LocalizedJar"
123
                 classpath="${nb_all}/nbbuild/nbantext.jar"/>
124
        <locjar jarfile="${dist.jar}" 
125
                warnMissingDir="true"
126
                basedir="../../../../translatedfiles/src/visualweb/errorhandler/client/library/src"/>
127
    </target>
128
    
108
</project>
129
</project>
(-)visualweb/rowset/build.xml (+15 lines)
Lines 81-85 Link Here
81
    <target name="library-clean">
81
    <target name="library-clean">
82
        <ant target="clean" dir="library" inheritAll="false"/>
82
        <ant target="clean" dir="library" inheritAll="false"/>
83
    </target>
83
    </target>
84
85
    <target name="library-build-ml" if="locales">
86
        <ant dir="library" target="jar-ml" inheritAll="false">
87
            <property name="locales" value="${locales}"/>
88
        </ant>
89
    </target>
84
    
90
    
91
    <target name="netbeans-extra-ml" depends="init,library-build-ml">
92
        <mkdir dir="${cluster}/modules/ext"/>
93
        <copy todir="${cluster}/modules/ext" includeEmptyDirs="true" overwrite="true">
94
            <fileset dir="library/dist">
95
                <include name="locale/**/*.jar"/>
96
            </fileset>
97
        </copy>
98
    </target>
99
85
</project>
100
</project>
(-)visualweb/rowset/library/build.xml (+21 lines)
Lines 115-118 Link Here
115
        <zip basedir="${src.dir}" destfile="${src.zip}" excludes="**/CVS/**"/>
115
        <zip basedir="${src.dir}" destfile="${src.zip}" excludes="**/CVS/**"/>
116
    </target>
116
    </target>
117
    
117
    
118
    <target name="-check-run-ml-build">
119
        <condition property="run.ml.build" value="true">
120
            <and>
121
                <available file="../../../translatedfiles/src/visualweb/rowset/library/src" type="dir"/>
122
                <isset property="locales"/>
123
                <length string="${locales}" when="greater" length="1" />
124
            </and>
125
        </condition>
126
    </target>
127
    
128
    <!-- prepare localized jarfile -->
129
    <target name="jar-ml" depends="-init-project,-check-run-ml-build" if="run.ml.build">
130
        <property name="locjar.locales" value="${locales}"/>
131
        <property name="nb_all" value="../../.."/>
132
        <taskdef name="locjar" classname="org.netbeans.nbbuild.LocalizedJar"
133
                 classpath="${nb_all}/nbbuild/nbantext.jar"/>
134
        <locjar jarfile="${dist.jar}" 
135
                warnMissingDir="true"
136
                basedir="../../../translatedfiles/src/visualweb/rowset/library/src"/>
137
    </target>
138
    
118
</project>
139
</project>
(-)visualweb/webui/themes/build.xml (+36 lines)
Lines 59-62 Link Here
59
        <delete failonerror="false" includeemptydirs="true" dir="${extract.dir}"/>
59
        <delete failonerror="false" includeemptydirs="true" dir="${extract.dir}"/>
60
    </target>
60
    </target>
61
61
62
    <target name="-check-run-ml-build">
63
        <condition property="run.ml.build" value="true">
64
            <and>
65
                <available file="../../../translatedfiles/src/visualweb/webui/themes/build/com" type="dir"/>
66
                <isset property="locales"/>
67
                <length string="${locales}" when="greater" length="1" />
68
            </and>
69
        </condition>
70
    </target>
71
    
72
    <!-- prepare localized jarfile -->
73
    <target name="jar-ml" depends="build-init,-check-run-ml-build" if="run.ml.build">
74
        <property name="locjar.locales" value="${locales}"/>
75
        <property name="nb_all" value="../../.."/>
76
        <taskdef name="locjar" classname="org.netbeans.nbbuild.LocalizedJar"
77
                 classpath="${nb_all}/nbbuild/nbantext.jar"/>
78
        <locjar jarfile="${cluster}/modules/ext/defaulttheme.jar" 
79
                warnMissingDir="true">
80
            <fileset dir="../../../translatedfiles/src/visualweb/webui/themes/build">
81
                <include name="com/sun/rave/web/ui/defaulttheme/**/*"/>
82
            </fileset>
83
        </locjar>
84
        <locjar jarfile="${cluster}/modules/ext/defaulttheme-gray.jar" 
85
                warnMissingDir="true">
86
            <fileset dir="../../../translatedfiles/src/visualweb/webui/themes/build">
87
                <include name="com/sun/rave/web/ui/defaulttheme-gray/**/*"/>
88
            </fileset>
89
        </locjar>
90
        <locjar jarfile="${cluster}/modules/ext/defaulttheme-green.jar" 
91
                warnMissingDir="true">
92
            <fileset dir="../../../translatedfiles/src/visualweb/webui/themes/build">
93
                <include name="com/sun/rave/web/ui/defaulttheme-green/**/*"/>
94
            </fileset>
95
        </locjar>
96
    </target>
97
    
62
</project>
98
</project>

Return to bug 124082