From graffito-dev-return-966-apmail-incubator-graffito-dev-archive=www.apache.org@incubator.apache.org Mon Feb 06 09:38:20 2006 Return-Path: Delivered-To: apmail-incubator-graffito-dev-archive@www.apache.org Received: (qmail 52224 invoked from network); 6 Feb 2006 09:38:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Feb 2006 09:38:18 -0000 Received: (qmail 18188 invoked by uid 500); 6 Feb 2006 09:38:18 -0000 Mailing-List: contact graffito-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: graffito-dev@incubator.apache.org Delivered-To: mailing list graffito-dev@incubator.apache.org Received: (qmail 18177 invoked by uid 99); 6 Feb 2006 09:38:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 01:38:17 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of christophe.lombart@gmail.com designates 66.249.92.206 as permitted sender) Received: from [66.249.92.206] (HELO uproxy.gmail.com) (66.249.92.206) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 01:38:16 -0800 Received: by uproxy.gmail.com with SMTP id s2so82937uge for ; Mon, 06 Feb 2006 01:37:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mPZ4D4LNiO2fiSUbvtDO5wJP6EXC9+vpyVZZOUHi8iaxkpXbgISieAcZdcPgmITN1ez/kZGCF81iHddcDvIRpvltnsJ3A1vlLl7u7XSrXHlVDQ9wUmfbckYbRo9UX679nJGYDvL9RiMauhLqN68Xz1wRRUi2SjB3qkvPftDtnqI= Received: by 10.48.235.15 with SMTP id i15mr1149871nfh; Mon, 06 Feb 2006 01:37:54 -0800 (PST) Received: by 10.48.255.8 with HTTP; Mon, 6 Feb 2006 01:37:54 -0800 (PST) Message-ID: <3b728ee90602060137v49e64c54hbc6f649c00bf9176@mail.gmail.com> Date: Mon, 6 Feb 2006 10:37:54 +0100 From: Christophe Lombart To: graffito-dev@incubator.apache.org Subject: Re: Graffito build In-Reply-To: <5f6a87cc0602060019m6385316ajbccbe2dc917446a5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5f6a87cc0602060019m6385316ajbccbe2dc917446a5@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ok I will review this issue today. Christophe On 2/6/06, Raj Saini wrote: > Since last few days I have been trying to build Graffito with no sucess. = I > have tried it building with PostgreSQL as well as HSQLDB. I get similar > error for PostgreSQL as well as HSQLDB. I am not sure what could be the > problem. I have deleted my maven plugin cache as well as maven repository > many time just in case the problem was due to some corrupt jar file. > > Just wanted to know if someone has built graffito with HSQLDB or PostgreS= QL. > > I am copying the error as well as contnets of build.properties file. I am > not sure if I am missing any thing in my build.properties file. > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3DMaven error=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > db.reinit.test: > db.test.properties: > [echo] org.apache.portals.graffito.test.database.default.name : hsql > [echo] org.apache.portals.graffito.test.database.url : > jdbc:hsqldb:hsql://12 > 7.0.0.1:9001 > [echo] org.apache.portals.graffito.test.database.driver : > org.hsqldb.jdbcDri > ver > [echo] org.apache.portals.graffito.test.database.user : sa > [echo] org.apache.portals.graffito.test.database.password : > [echo] org.apache.portals.graffito.test.database.path : C:/Documents = and > Set > tings/RajbirS/.maven/repository/hsqldb/jars/hsqldb-1.8.2.jar > [echo] org.apache.portals.graffito.test.jetspeed : true > > db.scripts.gen: > torque:init: > > [echo] Generating SQL schema creation scripts for hsql > [torque-sql] Using classpath > [torque-sql] Generating to file > C:\Projects\graffito\components\target\src\s > ql\hsql\report.components.sql.generation > > BUILD FAILED > File...... C:\Projects\graffito\maven.xml > Element... maven:reactor > Line...... 88 > Column.... 40 > Unable to obtain goal [test:test] -- > C:\Projects\graffito\components\maven.xml:1 > 70:28: Exception thrown by 'generator.parse'. For more > information > consult the velocity log, or invoke ant with the -debug flag. > Total time: 48 seconds > Finished at: Mon Feb 06 13:40:07 GMT+05:30 2006 > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > velocity.log=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > 2006-02-06 13:40:07,243 - Velocimacro : initialization starting. > 2006-02-06 13:40:07,243 - Velocimacro : adding VMs from VM library templa= te > : VM_global_library.vm > 2006-02-06 13:40:07,243 - ResourceManager : unable to find resource > 'VM_global_library.vm' in any resource loader. > 2006-02-06 13:40:07,243 - Velocimacro : error using VM library template > VM_global_library.vm : > org.apache.velocity.exception.ResourceNotFoundException: Unable to find > resource 'VM_global_library.vm' > 2006-02-06 13:40:07,243 - Velocimacro : VM library template macro > registration complete. > 2006-02-06 13:40:07,243 - Velocimacro : allowInline =3D true : VMs can be > defined inline in templates > 2006-02-06 13:40:07,243 - Velocimacro : allowInlineToOverride =3D false := VMs > defined inline may NOT replace previous VM definitions > 2006-02-06 13:40:07,243 - Velocimacro : allowInlineLocal =3D false : VMs > defined inline will be global in scope if allowed. > 2006-02-06 13:40:07,243 - Velocimacro : messages on : VM system will out= put > logging messages > 2006-02-06 13:40:07,243 - Velocimacro : autoload off : VM system will no= t > automatically reload global library macros > 2006-02-06 13:40:07,243 - Velocimacro : initialization complete. > 2006-02-06 13:40:07,243 - Velocity successfully started. > 2006-02-06 13:40:07,624 - ResourceManager : found sql/base/Control.vm wit= h > loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoade= r > 2006-02-06 13:40:07,640 - ResourceManager : unable to find resource > 'sql/base/hsql/table.vm' in any resource loader. > 2006-02-06 13:40:07,640 - Method parse threw exception for reference > $generator in template sql/base/Control.vm at [35,7] > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dbuild.= propertiesfile=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > org.apache.portals.graffito.test.database.default.name=3Dhsql > org.apache.portals.graffito.test.jetspeed=3Dfalse > org.apache.portals.graffito.test.database.url =3D > jdbc:hsqldb:hsql://127.0.0.1:9001 > org.apache.portals.graffito.test.database.driver =3D org.hsqldb.jdbcDrive= r > org.apache.portals.graffito.test.database.user =3D sa > org.apache.portals.graffito.test.database.password =3D > org.apache.portals.graffito.test.jdbc.drivers.path=3DC:/Documents and > Settings/RajbirS/.maven/repository/hsqldb/jars/hsqldb-1.8.2.jar > > # configure PRODUCTION DB > > org.apache.portals.graffito.production.database.default.name=3Dhsql > org.apache.portals.graffito.production.jetspeed=3Dtrue > org.apache.portals.graffito.production.database.url =3D > jdbc:hsqldb:hsql://127.0.0.1:9001 > org.apache.portals.graffito.production.database.driver =3D > org.hsqldb.jdbcDriver > org.apache.portals.graffito.production.database.user =3D sa > org.apache.portals.graffito.production.database.password =3D > org.apache.portals.graffito.production.jdbc.drivers.path=3DC:/Documents a= nd > Settings/RajbirS/.maven/repository/jars/hsqldb/hsqldb-1.8.2.jar > > > #Configue the Graffito Master OJB Store - USED FOR THE UNIT TESTS > org.apache.portals.graffito.database.ojb.platform=3DHsqldb > org.apache.portals.graffito.database.ojb.datasource=3Djava:comp/env/jdbc/= graffitotest > > > # required Jetspeed 2 portal configuration property for building from the > source > org.apache.jetspeed.project.home =3D C:/Projects/Jetspeed-2 > org.apache.jetspeed.portal.home =3D ${org.apache.jetspeed.project.home} > > # required application server properties > org.apache.jetspeed.server.home =3D C:/Program > Files/Apache/Tomcat 5.5 > org.apache.jetspeed.server.shared =3D ${ > org.apache.jetspeed.server.home}/shared/lib/ > org.apache.jetspeed.deploy.war.dir =3D ${ > org.apache.jetspeed.server.home}/webapps/ > org.apache.jetspeed.services.autodeployment.user =3D admin > org.apache.jetspeed.services.autodeployment.password =3D admin > org.apache.jetspeed.catalina.version.major =3D 5.5 > > > # configure Postgresql TEST DB > > org.apache.jetspeed.test.database.default.name=3Dpostgres > org.apache.portals.graffito.test.jetspeed =3D true > org.apache.jetspeed.test.database.url =3D jdbc:postgres://localhost/porta= l > org.apache.jetspeed.test.database.driver =3D org.postgresql.Driver > org.apache.jetspeed.test.database.user =3D portal > org.apache.jetspeed.test.database.password =3D portal > org.apache.jetspeed.test.jdbc.drivers.path=3D C:/Program > Files/PostgreSQL/8.1/jdbc/postgresql-8.1-404.jdbc3.jar > > # configure Postgresql Production DB > > org.apache.jetspeed.production.database.default.name=3Dpostgres > org.apache.jetspeed.production.database.url =3D > jdbc:postgres://localhost/portal > org.apache.jetspeed.production.database.driver =3D org.postgresql.Driver > org.apache.jetspeed.production.database.user =3D portal > org.apache.jetspeed.production.database.password =3D portal > org.apache.jetspeed.production.jdbc.drivers.path=3D C:/Program > Files/PostgreSQL/8.1/jdbc/postgresql-8.1-404.jdbc3.jar > > > #configure Graffito test DB > #org.apache.portals.graffito.test.jetspeed =3D true > #org.apache.portals.graffito.test.database.default.name =3D postgres > #org.apache.portals.graffito.test.database.url =3D > jdbc:postgres://localhost/portal > #org.apache.portals.graffito.test.database.driver =3D org.postgresql.Driv= er > #org.apache.portals.graffito.test.database.user =3D portal > #org.apache.portals.graffito.test.database.password =3D portal > #org.apache.portals.graffito.test.jdbc.drivers.path=3D C:/Program > Files/PostgreSQL/8.1/jdbc/postgresql-8.1-404.jdbc3.jar > > > > #org.apache.portals.graffito.production.jetspeed =3D true > #org.apache.portals.graffito.production.database.default.name =3D postgre= s > #org.apache.portals.graffito.production.database.url =3D > jdbc:postgres://localhost/portal > #org.apache.portals.graffito.production.database.driver =3D > org.postgresql.Driver > #org.apache.portals.graffito.production.database.user =3D portal > #org.apache.portals.graffito.production.database.password =3D portal > #org.apache.portals.graffito.production.jdbc.drivers.path =3D C:/Program > Files/PostgreSQL/8.1/jdbc/postgresql-8.1-404.jdbc3.jar > > Regards, > > Raj > > -- Best regards, Christophe