File tree Expand file tree Collapse file tree 5 files changed +699
-572
lines changed
src/share/doc/javatest/regtest Expand file tree Collapse file tree 5 files changed +699
-572
lines changed Original file line number Diff line number Diff line change 131
131
<mkdir dir =" ${ dist.jtreg.dir } /doc/jtreg" />
132
132
<copy todir =" ${ dist.jtreg.dir } " file =" ${ src.doc.dir } /javatest/regtest/README" />
133
133
<copy todir =" ${ dist.jtreg.dir } /doc/jtreg" >
134
- <fileset file =" ${ src.doc.dir } /javatest/regtest/tag-spec.txt " />
134
+ <fileset file =" ${ src.doc.dir } /javatest/regtest/tag-spec.html " />
135
135
<fileset file =" ${ build.dir } /jtreg/usage.txt" />
136
136
</copy >
137
137
<xslt
212
212
<exclude name =" images/topic.gif" />
213
213
</fileset >
214
214
</copy >
215
- <!-- generate the spec page from the master spec file -->
216
- <texttohtml
217
- textfile =" ${ src.doc.dir } /javatest/regtest/tag-spec.txt"
218
- htmlfile =" ${ build.classes.dir } /com/sun/javatest/regtest/help/default/tag-spec.html"
219
- title =" The JDK Test Framework: Tag Language Specification"
220
- style =" body: { background-color: white; font-size: 12pt; font-family: SansSerif; margin-left: 3px }" >
221
- </texttohtml >
215
+ <!-- copy the main tag spec -->
216
+ <copy file =" ${ src.doc.dir } /javatest/regtest/tag-spec.html"
217
+ tofile =" ${ build.classes.dir } /com/sun/javatest/regtest/help/default/tag-spec.html" />
222
218
<!-- generate the usage page from the command line help -->
223
219
<texttohtml
224
220
textfile =" ${ build.dir } /jtreg/usage.txt"
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ JTREG_COPYRIGHT = $(JTREG_IMAGEDIR)/COPYRIGHT
72
72
JTREG_LICENSE = $(JTREG_IMAGEDIR)/LICENSE
73
73
JTREG_README = $(JTREG_IMAGEDIR)/README
74
74
JTREG_FAQ = $(JTREG_IMAGEDIR)/doc/jtreg/faq.html
75
- JTREG_TAGSPEC = $(JTREG_IMAGEDIR)/doc/jtreg/tag-spec.txt
75
+ JTREG_TAGSPEC = $(JTREG_IMAGEDIR)/doc/jtreg/tag-spec.html
76
76
JTREG_USAGE = $(JTREG_IMAGEDIR)/doc/jtreg/usage.txt
77
77
#JTREG_DOCUMENT_CSS = $(JTREG_IMAGEDIR)/doc/document.css
78
78
@@ -135,19 +135,9 @@ TARGETS.JAR.jtreg += \
135
135
REGTEST_CLASSDIR = $(CLASSDIR)/com/sun/javatest/regtest
136
136
REGTEST_SRCDIR = $(SRCJTDOCDIR)/regtest
137
137
138
- $(REGTEST_CLASSDIR)/help/default/tag-spec.html: $(REGTEST_SRCDIR)/tag-spec.txt
138
+ $(REGTEST_CLASSDIR)/help/default/tag-spec.html: $(REGTEST_SRCDIR)/tag-spec.html
139
139
$(MKDIR) -p $(@D)
140
- $(RM) $@
141
- ( echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">' ; \
142
- echo '<html><head>'; \
143
- echo '<title>The JDK Test Framework: Tag Language Specification</title>'; \
144
- echo '<style type="text/css">body: { background-color: white; font-size: 12pt; font-family: SansSerif; margin-left: 3px }</style>'; \
145
- echo '</head><body>'; \
146
- echo '<pre>'; \
147
- sed -e 's/&/\&/g' -e 's/</\</g' -e 's/>/\>/g' $(REGTEST_SRCDIR)/tag-spec.txt; \
148
- echo '</pre>';\
149
- echo '</body></html>'; \
150
- ) >$@
140
+ $(SED) -e 's/font-size:smaller//' $^ > $@
151
141
152
142
$(REGTEST_CLASSDIR)/help/default/usage.html: $(BUILDDIR)/jtreg-usage.txt
153
143
$(MKDIR) -p $(@D)
Original file line number Diff line number Diff line change 117
117
<source-level >1.5</source-level >
118
118
</compilation-unit >
119
119
</java-data >
120
+ <spellchecker-wordlist xmlns =" http://www.netbeans.org/ns/spellchecker-wordlist/1" >
121
+ <word >applet</word >
122
+ <word >appletviewer</word >
123
+ <word >arg</word >
124
+ <word >checkBugId</word >
125
+ <word >classname</word >
126
+ <word >classpath</word >
127
+ <word >defaultExecMode</word >
128
+ <word >HTML</word >
129
+ <word >javac</word >
130
+ <word >javatest</word >
131
+ <word >jtreg</word >
132
+ <word >junit</word >
133
+ <word >JUnitCore</word >
134
+ <word >org</word >
135
+ <word >othervm</word >
136
+ <word >sourcepath</word >
137
+ <word >yesno</word >
138
+ </spellchecker-wordlist >
120
139
</configuration >
121
140
</project >
You can’t perform that action at this time.
0 commit comments