Tiles2 libraries

0 views
Skip to first unread message

ron

unread,
Oct 23, 2009, 11:43:10 PM10/23/09
to savant-users
Hi,

try to add apache tiles2 to my project and got bunch of dependency
errors.. any way to bypass savant just download those jars to my
project directly? Also, any other good alternatives for layout
libraries that work with freemarker?

ron

ron

unread,
Oct 23, 2009, 11:45:14 PM10/23/09
to savant-users
more info, these are what i am adding:
<artifact group="tiles.apache.org" name="tiles-template"
version="2.2.0"/>
<artifact group="tiles.apache.org" name="tiles-freemarker"
version="2.2.0"/>


these are errors i got:
/Users/ron/.savant/plugins/org/jcatapult/savant/plugins/dbmgr/1.0.2/
ant/build.xml:21: Error(s) while resolving artifacts
Error list:
Error(s) while resolving artifacts
Unable to locate dependency [org.apache.tiles|tiles-api|tiles-api-$
{pom.version}.jar]
Unable to locate dependency [org.slf4j|slf4j-jdk14|slf4j-
jdk14-1.5.8.jar]
Unable to locate dependency [org.apache.tiles|tiles-servlet|tiles-
servlet-${pom.version}.jar]
Unable to locate dependency [org.apache.tiles|tiles-template|tiles-
template-${pom.version}.jar]
Unable to locate dependency [org.freemarker|freemarker|
freemarker-2.3.15.jar]

Brian Pontarelli

unread,
Oct 26, 2009, 11:54:18 AM10/26/09
to savant...@googlegroups.com
I use SiteMesh for everything. It works fine with FreeMarker, but
until SiteMesh 3.0 is complete the decorators have to be JSPs. If you
are looking for something to construct some areas of a site that are
re-usable, you can create FTL macros or include files and use those.
You can also create a custom JCatapult tag if need be.

-bp

Brian Pontarelli

unread,
Oct 26, 2009, 11:55:15 AM10/26/09
to savant...@googlegroups.com
Savant's support for Maven's POMs is definitely not the best. I
doesn't handle variable replacement and other similar issues. It looks
like that is the issue you are having. Probably best just to put Tiles
into the Savant repository.

-bp
Reply all
Reply to author
Forward
0 new messages