Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moex
Transmorpher
Commits
a1d5ba00
Commit
a1d5ba00
authored
Oct 16, 2002
by
Fabien Triolet
Browse files
Instruction to create the servlet
parent
d394024e
Changes
1
Hide whitespace changes
Inline
Side-by-side
transmorpher/samples/confpgm/README
→
transmorpher/samples/confpgm/README
.TXT
View file @
a1d5ba00
# README for confpgm sample:
# demonstration of servlet generation and installation from Transmorpher
# $Id: README.TXT,v 1.1 2002-10-16 14:33:46 triolet Exp $
1 - generate java code of the servlet
Puts all jar files which are in the lib directory of Transmorpher in your CLASSPATH
cd samples/ConfPgm/WAR/
java -cp ${CLASSPATH} fr.fluxmedia.transmorpher.Application.transmorph -compile -reloc WEB-INF/output ConfPgm/process.xml
cd samples/confpgm/WAR/
java -cp ${CLASSPATH} fr.fluxmedia.transmorpher.Application.transmorph -compile -reloc WEB-INF/result confpgm/process.xml
G
enerated file is in
C
onf
P
gm/WAR/WEB-INF/
outpu
t
The g
enerated file is in
c
onf
p
gm/WAR/WEB-INF/
resul
t
This file has to be modified (if current directory isn't WAR/)
search for the following line
tmParameters.setParameter("file","ConfPgm/WAR/WEB-INF/output/stripDetails.xsl" );
and change it for this one
tmParameters.setParameter("file","WEB-INF/output/stripDetails.xsl" );
2 - compile
(servlet.jar has to be in your CLASSPATH)
javac -d WEB-INF/classes/. -classpath ${CLASSPATH} WEB-INF/
outpu
t/ProcessProgram.java
javac -d WEB-INF/classes/. -classpath ${CLASSPATH} WEB-INF/
resul
t/ProcessProgram.java
3 - generate war file
cd WAR/
jar -cvfM ../ProcessProgram.war .
4 - install
ation
in TOMCAT
4 - install in TOMCAT
$CATALINA_HOME refers to the directory into which you have installed Tomcat 4.
Copy the web application archive file into directory $CATALINA_HOME/webapps/
...
...
@@ -35,5 +31,6 @@ This file has to be modified (if current directory isn't WAR/)
6 - start servlet
In your browser
, set the following url
In your browser, set the following url
http://localhost:8080/ProcessProgram/ProcessProgram
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment