Serge Huber wrote:
Hi Scott,
It's looking good, but as you were expecting I had a few problems with it :
- First it seem to require some version of Ant to do the installation, or maybe there is a conflict when somebody already has an existing ANT_HOME variable defined. Basically I updated my Ant version from 1.6 to 1.6.2 and it seemed to go further.
I doubt the ANT_HOME is the issue, as I didn't see any issues when running the install.
- I had problems with getting my MySQL driver using by the Ant script, not entirely sure what's going on there. Here is the Ant script log :
Buildfile: c:\j2\build.xml
install:
build.db:
db.execute: [echo] Execing SQL: C:\j2/sql/mysql/phase3ojb-schema.sql [echo] C:\temp\mysql-connector-java-3.0.10-stable-bin.jar
BUILD FAILED
C:\j2\build.xml:9: The following error occurred while executing this line:
C:\j2\build.xml:16: The following error occurred while executing this line:
C:\j2\build.xml:38: java.sql.SQLException: No suitable Driver for jdbc\:mysql\://localhost/jetspeed?useUnicode=true&characterEncoding=UTF-8
I think the cause of the issue here is either the escaping of the jdbc url or possibly the driver not being added to the classpath. I am leaning towards the first.
Total time: 0 seconds
- Although I had a failure in the Ant execution, I still got a message telling me the installation had completed successfully. Can you retrieve the execution result of the Ant script ?
Hmmm. When Ant fails, I actually get prompt from the installer saying an error has occured and do I want to continue.
Don't let this drag you down, I think this is really great, and it will make J2 install a lot easier to customize. Also while I'm on the subject, what would be great is to have "predefined" settings for databases, so that the user would first select the DB type, and then it would present the screen with all the parameters for the datasource, already filled in with the default values for the database. Let me know how I can help !
cheers, Serge...
Scott T. Weaver wrote:
Well, I finally got the binary installer for J2 M1 finished, here is a temporary link: http://www.binary-designs.net/downloads.html. The download takes a little time to start but fairly quick once it does.
The only requirements are that you have a compatible version of the JDK 1.4.2, installed, see: http://wiki.apache.org/portals/Jetspeed2/PrefsClassloaderIssuesAndSdk14 for mor info.
It is a little rough and needs some cleaning and tweaking but it's a start ;)
Have fun!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- "Great minds discuss ideas. Average minds discuss events. Small minds discuss people." - Admiral Hyman Rickover
******************************************* * Scott T. Weaver * * <[EMAIL PROTECTED]> * * <http://www.einnovation.com> * * -------------------------------------- * * Apache Jetspeed Enterprise Portal * * Apache Pluto Portlet Container * * * * OpenEdit, Website Content Management * * <http://www.openedit.org> * *******************************************
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
