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

(-)a/nbbuild/antsrc/org/netbeans/nbbuild/MakeNBM.java (+15 lines)
Lines 290-295 Link Here
290
    public /*static*/ class Signature {
290
    public /*static*/ class Signature {
291
        public File keystore;
291
        public File keystore;
292
        public String storepass, alias;
292
        public String storepass, alias;
293
        public String tsaurl, tsacert;
293
        /** Path to the keystore (private key). */
294
        /** Path to the keystore (private key). */
294
        public void setKeystore(File f) {
295
        public void setKeystore(File f) {
295
            keystore = f;
296
            keystore = f;
Lines 305-310 Link Here
305
        public void setAlias(String s) {
306
        public void setAlias(String s) {
306
            alias = s;
307
            alias = s;
307
        }
308
        }
309
	/** Time Stamping Authority (TSA) URL */
310
	public void setTsaurl(String s) {
311
	    tsaurl = s;
312
	}
313
	/** Alias for the TSA's public key certificate */
314
	public void setTsacert(String s) {
315
	    tsacert = s;
316
	}
308
    }
317
    }
309
    
318
    
310
    private File productDir = null;
319
    private File productDir = null;
Lines 865-870 Link Here
865
                } catch (Exception x) {
874
                } catch (Exception x) {
866
                    throw new BuildException(x);
875
                    throw new BuildException(x);
867
                }
876
                }
877
                if(signature.tsaurl != null && !signature.tsaurl.isEmpty()) {
878
                    signjar.setTsaurl(signature.tsaurl);
879
                }
880
                if(signature.tsacert != null && !signature.tsacert.isEmpty()) {
881
                    signjar.setTsacert(signature.tsacert);
882
                }
868
                signjar.setStorepass (signature.storepass);
883
                signjar.setStorepass (signature.storepass);
869
                signjar.setAlias (signature.alias);
884
                signjar.setAlias (signature.alias);
870
                signjar.setLocation(getLocation());
885
                signjar.setLocation(getLocation());
(-)a/nbbuild/templates/common.xml (-1 / +11 lines)
Lines 106-111 Link Here
106
            <available file="${nbplatform.active.dir}/platform/core/asm-all-5.0.1.jar"/>
106
            <available file="${nbplatform.active.dir}/platform/core/asm-all-5.0.1.jar"/>
107
        </condition>
107
        </condition>
108
        <property name="asm.jar" location="${libs.asm.dir}/core/asm-all-5.0.1.jar"/>
108
        <property name="asm.jar" location="${libs.asm.dir}/core/asm-all-5.0.1.jar"/>
109
        <condition property="tsaurl" value="">
110
            <not>
111
                <isset property="tsaurl" />
112
            </not>
113
        </condition>
114
        <condition property="tsacert" value="">
115
            <not>
116
                <isset property="tsacert" />
117
            </not>
118
        </condition>
109
    </target>
119
    </target>
110
120
111
    <target name="-release.dir">
121
    <target name="-release.dir">
Lines 472-478 Link Here
472
                 locales="${nbm.locales}"
482
                 locales="${nbm.locales}"
473
                 >
483
                 >
474
            <license file="${license.file.override}"/>
484
            <license file="${license.file.override}"/>
475
            <signature keystore="${keystore}" storepass="${storepass}" alias="${nbm_alias}"/>
485
            <signature keystore="${keystore}" storepass="${storepass}" alias="${nbm_alias}" tsaurl="${tsaurl}" tsacert="${tsacert}"/>
476
            <updaterjar>
486
            <updaterjar>
477
                <pathfileset>
487
                <pathfileset>
478
                    <path refid="cluster.path.id"/>
488
                    <path refid="cluster.path.id"/>

Return to bug 243213