Skip to content
This repository was archived by the owner on Jan 30, 2019. It is now read-only.

Commit 7daa976

Browse files
author
jglick
committed
Compiling against a stub version of JDIC.
Simplifies build process, and anyway binary download was broken with java.net conversion. svn path=/trunk/; revision=84
1 parent 94796b4 commit 7daa976

File tree

5 files changed

+4
-27
lines changed

5 files changed

+4
-27
lines changed

javahelp_nbproject/build.xml

+1-24
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,11 @@ have any questions.
3535
<propertyname="jsp-jar"value="${basedir}/lib/jsp-api.jar"/>
3636
<availableproperty="jsp-jar-present"file="${jsp-jar}"/>
3737

38-
<propertyname="jdic-jar"value="${basedir}/lib/jdic.jar"/>
39-
<availableproperty="jdic-jar-present"file="${jdic-jar}"/>
40-
4138
<propertyname="tomcat-zip"value="${java.io.tmpdir}/apache-tomcat-5.5.20.zip"/>
4239
<availableproperty="tomcat-zip-present"file="${tomcat-zip}"/>
4340

44-
<propertyname="jdic-zip"value="${java.io.tmpdir}/jdic-0.8.4.1-bin-windows.zip"/>
45-
<availableproperty="jdic-zip-present"file="${jdic-zip}"/>
46-
4741
<targetname="-pre-init"
48-
depends="unpack-servlet-jar,unpack-jsp-jar,unpack-jdic-jar"/>
42+
depends="unpack-servlet-jar,unpack-jsp-jar"/>
4943

5044
<targetname="release"description="Build the full JavaHelp JARs"
5145
depends="build-jsearch-jars,copy-jsearch-jars,create-javahelp-jars"/>
@@ -105,23 +99,6 @@ have any questions.
10599
dest="${tomcat-zip}"/>
106100
</target>
107101

108-
<targetname="unpack-jdic-jar"description="Download JDIC Jar"unless="jdic-jar-present"
109-
depends="download-jdic-zip">
110-
<unzipsrc="${jdic-zip}"dest="${java.io.tmpdir}"/>
111-
<copyfailonerror="true"file="${java.io.tmpdir}/jdic-0.8.4.1-bin-windows/jdic.jar"
112-
tofile="${jdic-jar}"/>
113-
</target>
114-
115-
<targetname="download-jdic-zip"unless="jdic-zip-present">
116-
<echo>
117-
Downloading JDIC. If you get an error like 'Server redirected too many times' download it manually from
118-
https://jdic.dev.java.net/servlets/ProjectDocumentView?documentID=5715&amp;showInfo=true
119-
Then copy the zip file to ${jdic-zip} and re-build
120-
</echo>
121-
<getsrc="https://jdic.dev.java.net/files/documents/880/5715/jdic-0.8.4.1-bin-windows.zip"
122-
dest="${jdic-zip}"/>
123-
</target>
124-
125102
<targetname="build-jsearch-jars">
126103
<antinheritall="false"inheritrefs="false"
127104
antfile="${basedir}/../JSearchIndexer_nbproject/build.xml"target="jar"/>

javahelp_nbproject/lib/jdic-stub.jar

583 Bytes
Binary file not shown.

javahelp_nbproject/nbproject/project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dist.jar=${dist.dir}/jh-client.jar
4343
dist.javadoc.dir=${dist.dir}/javadoc
4444
endorsed.classpath=
4545
excludes=
46-
file.reference.jdic.jar=lib/jdic.jar
46+
file.reference.jdic.jar=lib/jdic-stub.jar
4747
file.reference.jsp-api.jar=lib/jsp-api.jar
4848
file.reference.servlet-api.jar=lib/servlet-api.jar
4949
file.reference.src-impl=../jhMaster/JavaHelp/src/impl

jhMaster/JavaHelp/build/GNUmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ BINDIR=../javahelp/bin
4141
PKGDIR=javax/help
4242
PKGDIRIMPL=com/sun/java/help
4343
EXTLIBDIR=../../../javahelp_nbproject/lib
44-
EXTLIBS=$(EXTLIBDIR)/jdic.jar:$(EXTLIBDIR)/jsp-api.jar:$(EXTLIBDIR)/servlet-api.jar
44+
EXTLIBS=$(EXTLIBDIR)/jdic-stub.jar:$(EXTLIBDIR)/jsp-api.jar:$(EXTLIBDIR)/servlet-api.jar
4545

4646
ifeq ($(JSEARCHHOME),)
4747
JSEARCHHOME=../../JSearch

jhMaster/JavaHelp/doc/jhug/release/changes.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h3><b>Native Browser Support</b></h3>
3030
alternate content viewer uses the Java Desktop Integrated Component
3131
(JDIC) browser component <tt>BasicNativeContentViewerUI</tt>
3232
to render content by using the native browser. The use of <tt>BasicNativeContentViewerUI</tt>
33-
requires that the JDIC libraries be installed. See <ahref="http://jdic.dev.java.net">http://jdic.dev.java.net</a>
33+
requires that the JDIC libraries be installed. See <ahref="http://java.net/projects/jdic/">http://java.net/projects/jdic/</a>
3434
for details on how to integrate the JDIC components into your
3535
application.</p>
3636
<p>In your applications, you use this browser by adding the following

0 commit comments

Comments
 (0)
close