Please keep me informed of any problems.
Would you mind adding something to the 2.4.x/Jetty thread in the web forum, mentioning that you have built it.
There is another Windows guy there, struggling a little.
I'll get your patches in soon,
Jules
Jerome Lacoste (Frisurf) wrote:
On Wed, 2002-11-20 at 12:47, Jules Gosnell wrote:get fresh JBoss 2.4.10 and Jetty 4.2.1 binary releases from SourceForge
unpack both, setting JBOSS_HOME and JETTY_HOME to their top-levels
find the JBoss cvs page on SourceForge, read it, and do a clean 'cvs co -r Branch_2_4 jboss-2.4'
cd into contrib/jetty and run ./build.sh
If you are on Windows you will have to read build.sh and improvise...
Let me know how you get on.
- made it compile and ran (didn't deploy any application yet) - had to modify build.bat to match build.sh (diff attached) - I also modified bundle.name property in build.xml to match current settings - cvs makes a funny error message: cvs server: [05:14:52] waiting for starksm's lock in /cvsroot/jboss/jboss/src/main/org/jboss/tm Attached a patch and my worklog. Cheers, jerome ------------------------------------------------------------------------ ? jboss-2.4/contrib/jetty/build ? jboss-2.4/contrib/jetty/bundle ? jboss-2.4/contrib/jetty/jetty-service.jar Index: jboss-2.4/contrib/jetty/src/build/build.bat =================================================================== RCS file: /cvsroot/jboss/contrib/jetty/src/build/Attic/build.bat,v retrieving revision 1.2.2.3 diff -u -r1.2.2.3 build.bat --- jboss-2.4/contrib/jetty/src/build/build.bat 5 Apr 2002 03:10:27 -0000 1.2.2.3 +++ jboss-2.4/contrib/jetty/src/build/build.bat 20 Nov 2002 13:18:42 -0000 @@ -8,26 +8,30 @@ ) if not exist "%JETTY_HOME%\lib\org.mortbay.jetty.jar" ( echo %JETTY_HOME%/lib/org.mortbay.jetty.jar does not exist - echo set JETTY_HOME to your Jetty3 directory + echo set JETTY_HOME to your Jetty4 directory goto done ) -if not exist "%JETTY_EXTRA%/jmx/lib/org.mortbay.jmx.jar" ( - echo %JETTY_EXTRA%/jmx/lib/org.mortbay.jmx.jar does not exist - echo set JETTY_EXTRA to your Jetty3Extra directory +if not exist "%JETTY_HOME%/lib/org.mortbay.jmx.jar" ( + echo %JETTY_HOME%/lib/org.mortbay.jmx.jar does not exist + echo set JETTY_HOME to your Jetty4 directory goto done ) -SET CLASSPATH=..\..\build\classes + +set CLASSPATH= +SET CLASSPATH=%CLASSPATH%;%ANT_HOME%\lib\ant.jar +SET CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar +SET CLASSPATH=%CLASSPATH%;..\..\build\classes SET CLASSPATH=%CLASSPATH%;..\..\..\tomcat\lib\ant.jar SET CLASSPATH=%CLASSPATH%;..\..\..\tomcat\lib\javac.jar -SET CLASSPATH=%CLASSPATH%;%JBOSS_HOME%\lib\jaxp.jar SET CLASSPATH=%CLASSPATH%;%JBOSS_HOME%\lib\crimson.jar +SET CLASSPATH=%CLASSPATH%;%JBOSS_HOME%\lib\jaxp.jar SET CLASSPATH=%CLASSPATH%;%JBOSS_HOME%\lib\jboss-jaas.jar SET CLASSPATH=%CLASSPATH%;%JBOSS_HOME%\lib\ext\jbosssx.jar -SET CLASSPATH=%CLASSPATH%;%JETTY_EXTRA%\jmx\lib\org.mortbay.jmx.jar +SET CLASSPATH=%CLASSPATH%;%JETTY_HOME%\lib\org.mortbay.jmx.jar -SET OPTS= -Djetty.dist="%JETTY_HOME%" -Djboss.dist="%JBOSS_HOME%" -Djetty.jmx="%JETTY_EXTRA%" +SET OPTS= -Djetty.dist="%JETTY_HOME%" -Djboss.dist="%JBOSS_HOME%" java %OPTS% org.apache.tools.ant.Main %* :done Index: jboss-2.4/contrib/jetty/src/build/build.xml =================================================================== RCS file: /cvsroot/jboss/contrib/jetty/src/build/Attic/build.xml,v retrieving revision 1.6.2.14 diff -u -r1.6.2.14 build.xml --- jboss-2.4/contrib/jetty/src/build/build.xml 1 Nov 2002 00:36:08 -0000 1.6.2.14 +++ jboss-2.4/contrib/jetty/src/build/build.xml 20 Nov 2002 13:18:42 -0000 @@ -30,7 +30,7 @@ <property name="etc.dir" value="${basedir}/etc"/> <property name="build.dir" value="${basedir}/build"/> <property name="build.classes.dir" value="${build.dir}/classes"/> - <property name="bundle.name" value="JBoss-2.4.10beta2_Jetty-4.1.3" /> + <property name="bundle.name" value="JBoss-2.4.10_Jetty-4.2.1" /> <property name="bundle.dir" value="bundle" /> <property name="bundle.root" value="${bundle.dir}/${bundle.name}" /> <property name="jar.file" value="${name}.jar"/
------------------------------------------------------------------------
Worklog: building JBoss 2.4.10 and Jetty 4.2.1 from source
Author Jerome Lacoste
Date 20/11/2002
Requirements: - ant >= 1.4.1 ?? (used Ant 1.5.1)
- JDK >= 1.3 ?? (used JDK 1.4.1)
1- downloaded Jboss 2.4.10 and jetty
http://sourceforge.net/project/showfiles.php?group_id=22866
http://prdownloads.sourceforge.net/jboss/JBoss-2.4.10.zip?download
http://sourceforge.net/project/showfiles.php?group_id=7322
http://prdownloads.sourceforge.net/jetty/Jetty-4.2.1.zip?download
http://prdownloads.sourceforge.net/jetty/JettyExtra-4.2.1.zip?download
2- unzipped everything in D:\Dev\temp\
3- donwload source code from CVS (using cygwin)
105 cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss login
112 cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss -z3 co -r Branch_2_4 jboss-2.4
4- apply patches (cf diff2.txt)
5a- setenv & build (windows)
set ANT_HOME=...
set JAVA_HOME=...
cd D:\tmp\jboss2.4.10_jetty\jboss-2.4\contrib\jetty\src\build
set JBOSS_HOME=D:\dev\tmp\JBoss-2.4.10
set JETTY_HOME=D:\dev\tmp\Jetty-4.2.1
.\build.bat clean bundle
cd ..\..\bundle\JBoss-2.4.10_Jetty-4.2.1\jboss\bin
.\run_with_jetty.bat
voila!
(**work in progress**)
6- deploy your application
5b- setenv & build (windows cygwin) 129 export JBOSS_HOME=D:\\dev\\tmp\\JBoss-2.4.10
126 export JETTY_HOME=D:\\dev\\tmp\\Jetty-4.2.1
130* export JETTY_EXTRA=D:\\dev\\tmp\\JettyExtra-4.2.1
//export JETTY_EXTRA=`cygpath $JETTY_EXTRA`
export ANT_HOME=`cygpath $ANT_HOME`
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user