Hi All,
I checked out the latest code and using ant 1.7 I was able to compile
and build the JSFTemplating code as well as the demo app. I installed
the demo application in Sun Java System Web Server 7.0 and it ran
properly..... yippee!!
Thanks for all the help...
Also one point to note is that the *demo app build did fail* because it
expects the WEB-INF/lib dir to be available before creating a jar in
there. Hence I changed the build.xml. Can this be considered a patch.
############## START CVS DIFF ###################
Index: jsftemplating/demo/build.xml
===================================================================
RCS file: /cvs/jsftemplating/demo/build.xml,v
retrieving revision 1.7
diff -u -r1.7 build.xml
--- jsftemplating/demo/build.xml 16 Feb 2007 07:30:19 -0000 1.7
+++ jsftemplating/demo/build.xml 6 Jun 2007 12:55:58 -0000
@@ -64,6 +64,7 @@
</exec>
</target>
+ <mkdir dir="WEB-INF/lib"/>
<target name="jar" depends="compile">
<jar jarfile="${app.jar}" update="true">
<fileset dir="${build}" includes="**/*.class, **/*.map" />
############## END CVS DIFF ###################
Rgds
Irfan
Ken Paulsen wrote:
>
> No problem... I'll be up for a couple hours in case you still have
> build problems. On windows (like Fred already hinted at), keep your
> path to the JSFT source short, i.e.: c:\jsft. I recommend Java 6 w/
> Ant 1.6.5 (for now, will be moving to ant 1.7 soon). Or you can use
> ant 1.7 now, but you'll have to use Java 5 then (or remove the
> ant-apt.jar file from the JSFT source tree). Make sure your
> build.properties points to GlassFish. Make sure your paths to ant,
> jsft, and GlassFish don't have spaces in the path... just to be safe
> (i.e. don't have C:\program files\...). You should not need to have
> ANT_HOME set and it can even cause problems if it is set, but ant
> should be in your path.
>
> That sums up the tips that I have for people on windows (besides
> download Ubuntu ;) ). Good luck! :)
>
> Ken
>
> Irfan Ahmed wrote:
>> Sorry, I was out by the time this mail came through.
>>
>> Warm Rgds
>> Irfan
>>
>> Ken Paulsen wrote:
>>>
>>> Hi Irfan,
>>>
>>> The out.txt file didn't come through. If you aren't too tired (I
>>> know it's around midnight there), you're welcome to join the
>>> JSFTemplating developer meeting in 10 minutes.
>>>
>>> Ken
>>>
>>> Irfan Ahmed wrote:
>>>> Ken Paulsen wrote:
>>>>> The key is that it built correctly. The LayoutViewHandler.class
>>>>> needs to be there.
>>>> This class exists
>>>>> The faces-config.xml file needs to be in the jar.
>>>> This is also present
>>>>> And the *.map files need to be in the jar.
>>>> I could not find any *.map files.
>>>>
>>>> Output of jar tvf jsftemplating.jar is attached.
>>>>
>>>> Its pretty late here.. I will give it a shot again tomorrow.
>>>>
>>>> Rgds
>>>> Irfan
>>>> --
>>>> Irfan Ahmed
>>>> Sun Microsystems Inc., Bangalore, India.
>>>> ------------------------------------------------------------------------
>>>>
>>>> ÿþ
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>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