dev@jsftemplating.java.net

Re: JSFTemplating: problems working with jsftemplating

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Mon, 14 May 2007 12:15:19 -0700

Mike,

As Imre mentioned in #2 below, spaces are a problem (as you've previously discovered first-hand).  Updating your build.properties to contain the dataprovider.jar as Jason mentioned will solve your problem.  Compare your build.properties.example w/ your build.properties file.

Good luck!

Ken

Imre Oßwald wrote:
Ok, i just checked out a fresh copy from JSFTemplatings-CVS, set the $glassfish-home, and typed ant, and it build without any errors.
dataprovider.jar is still in the CVS!

So to get Michael up and running:
1) the line (290 source files!)
[exec]       [apt] Compiling 290 source files to C:\cvs projects\jsft\jsfte
does not match mine (301 source files!) which is
      [exec]       [apt] Compiling 301 source files to /Users/io/checkouts/jsftemplating/build

so maybe the checkout was not complete?


2) there are spaces in the project-path, and in the jdk-path, spaces are often the source of build problems, so i would suggest to at least try to move the project into a path without spaces.

I hope this helps,
Imre



On 14.05.2007, at 15:20, Jason Lee wrote:

The build file itself is quite stable, IMO.  What you're seeing is a change that was made that, perhaps, wasn't clearly enough stated (I'd have to check the mailing list archives to see for sure).  If I recall correctly, those jars were pulled out of the repo and are now the user's responsibility to supply.  If you look at build.properties.example at lines 38-39, you will see this:
 
    ## Woodstock specific jar files
    dataprovider.jar=lib/external/woodstock/dataprovider.jar
Copy that property (and any others that might be missing), correct the path, and you should be set.
 
-----
Jason Lee, SCJP
Senior Software Engineer
 


From: Michael Phoenix [mailto:michaelandrewphoenix@gmail.com]
Sent: Sunday, May 13, 2007 9:04 PM
To: dev@jsftemplating.dev.java.net
Subject: Re: JSFTemplating: problems working with jsftemplating

OK, I tried it again after checking out the project again from cvs. When I try to build it from the directory a check out into it gets the errors below, which tell me nothing. If I copy the entire checked out directory to C:\jsftemplating I get the same errors as before. Soneone with expertise in ant and the other stuff being used to build the project needs to take a look at the build process. It is REALLY UNSTABLE.


Attached Mail-Content for reference:

Here's the output I get when attempting to build from my cvs projects directory:
C:\cvs projects\jsft\jsftemplating>ant
Buildfile: build.xml

init:
     [echo] Using C:\ant/bin/ant.bat
     [echo] java.home=C:\Program Files\Java\jdk1.5.0_06\jre
     [echo] ant.home=C:\ant
     [exec] Apache Ant version 1.7.0 compiled on December 13 2006

compile-apt-files:
     [echo] C:\Program Files\Java\jdk1.5.0_06\jre 

jar-apt-files:

compile:
     [exec] Buildfile: aptbuild.xml
     [exec]
     [exec] compile:
     [exec]       [apt] Compiling 290 source files to C:\cvs projects\jsft\jsfte
mplating\build
     [exec]
     [exec] BUILD FAILED
     [exec] C:\cvs projects\jsft\jsftemplating\aptbuild.xml:31: Error running C:
\Program Files\Java\jdk1.5.0_06\bin\apt.exe compiler
     [exec]
     [exec] Total time: 0 seconds 

jar:

build:

BUILD SUCCESSFUL
Total time: 3 seconds
C:\cvs projects\jsft\jsftemplating>