You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Irv Salisbury <ir...@gmail.com> on 2006/09/17 01:54:32 UTC

Installing 4.1

We are trying to explore Tapestry 4.1.  We are also not that familiar with
maven.  I downloaded the "official jar" release, but I had trouble figuring
out what to do with the jar files.

Can someone give me help on the preferred way to download and install 4.1 to
get started.  It is our first Tapestry app, so keep that in mind.  We did
download 4.02 and were able to get a small app working in that.

Should I use subversion, etc?

Thanks,

Irv

Re: Installing 4.1

Posted by an...@di.uoa.gr.
Yep, if your project uses maven2, that page explains 
how to add a dep to Tapestry4.1.1-SNAPSHOT, which BTW
is a build of the svn trunk.
That way, you won't have to download jars manually or
build from svn.

>From Martin Strand <ma...@entcap.se>:

> Are you absolutely sure you need the latest bleeding edge version?
> I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
> http://tapestry.apache.org/tapestry4.1/download.html
> 
> Martin
> 
> On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury  
> <ir...@gmail.com> wrote:
> 
> > Upon doing an mvn compile, I am getting this warning:
> >
> > [WARNING]
> >         Artifact commons-logging:commons-logging:jar:1.0.4 retains local
> > scope 'provided' overriding broader scope 'compile'
> >         given by a dependency. If this is not intended, modify or remove  
> > the
> > local scope.
> >
> > then, I get an error:
> >
> >
>
/Users/irving/work/apache/tapestry-4.1-src/tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> > cannot access org.apache.commons.logging.Log
> > file org/apache/commons/logging/Log.class not found
> >     private static final MessageFormatter _formatter = new  
> > MessageFormatter(
> >
> > I realize 4.1 is pretty new, but we really need the ajax stuff.  Of  
> > course,
> > 4.0.2 went very smoothly.  I guess I am just more used to ant.  Any  
> > pages or
> > docs that I can be pointed to for buidling or using 4.1 would be great!
> >
> > Thanks
> >
> > Irv
> >
> > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >>
> >> As an update, I did get the subversion source.  I was able to build most
> >> of it, but the annotations are dying upon build.  I am building on OSX.
> >>
> >> So, i went into the examples directory and did mvn compile, which seemed
> >> to build fine.  I am trying to figure out how to get a war file now.   
> >> Did a
> >> mvn war but that didn't work.  Didn't see anything at the build pages  
> >> on how
> >> to do that.
> >>
> >> Irv
> >>
> >>
> >> On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >> >
> >> > Yes, I already looked at that page as I said in my email.  The first
> >> > thing it tells you is you can download the official jar-only.  Doing  
> >> that
> >> > for 4.02 comes with a whole directory structure that was reasonably  
> >> easy
> >> > to follow how to use the examples, etc.  That was fine.  I then did  
> >> that for
> >> > 4.1 and just a bunch of jar files came down.  Am I supposed to extract
> >> > all those?  Is there something else to do?  The README didn't seem to  
> >> point
> >> > to anything.
> >> >
> >> > The second instructions are to add something to your project's pom
> >> > file.  Our project doesn't have a pom file, and we aren't using  
> >> maven2.  We
> >> > don't want to use maven2 for our project unless we have to.  We use  
> >> ant
> >> > only.
> >> >
> >> > So, I am back at my original question.  What is the preferred way,
> >> > specifically for 4.1 to build and work with it.  I have downloaded
> >> > source using subversion and pulled maven down and am building that  
> >> way.  Am
> >> > I on the right track?  I realize 4.1 is brand new, but I just want to
> >> > make sure I am going down the right path.
> >> >
> >> > Thanks,
> >> >
> >> > Irv
> >> >
> >> >
> >> > On 9/17/06, Norbert Sαndor < developer@erinors.com> wrote:
> >> > >
> >> > > I recommend you to explore the demo applications. They already have
> >> > > the
> >> > > appropriate file structure, dependencies, etc.
> >> > > For download instructions, see
> >> > > http://tapestry.apache.org/tapestry4.1/download.html
> >> > >
> >> > > Regards,
> >> > > Norbi
> >> > >
> >> > > Irv Salisbury wrote:
> >> > > > We are trying to explore Tapestry 4.1.  We are also not that
> >> > > familiar
> >> > > > with
> >> > > > maven.  I downloaded the "official jar" release, but I had trouble
> >> > > > figuring
> >> > > > out what to do with the jar files.
> >> > > >
> >> > > > Can someone give me help on the preferred way to download and
> >> > > install
> >> > > > 4.1 to
> >> > > > get started.  It is our first Tapestry app, so keep that in
> >> > > mind.  We did
> >> > > > download 4.02 and were able to get a small app working in that.
> >> > > >
> >> > > > Should I use subversion, etc?
> >> > > >
> >> > > > Thanks,
> >> > > >
> >> > > > Irv
> >> > > >
> >> > > >
> >> > >  
> >> ------------------------------------------------------------------------
> >> > > >
> >> > > > No virus found in this incoming message.
> >> > > > Checked by AVG Free Edition.
> >> > > > Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date:
> >> > > 2006.09.15.
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> > >  
> >> ---------------------------------------------------------------------
> >> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> > > For additional commands, e-mail: users-help@tapestry.apache.org
> >> > >
> >> > >
> >> >
> >>
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 


-- 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Re: Installing 4.1

Posted by Sam Gendler <sg...@ideasculptor.com>.
I went through this exact same process and eventually gave it up for
hopeless and stuck with 4.0.x, figuring that if it was this difficult
just to acquire and run the thing, it certainly wouldn't be ready for
production development yet.  Someone should definitely get this info
into some visible documentation somewhere, or the only people who are
going to be using 4.1 are those who are already experienced maven
users.  JMHO.

--sam


On 9/18/06, Irv Salisbury <ir...@gmail.com> wrote:
> I added these lines to the Workbench pom.xml and it all compiles fine:
>
>         <dependency>
>             <groupId>javax.servlet</groupId>
>             <artifactId>servlet-api</artifactId>
>         </dependency>
>
> Irv
>
> On 9/18/06, Irv Salisbury <ir...@gmail.com> wrote:
> >
> > That did work for timetracker.
> >
> > On building workbench, I get a TON of these types of messages:
> >
> > [WARNING] Unable to get resource from repository mortbay-repo (http://www.mortbay.org/maven2/snapshot
> > )
> > Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
> >
> > [WARNING] Unable to get resource from repository apache.snapshots (
> > http://people.apache.org/repo/m2-snapshot-repository)
> > Downloading:
> > http://howardlewisship.com/repository/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
> > [WARNING] Unable to get resource from repository tapestry.javaforge (http://howardlewisship.com/repository
> > )
> > Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
> >
> > [WARNING] Unable to get resource from repository codehaus.org (
> > http://snapshots.repository.codehaus.org)
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
> > 1K downloaded
> > Downloading:
> > http://www.mortbay.org/maven2/snapshot/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
> > [WARNING] Unable to get resource from repository mortbay-repo (http://www.mortbay.org/maven2/snapshot
> > )
> > Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
> >
> > [WARNING] Unable to get resource from repository apache.snapshots (
> > http://people.apache.org/repo/m2-snapshot-repository)
> > Downloading:
> > http://howardlewisship.com/repository/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
> > [WARNING] Unable to get resource from repository tapestry.javaforge (http://howardlewisship.com/repository
> > )
> > Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
> >
> > [WARNING] Unable to get resource from repository codehaus.org (
> > http://snapshots.repository.codehaus.org)
> > Downloading:
> > http://repo1.maven.org/maven2/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
> >
> >
> >
> > On 9/18/06, Martin Strand < martin.strand@entcap.se> wrote:
> > >
> > > Not sure why the workbench won't compile for you... it works here. :\
> > > The timetracker appears to have duplicate jars:
> > > - tapestry-annotations-4.1.1-SNAPSHOT.jar
> > > - tapestry-annotations-4.1.1-20060827.214823-24.jar
> > >
> > > Don't know where the second jar came from, perhaps you could try "mvn
> > > clean install" (add -Dmaven.test.skip=true to skip tests)
> > >
> > > Martin
> > >
> > > On Mon, 18 Sep 2006 05:48:52 +0200, Irv Salisbury
> > > <ir...@gmail.com> wrote:
> > >
> > > > Ok, so other than getting like 100 WARNING messages that resource XYZ
> > > > could
> > > > not be loaded, I am trying to build and run the example apps.  The
> > > vlib
> > > > ones
> > > > seem to just create jars, so they won't tell me much.  The TimeTracker
> > >
> > > > builds a WAR file, but when deployed, I get this error (tomcat 5.5.17on
> > > > OSX
> > > > intel box):
> > > >
> > > > 1-SNAPSHOT] [ERROR] Servlet /tapestry-TimeTracker-4.1.1-SNAPSHOT threw
> > > > load() exception
> > > > org.apache.hivemind.ApplicationRuntimeException: Error: Module
> > > > tapestry.annotation is duplicated!  Definition in
> > > > jar:file:/Users/irving/work/apache/apache-tomcat-5.5.17
> > > /webapps/tapestry-
> > > > TimeTracker-4.1.1-SNAPSHOT /WEB-INF/lib/tapestry-
> > > > annotations-4.1.1-SNAPSHOT.jar!/META-INF/hivemodule.xml has been
> > > ignored
> > > > in
> > > > favor of existing definition from
> > > > jar:file:/Users/irving/work/apache/apache-
> > > > tomcat-5.5.17 /webapps/tapestry-TimeTracker-4.1.1-SNAPSHOT
> > > > /WEB-INF/lib/tapestry-
> > > > annotations-4.1.1-20060827.214823-24.jar!/META-INF/hivemodule.xml.
> > > >         at org.apache.hivemind.impl.StrictErrorHandler.error(
> > > > StrictErrorHandler.java:39)
> > > >         at
> > > >
> > > org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescriptor
> > > > (RegistryInfrastructureConstructor.java:202)
> > > >         at
> > > >
> > > org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(
> > > > RegistryBuilder.java:168)
> > > >         at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(
> > > > RegistryBuilder.java:143)
> > > >         at org.apache.tapestry.ApplicationServlet.constructRegistry (
> > > > ApplicationServlet.java:253)
> > > >         at org.apache.tapestry.ApplicationServlet.init(
> > > > ApplicationServlet.java:194)
> > > >         at org.apache.catalina.core.StandardWrapper.loadServlet(
> > > > StandardWrapper.java:1105)
> > > >         at org.apache.catalina.core.StandardWrapper.load(
> > > > StandardWrapper.java:932)
> > > >         at org.apache.catalina.core.StandardContext.loadOnStartup(
> > > > StandardContext.java :3917)
> > > >         at org.apache.catalina.core.StandardContext.start(
> > > > StandardContext.java:4201)
> > > >         at org.apache.catalina.core.ContainerBase.addChildInternal(
> > > > ContainerBase.java:759)
> > > >         at org.apache.catalina.core.ContainerBase.addChild(
> > > > ContainerBase.java:739)
> > > >         at
> > > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> > > > :524)
> > > >         at
> > > > org.apache.catalina.startup.HostConfig.deployWAR (HostConfig.java
> > > > :809)
> > > >         at
> > > > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> > > > :698)
> > > >         at
> > > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> > > > :472)
> > > >         at org.apache.catalina.startup.HostConfig.check(
> > > HostConfig.java
> > > > :1190)
> > > >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > > > HostConfig.java:292)
> > > >         at
> > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> > > > LifecycleSupport.java:119)
> > > >         at org.apache.catalina.core.ContainerBase.backgroundProcess(
> > > > ContainerBase.java:1305)
> > > >         at
> > > >
> > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> > > > (ContainerBase.java:1569)
> > > >         at
> > > >
> > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> > > > (ContainerBase.java:1578)
> > > >         at
> > > >
> > > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
> > > > ContainerBase.java:1558)
> > > >         at java.lang.Thread.run(Thread.java:613)
> > > >
> > > > So, I then moved onto Workbench, and getting this error on compile:
> > > >
> > > > /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[17,26]
> > >
> > > > package javax.servlet.http does not exist
> > > >
> > > > /Users/irving/work/apache/tapestry-4.1-src
> > > /tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[42,40]
> > > > cannot find symbol
> > > > symbol  : class HttpServletRequest
> > > > location: class org.apache.tapestry.workbench.RequestDecoder
> > > >
> > > > /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartService.java:[95,29]
> > >
> > > > cannot access javax.servlet.http.HttpServletResponse
> > > > file javax/servlet/http/HttpServletResponse.class not found
> > > >                 JPEGEncoder13.encode(chart, 1.0f, output);
> > > >
> > > > Looks like some standard servlet stuff isn't getting pulled in as a
> > > > compile
> > > > time jar need.  I will look into that, but thought I'd include errors
> > > a
> > > > newbie was having upon initial trials (in hopes that this will be
> > > > archived
> > > > in case other newbies have the same problem)
> > > >
> > > > Thanks for any info.
> > > >
> > > > Irv
> > > >
> > > > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> > > >>
> > > >> That was exactly what I was looking for.  Thanks, this will get me
> > > >> started.
> > > >>
> > > >>
> > > >> Irv
> > > >>
> > > >> On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
> > > >> >
> > > >> > Yeah, Maven is definitely the "greased path" here. :)
> > > >> > If you checkout the whole tapestry project, you can run "mvn
> > > >> > -Dmaven.test.skip=true install" to compile everything and install
> > > the
> > > >> > jars
> > > >> > in your local repository:
> > > >> >
> > > >> > [INFO] Tapestry ..............................................
> > > SUCCESS
> > > >> > [1.125s]
> > > >> > [INFO] Core Library ..........................................
> > > SUCCESS
> > > >> > [8.141s]
> > > >> > [INFO] Contrib ...............................................
> > > SUCCESS
> > > >> > [1.656s]
> > > >> > [INFO] Annotations ...........................................
> > > SUCCESS
> > > >> > [0.547s]
> > > >> > [INFO] Portlet ...............................................
> > > SUCCESS
> > > >> > [0.531s]
> > > >> > [INFO] Examples ..............................................
> > > SUCCESS
> > > >> > [0.031s]
> > > >> > [INFO] Tapestry Virtual Library (Beans) ......................
> > > SUCCESS
> > > >> > [0.235s]
> > > >> > [INFO] Tapestry Virtual Library ..............................
> > > SUCCESS
> > > >> > [0.312s]
> > > >> > [INFO] Tapestry Time Tracker .................................
> > > SUCCESS
> > > >> > [1.250s]
> > > >> > [INFO] Tapestry Workbench ....................................
> > > SUCCESS
> > > >> > [0.891s]
> > > >> > [INFO]
> > > >> >
> > > >>
> > > ------------------------------------------------------------------------
> > > >> > [INFO]
> > > >> >
> > > >>
> > > ------------------------------------------------------------------------
> > > >> > [INFO] BUILD SUCCESSFUL
> > > >> > [INFO]
> > > >> >
> > > >>
> > > ------------------------------------------------------------------------
> > > >> > [INFO] Total time: 15 seconds
> > > >> >
> > > >> >
> > > >> > To build the examples, move to the /tapestry-examples dir and run
> > > the
> > > >> > same
> > > >> > thing. You'll now have the example wars in your local repo as well
> > > as
> > > >> in
> > > >> >
> > > >> > the /target/ dir of each example
> > > >> > (tapestry/tapestry-examples/TimeTracker/target/tapestry-
> > > >> > TimeTracker-4.1.1-SNAPSHOT.war).
> > > >> >
> > > >> > Maven uses these lifecycle phases instead of targets:
> > > >> >
> > > >> >
> > > >>
> > > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> > > >> >
> > > >> > Martin
> > > >> >
> > > >> > On Mon, 18 Sep 2006 04:55:43 +0200, Irv Salisbury
> > > >> > <irv.salisbury@gmail.com > wrote:
> > > >> > > Thanks, I should have been clearer... My bad.  I know to put
> > > those
> > > >> in
> > > >> > > there.  In the 4.02 stuff I downloaded and got working fine,
> > > there
> > > >> > > seemed to
> > > >> > > be a directory structure that was the "greased path" to pull in
> > > >> > > hivemind.  I
> > > >> > > basically copied what was in examples to get it working, called
> > > the
> > > >> > ant
> > > >> > > targets and everything worked fine.  In the 4.1 manual download,
> > > >> all I
> > > >> > > get
> > > >> > > is a bunch of jar files, no examples.  So, when I meant "what to
> > > do
> > > >> > with
> > > >> > > those" I more meant how to structure a 4.1 app for building.
> > > >> > >
> > > >> > > It looks like I should just use maven for doing this, as it is
> > > the
> > > >> > > "greased
> > > >> > > path".   Would that be easiest?  The doc pages don't really help
> > > for
> > > >> > 4.1.
> > > >> > > They are great for 4.0x.
> > > >> > >
> > > >> > > Of course, whenever I run any of the maven targets, sometimes it
> > > is
> > > >> > able
> > > >> > > to
> > > >> > > connect to the repositories, sometimes it isn't.  That is always
> > > fun
> > > >> > > about
> > > >> > > using maven.  Guess that is another topic for later.
> > > >> > >
> > > >> > > So, assuming I am sitting on a fresh svn checkout of the
> > > repository.
> > > >> > > What
> > > >> > > maven "targets" should I call?  Also, inside tapestry-examples,
> > > are
> > > >> > there
> > > >> > > maven "targets" to call there?
> > > >> > >
> > > >> > > Thanks.
> > > >> > >
> > > >> > > Irv
> > > >> > >
> > > >> > > Is eve
> > > >> > > On 9/17/06, Martin Strand <martin.strand@entcap.se > wrote:
> > > >> > >>
> > > >> > >> > so I need to know what to do with those
> > > >> > >> Not sure what you mean... put them in WEB-INF/lib?
> > > >> > >>
> > > >> > >> If you don't use Maven you will need to download the
> > > dependencies
> > > >> > >> manually, they are listed here:
> > > >> > >>
> > > >> > >>
> > > >> http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html
> > >
> > > >> >
> > > >> > >> You'll need to get everything under "compile" and "provided" and
> > > >> also
> > > >> > >> "commons-io" under "transitive" -> "compile"
> > > >> > >> (However, I doubt tapestry-testng is needed)
> > > >> > >>
> > > >> > >> Once you've got all the jars in WEB-INF/lib, Tapestry 4.1.1should
> > > >> > work
> > > >> > >> fine. :)
> > > >> > >>
> > > >> > >> Martin
> > > >> > >>
> > > >> > >> On Mon, 18 Sep 2006 04:15:21 +0200, Irv Salisbury
> > > >> > >> < irv.salisbury@gmail.com> wrote:
> > > >> > >>
> > > >> > >> > Ok, so our project uses ant, not maven2.  Am I best off
> > > getting
> > > >> the
> > > >> > >> > subversion like I am?  Or should i get the last 4.1 build
> > > (which
> > > >> > was a
> > > >> > >> > bunch
> > > >> > >> > of jar files so I need to know what to do with those)
> > > >> > >> >
> > > >> > >> > Thanks for being patient guys.  I realize with just starting
> > > with
> > > >> > >> > tapestry I
> > > >> > >> > am biting off a bit much with 4.1, but that is the only
> > > version
> > > >> > that
> > > >> > >> will
> > > >> > >> > give us the dojo ajax stuff we need.
> > > >> > >> >
> > > >> > >> > Irv
> > > >> > >> >
> > > >> > >> > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com > wrote:
> > > >> > >> >>
> > > >> > >> >> I don't absolutely, but i need a 4.1 version.  I don't
> > > >> understand
> > > >> > >> that
> > > >> > >> >> much about the maven repo.  How do I use the 4.1.1-SNAPSHOTfrom
> > > >> > the
> > > >> > >> >> maven
> > > >> > >> >> repo?
> > > >> > >> >>
> > > >> > >> >> Thanks,
> > > >> > >> >>
> > > >> > >> >> Irv
> > > >> > >> >>
> > > >> > >> >>
> > > >> > >> >> On 9/17/06, Martin Strand < martin.strand@entcap.se > wrote:
> > > >> > >> >> >
> > > >> > >> >> > Are you absolutely sure you need the latest bleeding edge
> > > >> > version?
> > > >> > >> >> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
> > > >> > >> >> > http://tapestry.apache.org/tapestry4.1/download.html
> > > >> > >> >> >
> > > >> > >> >> > Martin
> > > >> > >> >> >
> > > >> > >> >> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
> > > >> > >> >> > < irv.salisbury@gmail.com > wrote:
> > > >> > >> >> >
> > > >> > >> >> > > Upon doing an mvn compile, I am getting this warning:
> > > >> > >> >> > >
> > > >> > >> >> > > [WARNING]
> > > >> > >> >> > >         Artifact commons-logging:commons-logging:jar:
> > > 1.0.4
> > > >> > >> retains
> > > >> > >> >> > local
> > > >> > >> >> > > scope 'provided' overriding broader scope 'compile'
> > > >> > >> >> > >         given by a dependency. If this is not intended,
> > > >> modify
> > > >> > or
> > > >> > >> >> > remove
> > > >> > >> >> > > the
> > > >> > >> >> > > local scope.
> > > >> > >> >> > >
> > > >> > >> >> > > then, I get an error:
> > > >> > >> >> > >
> > > >> > >> >> > >
> > > >> > >> >> /Users/irving/work/apache/tapestry- 4.1-src
> > > >> > >>
> > > >> >
> > > >>
> > > /tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> > > >> > >> >> >
> > > >> > >> >> > > cannot access org.apache.commons.logging.Log
> > > >> > >> >> > > file org/apache/commons/logging/Log.class not found
> > > >> > >> >> > >     private static final MessageFormatter _formatter =
> > > new
> > > >> > >> >> > > MessageFormatter(
> > > >> > >> >> > >
> > > >> > >> >> > > I realize 4.1 is pretty new, but we really need the ajax
> > > >> > stuff.
> > > >> > >> Of
> > > >> > >> >> > > course,
> > > >> > >> >> > > 4.0.2 went very smoothly.  I guess I am just more used to
> > > >> ant.
> > > >> > >> Any
> > > >> > >> >> > > pages or
> > > >> > >> >> > > docs that I can be pointed to for buidling or using 4.1
> > > >> would
> > > >> > be
> > > >> > >> >> > great!
> > > >> > >> >> > >
> > > >> > >> >> > > Thanks
> > > >> > >> >> > >
> > > >> > >> >> > > Irv
> > > >> > >> >> > >
> > > >> > >> >> > > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com>
> > > wrote:
> > > >> > >> >> > >>
> > > >> > >> >> > >> As an update, I did get the subversion source.  I was
> > > able
> > > >> to
> > > >> > >> build
> > > >> > >> >> > most
> > > >> > >> >> > >> of it, but the annotations are dying upon build.  I am
> > > >> > building
> > > >> > >> on
> > > >> > >> >> > OSX.
> > > >> > >> >> > >>
> > > >> > >> >> > >> So, i went into the examples directory and did mvn
> > > compile,
> > > >> > >> which
> > > >> > >> >> > seemed
> > > >> > >> >> > >> to build fine.  I am trying to figure out how to get a
> > > war
> > > >> > file
> > > >> > >> >> now.
> > > >> > >> >> > >> Did a
> > > >> > >> >> > >> mvn war but that didn't work.  Didn't see anything at
> > > the
> > > >> > build
> > > >> > >> >> pages
> > > >> > >> >> > >> on how
> > > >> > >> >> > >> to do that.
> > > >> > >> >> > >>
> > > >> > >> >> > >> Irv
> > > >> > >> >> > >>
> > > >> > >> >> > >>
> > > >> > >> >> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com >
> > > >> wrote:
> > > >> > >> >> > >> >
> > > >> > >> >> > >> > Yes, I already looked at that page as I said in my
> > > >> > email.  The
> > > >> > >> >> > first
> > > >> > >> >> > >> > thing it tells you is you can download the official
> > > >> > >> >> > jar-only.  Doing
> > > >> > >> >> > >> that
> > > >> > >> >> > >> > for 4.02 comes with a whole directory structure that
> > > was
> > > >> > >> >> reasonably
> > > >> > >> >> > >> easy
> > > >> > >> >> > >> > to follow how to use the examples, etc.  That was
> > > fine.
> > > >> I
> > > >> > >> then
> > > >> > >> >> did
> > > >> > >> >> > >> that for
> > > >> > >> >> > >> > 4.1 and just a bunch of jar files came down.  Am I
> > > >> supposed
> > > >> > to
> > > >> > >> >> > extract
> > > >> > >> >> > >> > all those?  Is there something else to do?  The README
> > > >> > didn't
> > > >> > >> >> seem
> > > >> > >> >> > to
> > > >> > >> >> > >> point
> > > >> > >> >> > >> > to anything.
> > > >> > >> >> > >> >
> > > >> > >> >> > >> > The second instructions are to add something to your
> > > >> > project's
> > > >> > >> >> pom
> > > >> > >> >> > >> > file.  Our project doesn't have a pom file, and we
> > > aren't
> > > >> > >> using
> > > >> > >> >> > >> maven2.  We
> > > >> > >> >> > >> > don't want to use maven2 for our project unless we
> > > have
> > > >> to.
> > > >> >
> > > >> > >> We
> > > >> > >> >> use
> > > >> > >> >> >
> > > >> > >> >> > >> ant
> > > >> > >> >> > >> > only.
> > > >> > >> >> > >> >
> > > >> > >> >> > >> > So, I am back at my original question.  What is the
> > > >> > preferred
> > > >> > >> >> way,
> > > >> > >> >> > >> > specifically for 4.1 to build and work with it.  I
> > > have
> > > >> > >> >> downloaded
> > > >> > >> >> > >> > source using subversion and pulled maven down and am
> > > >> > building
> > > >> > >> >> that
> > > >> > >> >> > >> way.  Am
> > > >> > >> >> > >> > I on the right track?  I realize 4.1 is brand new, but
> > > I
> > > >> > just
> > > >> > >> >> want
> > > >> > >> >> > to
> > > >> > >> >> > >> > make sure I am going down the right path.
> > > >> > >> >> > >> >
> > > >> > >> >> > >> > Thanks,
> > > >> > >> >> > >> >
> > > >> > >> >> > >> > Irv
> > > >> > >> >> > >> >
> > > >> > >> >> > >> >
> > > >> > >> >> > >> > On 9/17/06, Norbert Sándor < developer@erinors.com >
> > > >> wrote:
> > > >> >
> > > >> > >> >> > >> > >
> > > >> > >> >> > >> > > I recommend you to explore the demo applications.
> > > They
> > > >> > >> already
> > > >> > >> >> > have
> > > >> > >> >> > >> > > the
> > > >> > >> >> > >> > > appropriate file structure, dependencies, etc.
> > > >> > >> >> > >> > > For download instructions, see
> > > >> > >> >> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
> > > >> > >> >> > >> > >
> > > >> > >> >> > >> > > Regards,
> > > >> > >> >> > >> > > Norbi
> > > >> > >> >> > >> > >
> > > >> > >> >> > >> > > Irv Salisbury wrote:
> > > >> > >> >> > >> > > > We are trying to explore Tapestry 4.1.  We are
> > > also
> > > >> not
> > > >> > >> that
> > > >> > >> >> > >> > > familiar
> > > >> > >> >> > >> > > > with
> > > >> > >> >> > >> > > > maven.  I downloaded the "official jar" release,
> > > but
> > > >> I
> > > >> > had
> > > >> > >> >> > trouble
> > > >> > >> >> > >> > > > figuring
> > > >> > >> >> > >> > > > out what to do with the jar files.
> > > >> > >> >> > >> > > >
> > > >> > >> >> > >> > > > Can someone give me help on the preferred way to
> > > >> > download
> > > >> > >> and
> > > >> > >> >> > >> > > install
> > > >> > >> >> > >> > > > 4.1 to
> > > >> > >> >> > >> > > > get started.  It is our first Tapestry app, so
> > > keep
> > > >> > that
> > > >> > >> in
> > > >> > >> >> > >> > > mind.  We did
> > > >> > >> >> > >> > > > download 4.02 and were able to get a small app
> > > >> working
> > > >> > in
> > > >> > >> >> that.
> > > >> > >> >> > >> > > >
> > > >> > >> >> > >> > > > Should I use subversion, etc?
> > > >> > >> >> > >> > > >
> > > >> > >> >> > >> > > > Thanks,
> > > >> > >> >> > >> > > >
> > > >> > >> >> > >> > > > Irv
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > >
> > >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
I added these lines to the Workbench pom.xml and it all compiles fine:

        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
        </dependency>

Irv

On 9/18/06, Irv Salisbury <ir...@gmail.com> wrote:
>
> That did work for timetracker.
>
> On building workbench, I get a TON of these types of messages:
>
> [WARNING] Unable to get resource from repository mortbay-repo (http://www.mortbay.org/maven2/snapshot
> )
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
>
> [WARNING] Unable to get resource from repository apache.snapshots (
> http://people.apache.org/repo/m2-snapshot-repository)
> Downloading:
> http://howardlewisship.com/repository/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
> [WARNING] Unable to get resource from repository tapestry.javaforge (http://howardlewisship.com/repository
> )
> Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
>
> [WARNING] Unable to get resource from repository codehaus.org (
> http://snapshots.repository.codehaus.org)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
> 1K downloaded
> Downloading:
> http://www.mortbay.org/maven2/snapshot/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
> [WARNING] Unable to get resource from repository mortbay-repo (http://www.mortbay.org/maven2/snapshot
> )
> Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
>
> [WARNING] Unable to get resource from repository apache.snapshots (
> http://people.apache.org/repo/m2-snapshot-repository)
> Downloading:
> http://howardlewisship.com/repository/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
> [WARNING] Unable to get resource from repository tapestry.javaforge (http://howardlewisship.com/repository
> )
> Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
>
> [WARNING] Unable to get resource from repository codehaus.org (
> http://snapshots.repository.codehaus.org)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
>
>
>
> On 9/18/06, Martin Strand < martin.strand@entcap.se> wrote:
> >
> > Not sure why the workbench won't compile for you... it works here. :\
> > The timetracker appears to have duplicate jars:
> > - tapestry-annotations-4.1.1-SNAPSHOT.jar
> > - tapestry-annotations-4.1.1-20060827.214823-24.jar
> >
> > Don't know where the second jar came from, perhaps you could try "mvn
> > clean install" (add -Dmaven.test.skip=true to skip tests)
> >
> > Martin
> >
> > On Mon, 18 Sep 2006 05:48:52 +0200, Irv Salisbury
> > <ir...@gmail.com> wrote:
> >
> > > Ok, so other than getting like 100 WARNING messages that resource XYZ
> > > could
> > > not be loaded, I am trying to build and run the example apps.  The
> > vlib
> > > ones
> > > seem to just create jars, so they won't tell me much.  The TimeTracker
> >
> > > builds a WAR file, but when deployed, I get this error (tomcat 5.5.17on
> > > OSX
> > > intel box):
> > >
> > > 1-SNAPSHOT] [ERROR] Servlet /tapestry-TimeTracker-4.1.1-SNAPSHOT threw
> > > load() exception
> > > org.apache.hivemind.ApplicationRuntimeException: Error: Module
> > > tapestry.annotation is duplicated!  Definition in
> > > jar:file:/Users/irving/work/apache/apache-tomcat-5.5.17
> > /webapps/tapestry-
> > > TimeTracker-4.1.1-SNAPSHOT /WEB-INF/lib/tapestry-
> > > annotations-4.1.1-SNAPSHOT.jar!/META-INF/hivemodule.xml has been
> > ignored
> > > in
> > > favor of existing definition from
> > > jar:file:/Users/irving/work/apache/apache-
> > > tomcat-5.5.17 /webapps/tapestry-TimeTracker-4.1.1-SNAPSHOT
> > > /WEB-INF/lib/tapestry-
> > > annotations-4.1.1-20060827.214823-24.jar!/META-INF/hivemodule.xml.
> > >         at org.apache.hivemind.impl.StrictErrorHandler.error(
> > > StrictErrorHandler.java:39)
> > >         at
> > >
> > org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescriptor
> > > (RegistryInfrastructureConstructor.java:202)
> > >         at
> > >
> > org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(
> > > RegistryBuilder.java:168)
> > >         at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(
> > > RegistryBuilder.java:143)
> > >         at org.apache.tapestry.ApplicationServlet.constructRegistry (
> > > ApplicationServlet.java:253)
> > >         at org.apache.tapestry.ApplicationServlet.init(
> > > ApplicationServlet.java:194)
> > >         at org.apache.catalina.core.StandardWrapper.loadServlet(
> > > StandardWrapper.java:1105)
> > >         at org.apache.catalina.core.StandardWrapper.load(
> > > StandardWrapper.java:932)
> > >         at org.apache.catalina.core.StandardContext.loadOnStartup(
> > > StandardContext.java :3917)
> > >         at org.apache.catalina.core.StandardContext.start(
> > > StandardContext.java:4201)
> > >         at org.apache.catalina.core.ContainerBase.addChildInternal(
> > > ContainerBase.java:759)
> > >         at org.apache.catalina.core.ContainerBase.addChild(
> > > ContainerBase.java:739)
> > >         at
> > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> > > :524)
> > >         at
> > > org.apache.catalina.startup.HostConfig.deployWAR (HostConfig.java
> > > :809)
> > >         at
> > > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> > > :698)
> > >         at
> > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> > > :472)
> > >         at org.apache.catalina.startup.HostConfig.check(
> > HostConfig.java
> > > :1190)
> > >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > > HostConfig.java:292)
> > >         at
> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> > > LifecycleSupport.java:119)
> > >         at org.apache.catalina.core.ContainerBase.backgroundProcess(
> > > ContainerBase.java:1305)
> > >         at
> > >
> > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> > > (ContainerBase.java:1569)
> > >         at
> > >
> > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> > > (ContainerBase.java:1578)
> > >         at
> > >
> > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
> > > ContainerBase.java:1558)
> > >         at java.lang.Thread.run(Thread.java:613)
> > >
> > > So, I then moved onto Workbench, and getting this error on compile:
> > >
> > > /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[17,26]
> >
> > > package javax.servlet.http does not exist
> > >
> > > /Users/irving/work/apache/tapestry-4.1-src
> > /tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[42,40]
> > > cannot find symbol
> > > symbol  : class HttpServletRequest
> > > location: class org.apache.tapestry.workbench.RequestDecoder
> > >
> > > /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartService.java:[95,29]
> >
> > > cannot access javax.servlet.http.HttpServletResponse
> > > file javax/servlet/http/HttpServletResponse.class not found
> > >                 JPEGEncoder13.encode(chart, 1.0f, output);
> > >
> > > Looks like some standard servlet stuff isn't getting pulled in as a
> > > compile
> > > time jar need.  I will look into that, but thought I'd include errors
> > a
> > > newbie was having upon initial trials (in hopes that this will be
> > > archived
> > > in case other newbies have the same problem)
> > >
> > > Thanks for any info.
> > >
> > > Irv
> > >
> > > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> > >>
> > >> That was exactly what I was looking for.  Thanks, this will get me
> > >> started.
> > >>
> > >>
> > >> Irv
> > >>
> > >> On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
> > >> >
> > >> > Yeah, Maven is definitely the "greased path" here. :)
> > >> > If you checkout the whole tapestry project, you can run "mvn
> > >> > -Dmaven.test.skip=true install" to compile everything and install
> > the
> > >> > jars
> > >> > in your local repository:
> > >> >
> > >> > [INFO] Tapestry ..............................................
> > SUCCESS
> > >> > [1.125s]
> > >> > [INFO] Core Library ..........................................
> > SUCCESS
> > >> > [8.141s]
> > >> > [INFO] Contrib ...............................................
> > SUCCESS
> > >> > [1.656s]
> > >> > [INFO] Annotations ...........................................
> > SUCCESS
> > >> > [0.547s]
> > >> > [INFO] Portlet ...............................................
> > SUCCESS
> > >> > [0.531s]
> > >> > [INFO] Examples ..............................................
> > SUCCESS
> > >> > [0.031s]
> > >> > [INFO] Tapestry Virtual Library (Beans) ......................
> > SUCCESS
> > >> > [0.235s]
> > >> > [INFO] Tapestry Virtual Library ..............................
> > SUCCESS
> > >> > [0.312s]
> > >> > [INFO] Tapestry Time Tracker .................................
> > SUCCESS
> > >> > [1.250s]
> > >> > [INFO] Tapestry Workbench ....................................
> > SUCCESS
> > >> > [0.891s]
> > >> > [INFO]
> > >> >
> > >>
> > ------------------------------------------------------------------------
> > >> > [INFO]
> > >> >
> > >>
> > ------------------------------------------------------------------------
> > >> > [INFO] BUILD SUCCESSFUL
> > >> > [INFO]
> > >> >
> > >>
> > ------------------------------------------------------------------------
> > >> > [INFO] Total time: 15 seconds
> > >> >
> > >> >
> > >> > To build the examples, move to the /tapestry-examples dir and run
> > the
> > >> > same
> > >> > thing. You'll now have the example wars in your local repo as well
> > as
> > >> in
> > >> >
> > >> > the /target/ dir of each example
> > >> > (tapestry/tapestry-examples/TimeTracker/target/tapestry-
> > >> > TimeTracker-4.1.1-SNAPSHOT.war).
> > >> >
> > >> > Maven uses these lifecycle phases instead of targets:
> > >> >
> > >> >
> > >>
> > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> > >> >
> > >> > Martin
> > >> >
> > >> > On Mon, 18 Sep 2006 04:55:43 +0200, Irv Salisbury
> > >> > <irv.salisbury@gmail.com > wrote:
> > >> > > Thanks, I should have been clearer... My bad.  I know to put
> > those
> > >> in
> > >> > > there.  In the 4.02 stuff I downloaded and got working fine,
> > there
> > >> > > seemed to
> > >> > > be a directory structure that was the "greased path" to pull in
> > >> > > hivemind.  I
> > >> > > basically copied what was in examples to get it working, called
> > the
> > >> > ant
> > >> > > targets and everything worked fine.  In the 4.1 manual download,
> > >> all I
> > >> > > get
> > >> > > is a bunch of jar files, no examples.  So, when I meant "what to
> > do
> > >> > with
> > >> > > those" I more meant how to structure a 4.1 app for building.
> > >> > >
> > >> > > It looks like I should just use maven for doing this, as it is
> > the
> > >> > > "greased
> > >> > > path".   Would that be easiest?  The doc pages don't really help
> > for
> > >> > 4.1.
> > >> > > They are great for 4.0x.
> > >> > >
> > >> > > Of course, whenever I run any of the maven targets, sometimes it
> > is
> > >> > able
> > >> > > to
> > >> > > connect to the repositories, sometimes it isn't.  That is always
> > fun
> > >> > > about
> > >> > > using maven.  Guess that is another topic for later.
> > >> > >
> > >> > > So, assuming I am sitting on a fresh svn checkout of the
> > repository.
> > >> > > What
> > >> > > maven "targets" should I call?  Also, inside tapestry-examples,
> > are
> > >> > there
> > >> > > maven "targets" to call there?
> > >> > >
> > >> > > Thanks.
> > >> > >
> > >> > > Irv
> > >> > >
> > >> > > Is eve
> > >> > > On 9/17/06, Martin Strand <martin.strand@entcap.se > wrote:
> > >> > >>
> > >> > >> > so I need to know what to do with those
> > >> > >> Not sure what you mean... put them in WEB-INF/lib?
> > >> > >>
> > >> > >> If you don't use Maven you will need to download the
> > dependencies
> > >> > >> manually, they are listed here:
> > >> > >>
> > >> > >>
> > >> http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html
> >
> > >> >
> > >> > >> You'll need to get everything under "compile" and "provided" and
> > >> also
> > >> > >> "commons-io" under "transitive" -> "compile"
> > >> > >> (However, I doubt tapestry-testng is needed)
> > >> > >>
> > >> > >> Once you've got all the jars in WEB-INF/lib, Tapestry 4.1.1should
> > >> > work
> > >> > >> fine. :)
> > >> > >>
> > >> > >> Martin
> > >> > >>
> > >> > >> On Mon, 18 Sep 2006 04:15:21 +0200, Irv Salisbury
> > >> > >> < irv.salisbury@gmail.com> wrote:
> > >> > >>
> > >> > >> > Ok, so our project uses ant, not maven2.  Am I best off
> > getting
> > >> the
> > >> > >> > subversion like I am?  Or should i get the last 4.1 build
> > (which
> > >> > was a
> > >> > >> > bunch
> > >> > >> > of jar files so I need to know what to do with those)
> > >> > >> >
> > >> > >> > Thanks for being patient guys.  I realize with just starting
> > with
> > >> > >> > tapestry I
> > >> > >> > am biting off a bit much with 4.1, but that is the only
> > version
> > >> > that
> > >> > >> will
> > >> > >> > give us the dojo ajax stuff we need.
> > >> > >> >
> > >> > >> > Irv
> > >> > >> >
> > >> > >> > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com > wrote:
> > >> > >> >>
> > >> > >> >> I don't absolutely, but i need a 4.1 version.  I don't
> > >> understand
> > >> > >> that
> > >> > >> >> much about the maven repo.  How do I use the 4.1.1-SNAPSHOTfrom
> > >> > the
> > >> > >> >> maven
> > >> > >> >> repo?
> > >> > >> >>
> > >> > >> >> Thanks,
> > >> > >> >>
> > >> > >> >> Irv
> > >> > >> >>
> > >> > >> >>
> > >> > >> >> On 9/17/06, Martin Strand < martin.strand@entcap.se > wrote:
> > >> > >> >> >
> > >> > >> >> > Are you absolutely sure you need the latest bleeding edge
> > >> > version?
> > >> > >> >> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
> > >> > >> >> > http://tapestry.apache.org/tapestry4.1/download.html
> > >> > >> >> >
> > >> > >> >> > Martin
> > >> > >> >> >
> > >> > >> >> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
> > >> > >> >> > < irv.salisbury@gmail.com > wrote:
> > >> > >> >> >
> > >> > >> >> > > Upon doing an mvn compile, I am getting this warning:
> > >> > >> >> > >
> > >> > >> >> > > [WARNING]
> > >> > >> >> > >         Artifact commons-logging:commons-logging:jar:
> > 1.0.4
> > >> > >> retains
> > >> > >> >> > local
> > >> > >> >> > > scope 'provided' overriding broader scope 'compile'
> > >> > >> >> > >         given by a dependency. If this is not intended,
> > >> modify
> > >> > or
> > >> > >> >> > remove
> > >> > >> >> > > the
> > >> > >> >> > > local scope.
> > >> > >> >> > >
> > >> > >> >> > > then, I get an error:
> > >> > >> >> > >
> > >> > >> >> > >
> > >> > >> >> /Users/irving/work/apache/tapestry- 4.1-src
> > >> > >>
> > >> >
> > >>
> > /tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> > >> > >> >> >
> > >> > >> >> > > cannot access org.apache.commons.logging.Log
> > >> > >> >> > > file org/apache/commons/logging/Log.class not found
> > >> > >> >> > >     private static final MessageFormatter _formatter =
> > new
> > >> > >> >> > > MessageFormatter(
> > >> > >> >> > >
> > >> > >> >> > > I realize 4.1 is pretty new, but we really need the ajax
> > >> > stuff.
> > >> > >> Of
> > >> > >> >> > > course,
> > >> > >> >> > > 4.0.2 went very smoothly.  I guess I am just more used to
> > >> ant.
> > >> > >> Any
> > >> > >> >> > > pages or
> > >> > >> >> > > docs that I can be pointed to for buidling or using 4.1
> > >> would
> > >> > be
> > >> > >> >> > great!
> > >> > >> >> > >
> > >> > >> >> > > Thanks
> > >> > >> >> > >
> > >> > >> >> > > Irv
> > >> > >> >> > >
> > >> > >> >> > > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com>
> > wrote:
> > >> > >> >> > >>
> > >> > >> >> > >> As an update, I did get the subversion source.  I was
> > able
> > >> to
> > >> > >> build
> > >> > >> >> > most
> > >> > >> >> > >> of it, but the annotations are dying upon build.  I am
> > >> > building
> > >> > >> on
> > >> > >> >> > OSX.
> > >> > >> >> > >>
> > >> > >> >> > >> So, i went into the examples directory and did mvn
> > compile,
> > >> > >> which
> > >> > >> >> > seemed
> > >> > >> >> > >> to build fine.  I am trying to figure out how to get a
> > war
> > >> > file
> > >> > >> >> now.
> > >> > >> >> > >> Did a
> > >> > >> >> > >> mvn war but that didn't work.  Didn't see anything at
> > the
> > >> > build
> > >> > >> >> pages
> > >> > >> >> > >> on how
> > >> > >> >> > >> to do that.
> > >> > >> >> > >>
> > >> > >> >> > >> Irv
> > >> > >> >> > >>
> > >> > >> >> > >>
> > >> > >> >> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com >
> > >> wrote:
> > >> > >> >> > >> >
> > >> > >> >> > >> > Yes, I already looked at that page as I said in my
> > >> > email.  The
> > >> > >> >> > first
> > >> > >> >> > >> > thing it tells you is you can download the official
> > >> > >> >> > jar-only.  Doing
> > >> > >> >> > >> that
> > >> > >> >> > >> > for 4.02 comes with a whole directory structure that
> > was
> > >> > >> >> reasonably
> > >> > >> >> > >> easy
> > >> > >> >> > >> > to follow how to use the examples, etc.  That was
> > fine.
> > >> I
> > >> > >> then
> > >> > >> >> did
> > >> > >> >> > >> that for
> > >> > >> >> > >> > 4.1 and just a bunch of jar files came down.  Am I
> > >> supposed
> > >> > to
> > >> > >> >> > extract
> > >> > >> >> > >> > all those?  Is there something else to do?  The README
> > >> > didn't
> > >> > >> >> seem
> > >> > >> >> > to
> > >> > >> >> > >> point
> > >> > >> >> > >> > to anything.
> > >> > >> >> > >> >
> > >> > >> >> > >> > The second instructions are to add something to your
> > >> > project's
> > >> > >> >> pom
> > >> > >> >> > >> > file.  Our project doesn't have a pom file, and we
> > aren't
> > >> > >> using
> > >> > >> >> > >> maven2.  We
> > >> > >> >> > >> > don't want to use maven2 for our project unless we
> > have
> > >> to.
> > >> >
> > >> > >> We
> > >> > >> >> use
> > >> > >> >> >
> > >> > >> >> > >> ant
> > >> > >> >> > >> > only.
> > >> > >> >> > >> >
> > >> > >> >> > >> > So, I am back at my original question.  What is the
> > >> > preferred
> > >> > >> >> way,
> > >> > >> >> > >> > specifically for 4.1 to build and work with it.  I
> > have
> > >> > >> >> downloaded
> > >> > >> >> > >> > source using subversion and pulled maven down and am
> > >> > building
> > >> > >> >> that
> > >> > >> >> > >> way.  Am
> > >> > >> >> > >> > I on the right track?  I realize 4.1 is brand new, but
> > I
> > >> > just
> > >> > >> >> want
> > >> > >> >> > to
> > >> > >> >> > >> > make sure I am going down the right path.
> > >> > >> >> > >> >
> > >> > >> >> > >> > Thanks,
> > >> > >> >> > >> >
> > >> > >> >> > >> > Irv
> > >> > >> >> > >> >
> > >> > >> >> > >> >
> > >> > >> >> > >> > On 9/17/06, Norbert Sándor < developer@erinors.com >
> > >> wrote:
> > >> >
> > >> > >> >> > >> > >
> > >> > >> >> > >> > > I recommend you to explore the demo applications.
> > They
> > >> > >> already
> > >> > >> >> > have
> > >> > >> >> > >> > > the
> > >> > >> >> > >> > > appropriate file structure, dependencies, etc.
> > >> > >> >> > >> > > For download instructions, see
> > >> > >> >> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
> > >> > >> >> > >> > >
> > >> > >> >> > >> > > Regards,
> > >> > >> >> > >> > > Norbi
> > >> > >> >> > >> > >
> > >> > >> >> > >> > > Irv Salisbury wrote:
> > >> > >> >> > >> > > > We are trying to explore Tapestry 4.1.  We are
> > also
> > >> not
> > >> > >> that
> > >> > >> >> > >> > > familiar
> > >> > >> >> > >> > > > with
> > >> > >> >> > >> > > > maven.  I downloaded the "official jar" release,
> > but
> > >> I
> > >> > had
> > >> > >> >> > trouble
> > >> > >> >> > >> > > > figuring
> > >> > >> >> > >> > > > out what to do with the jar files.
> > >> > >> >> > >> > > >
> > >> > >> >> > >> > > > Can someone give me help on the preferred way to
> > >> > download
> > >> > >> and
> > >> > >> >> > >> > > install
> > >> > >> >> > >> > > > 4.1 to
> > >> > >> >> > >> > > > get started.  It is our first Tapestry app, so
> > keep
> > >> > that
> > >> > >> in
> > >> > >> >> > >> > > mind.  We did
> > >> > >> >> > >> > > > download 4.02 and were able to get a small app
> > >> working
> > >> > in
> > >> > >> >> that.
> > >> > >> >> > >> > > >
> > >> > >> >> > >> > > > Should I use subversion, etc?
> > >> > >> >> > >> > > >
> > >> > >> >> > >> > > > Thanks,
> > >> > >> >> > >> > > >
> > >> > >> >> > >> > > > Irv
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>

Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
That did work for timetracker.

On building workbench, I get a TON of these types of messages:

[WARNING] Unable to get resource from repository mortbay-repo (
http://www.mortbay.org/maven2/snapshot)
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
[WARNING] Unable to get resource from repository apache.snapshots (
http://people.apache.org/repo/m2-snapshot-repository)
Downloading:
http://howardlewisship.com/repository/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
[WARNING] Unable to get resource from repository tapestry.javaforge (
http://howardlewisship.com/repository)
Downloading:
http://snapshots.repository.codehaus.org/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
[WARNING] Unable to get resource from repository codehaus.org (
http://snapshots.repository.codehaus.org)
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.0/file-management-1.0.pom
1K downloaded
Downloading:
http://www.mortbay.org/maven2/snapshot/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
[WARNING] Unable to get resource from repository mortbay-repo (
http://www.mortbay.org/maven2/snapshot)
Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
[WARNING] Unable to get resource from repository apache.snapshots (
http://people.apache.org/repo/m2-snapshot-repository)
Downloading:
http://howardlewisship.com/repository/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
[WARNING] Unable to get resource from repository tapestry.javaforge (
http://howardlewisship.com/repository)
Downloading:
http://snapshots.repository.codehaus.org/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom
[WARNING] Unable to get resource from repository codehaus.org (
http://snapshots.repository.codehaus.org)
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/shared/shared-components-parent/1/shared-components-parent-1.pom


On 9/18/06, Martin Strand <ma...@entcap.se> wrote:
>
> Not sure why the workbench won't compile for you... it works here. :\
> The timetracker appears to have duplicate jars:
> - tapestry-annotations-4.1.1-SNAPSHOT.jar
> - tapestry-annotations-4.1.1-20060827.214823-24.jar
>
> Don't know where the second jar came from, perhaps you could try "mvn
> clean install" (add -Dmaven.test.skip=true to skip tests)
>
> Martin
>
> On Mon, 18 Sep 2006 05:48:52 +0200, Irv Salisbury
> <ir...@gmail.com> wrote:
>
> > Ok, so other than getting like 100 WARNING messages that resource XYZ
> > could
> > not be loaded, I am trying to build and run the example apps.  The vlib
> > ones
> > seem to just create jars, so they won't tell me much.  The TimeTracker
> > builds a WAR file, but when deployed, I get this error (tomcat 5.5.17 on
> > OSX
> > intel box):
> >
> > 1-SNAPSHOT] [ERROR] Servlet /tapestry-TimeTracker-4.1.1-SNAPSHOT threw
> > load() exception
> > org.apache.hivemind.ApplicationRuntimeException: Error: Module
> > tapestry.annotation is duplicated!  Definition in
> > jar:file:/Users/irving/work/apache/apache-tomcat-5.5.17
> /webapps/tapestry-
> > TimeTracker-4.1.1-SNAPSHOT/WEB-INF/lib/tapestry-
> > annotations-4.1.1-SNAPSHOT.jar!/META-INF/hivemodule.xml has been ignored
> > in
> > favor of existing definition from
> > jar:file:/Users/irving/work/apache/apache-
> > tomcat-5.5.17/webapps/tapestry-TimeTracker-4.1.1-SNAPSHOT
> > /WEB-INF/lib/tapestry-
> > annotations-4.1.1-20060827.214823-24.jar!/META-INF/hivemodule.xml.
> >         at org.apache.hivemind.impl.StrictErrorHandler.error(
> > StrictErrorHandler.java:39)
> >         at
> >
> org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescriptor
> > (RegistryInfrastructureConstructor.java:202)
> >         at
> > org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider
> (
> > RegistryBuilder.java:168)
> >         at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(
> > RegistryBuilder.java:143)
> >         at org.apache.tapestry.ApplicationServlet.constructRegistry(
> > ApplicationServlet.java:253)
> >         at org.apache.tapestry.ApplicationServlet.init(
> > ApplicationServlet.java:194)
> >         at org.apache.catalina.core.StandardWrapper.loadServlet(
> > StandardWrapper.java:1105)
> >         at org.apache.catalina.core.StandardWrapper.load(
> > StandardWrapper.java:932)
> >         at org.apache.catalina.core.StandardContext.loadOnStartup(
> > StandardContext.java:3917)
> >         at org.apache.catalina.core.StandardContext.start(
> > StandardContext.java:4201)
> >         at org.apache.catalina.core.ContainerBase.addChildInternal(
> > ContainerBase.java:759)
> >         at org.apache.catalina.core.ContainerBase.addChild(
> > ContainerBase.java:739)
> >         at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> > :524)
> >         at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java
> > :809)
> >         at
> > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> > :698)
> >         at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> > :472)
> >         at org.apache.catalina.startup.HostConfig.check(HostConfig.java
> > :1190)
> >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > HostConfig.java:292)
> >         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> > LifecycleSupport.java:119)
> >         at org.apache.catalina.core.ContainerBase.backgroundProcess(
> > ContainerBase.java:1305)
> >         at
> >
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> > (ContainerBase.java:1569)
> >         at
> >
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> > (ContainerBase.java:1578)
> >         at
> > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
> > ContainerBase.java:1558)
> >         at java.lang.Thread.run(Thread.java:613)
> >
> > So, I then moved onto Workbench, and getting this error on compile:
> >
> > /Users/irving/work/apache/tapestry-4.1-src
> /tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[17,26]
> > package javax.servlet.http does not exist
> >
> > /Users/irving/work/apache/tapestry-4.1-src
> /tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[42,40]
> > cannot find symbol
> > symbol  : class HttpServletRequest
> > location: class org.apache.tapestry.workbench.RequestDecoder
> >
> > /Users/irving/work/apache/tapestry-4.1-src
> /tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartService.java:[95,29]
> > cannot access javax.servlet.http.HttpServletResponse
> > file javax/servlet/http/HttpServletResponse.class not found
> >                 JPEGEncoder13.encode(chart, 1.0f, output);
> >
> > Looks like some standard servlet stuff isn't getting pulled in as a
> > compile
> > time jar need.  I will look into that, but thought I'd include errors a
> > newbie was having upon initial trials (in hopes that this will be
> > archived
> > in case other newbies have the same problem)
> >
> > Thanks for any info.
> >
> > Irv
> >
> > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >>
> >> That was exactly what I was looking for.  Thanks, this will get me
> >> started.
> >>
> >>
> >> Irv
> >>
> >> On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
> >> >
> >> > Yeah, Maven is definitely the "greased path" here. :)
> >> > If you checkout the whole tapestry project, you can run "mvn
> >> > -Dmaven.test.skip=true install" to compile everything and install the
> >> > jars
> >> > in your local repository:
> >> >
> >> > [INFO] Tapestry ..............................................
> SUCCESS
> >> > [1.125s]
> >> > [INFO] Core Library ..........................................
> SUCCESS
> >> > [8.141s]
> >> > [INFO] Contrib ...............................................
> SUCCESS
> >> > [1.656s]
> >> > [INFO] Annotations ...........................................
> SUCCESS
> >> > [0.547s]
> >> > [INFO] Portlet ...............................................
> SUCCESS
> >> > [0.531s]
> >> > [INFO] Examples ..............................................
> SUCCESS
> >> > [0.031s]
> >> > [INFO] Tapestry Virtual Library (Beans) ......................
> SUCCESS
> >> > [0.235s]
> >> > [INFO] Tapestry Virtual Library ..............................
> SUCCESS
> >> > [0.312s]
> >> > [INFO] Tapestry Time Tracker .................................
> SUCCESS
> >> > [1.250s]
> >> > [INFO] Tapestry Workbench ....................................
> SUCCESS
> >> > [0.891s]
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] BUILD SUCCESSFUL
> >> > [INFO]
> >> >
> >>
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 15 seconds
> >> >
> >> >
> >> > To build the examples, move to the /tapestry-examples dir and run the
> >> > same
> >> > thing. You'll now have the example wars in your local repo as well as
> >> in
> >> >
> >> > the /target/ dir of each example
> >> > (tapestry/tapestry-examples/TimeTracker/target/tapestry-
> >> > TimeTracker-4.1.1-SNAPSHOT.war).
> >> >
> >> > Maven uses these lifecycle phases instead of targets:
> >> >
> >> >
> >>
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> >> >
> >> > Martin
> >> >
> >> > On Mon, 18 Sep 2006 04:55:43 +0200, Irv Salisbury
> >> > <irv.salisbury@gmail.com > wrote:
> >> > > Thanks, I should have been clearer... My bad.  I know to put those
> >> in
> >> > > there.  In the 4.02 stuff I downloaded and got working fine, there
> >> > > seemed to
> >> > > be a directory structure that was the "greased path" to pull in
> >> > > hivemind.  I
> >> > > basically copied what was in examples to get it working, called the
> >> > ant
> >> > > targets and everything worked fine.  In the 4.1 manual download,
> >> all I
> >> > > get
> >> > > is a bunch of jar files, no examples.  So, when I meant "what to do
> >> > with
> >> > > those" I more meant how to structure a 4.1 app for building.
> >> > >
> >> > > It looks like I should just use maven for doing this, as it is the
> >> > > "greased
> >> > > path".   Would that be easiest?  The doc pages don't really help
> for
> >> > 4.1.
> >> > > They are great for 4.0x.
> >> > >
> >> > > Of course, whenever I run any of the maven targets, sometimes it is
> >> > able
> >> > > to
> >> > > connect to the repositories, sometimes it isn't.  That is always
> fun
> >> > > about
> >> > > using maven.  Guess that is another topic for later.
> >> > >
> >> > > So, assuming I am sitting on a fresh svn checkout of the
> repository.
> >> > > What
> >> > > maven "targets" should I call?  Also, inside tapestry-examples, are
> >> > there
> >> > > maven "targets" to call there?
> >> > >
> >> > > Thanks.
> >> > >
> >> > > Irv
> >> > >
> >> > > Is eve
> >> > > On 9/17/06, Martin Strand <martin.strand@entcap.se > wrote:
> >> > >>
> >> > >> > so I need to know what to do with those
> >> > >> Not sure what you mean... put them in WEB-INF/lib?
> >> > >>
> >> > >> If you don't use Maven you will need to download the dependencies
> >> > >> manually, they are listed here:
> >> > >>
> >> > >>
> >>
> http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html
> >> >
> >> > >> You'll need to get everything under "compile" and "provided" and
> >> also
> >> > >> "commons-io" under "transitive" -> "compile"
> >> > >> (However, I doubt tapestry-testng is needed)
> >> > >>
> >> > >> Once you've got all the jars in WEB-INF/lib, Tapestry 4.1.1 should
> >> > work
> >> > >> fine. :)
> >> > >>
> >> > >> Martin
> >> > >>
> >> > >> On Mon, 18 Sep 2006 04:15:21 +0200, Irv Salisbury
> >> > >> <ir...@gmail.com> wrote:
> >> > >>
> >> > >> > Ok, so our project uses ant, not maven2.  Am I best off getting
> >> the
> >> > >> > subversion like I am?  Or should i get the last 4.1 build (which
> >> > was a
> >> > >> > bunch
> >> > >> > of jar files so I need to know what to do with those)
> >> > >> >
> >> > >> > Thanks for being patient guys.  I realize with just starting
> with
> >> > >> > tapestry I
> >> > >> > am biting off a bit much with 4.1, but that is the only version
> >> > that
> >> > >> will
> >> > >> > give us the dojo ajax stuff we need.
> >> > >> >
> >> > >> > Irv
> >> > >> >
> >> > >> > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
> >> > >> >>
> >> > >> >> I don't absolutely, but i need a 4.1 version.  I don't
> >> understand
> >> > >> that
> >> > >> >> much about the maven repo.  How do I use the 4.1.1-SNAPSHOTfrom
> >> > the
> >> > >> >> maven
> >> > >> >> repo?
> >> > >> >>
> >> > >> >> Thanks,
> >> > >> >>
> >> > >> >> Irv
> >> > >> >>
> >> > >> >>
> >> > >> >> On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
> >> > >> >> >
> >> > >> >> > Are you absolutely sure you need the latest bleeding edge
> >> > version?
> >> > >> >> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
> >> > >> >> > http://tapestry.apache.org/tapestry4.1/download.html
> >> > >> >> >
> >> > >> >> > Martin
> >> > >> >> >
> >> > >> >> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
> >> > >> >> > <irv.salisbury@gmail.com > wrote:
> >> > >> >> >
> >> > >> >> > > Upon doing an mvn compile, I am getting this warning:
> >> > >> >> > >
> >> > >> >> > > [WARNING]
> >> > >> >> > >         Artifact commons-logging:commons-logging:jar: 1.0.4
> >> > >> retains
> >> > >> >> > local
> >> > >> >> > > scope 'provided' overriding broader scope 'compile'
> >> > >> >> > >         given by a dependency. If this is not intended,
> >> modify
> >> > or
> >> > >> >> > remove
> >> > >> >> > > the
> >> > >> >> > > local scope.
> >> > >> >> > >
> >> > >> >> > > then, I get an error:
> >> > >> >> > >
> >> > >> >> > >
> >> > >> >> /Users/irving/work/apache/tapestry-4.1-src
> >> > >>
> >> >
> >>
> /tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> >> > >> >> >
> >> > >> >> > > cannot access org.apache.commons.logging.Log
> >> > >> >> > > file org/apache/commons/logging/Log.class not found
> >> > >> >> > >     private static final MessageFormatter _formatter = new
> >> > >> >> > > MessageFormatter(
> >> > >> >> > >
> >> > >> >> > > I realize 4.1 is pretty new, but we really need the ajax
> >> > stuff.
> >> > >> Of
> >> > >> >> > > course,
> >> > >> >> > > 4.0.2 went very smoothly.  I guess I am just more used to
> >> ant.
> >> > >> Any
> >> > >> >> > > pages or
> >> > >> >> > > docs that I can be pointed to for buidling or using 4.1
> >> would
> >> > be
> >> > >> >> > great!
> >> > >> >> > >
> >> > >> >> > > Thanks
> >> > >> >> > >
> >> > >> >> > > Irv
> >> > >> >> > >
> >> > >> >> > > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
> >> > >> >> > >>
> >> > >> >> > >> As an update, I did get the subversion source.  I was able
> >> to
> >> > >> build
> >> > >> >> > most
> >> > >> >> > >> of it, but the annotations are dying upon build.  I am
> >> > building
> >> > >> on
> >> > >> >> > OSX.
> >> > >> >> > >>
> >> > >> >> > >> So, i went into the examples directory and did mvn
> compile,
> >> > >> which
> >> > >> >> > seemed
> >> > >> >> > >> to build fine.  I am trying to figure out how to get a war
> >> > file
> >> > >> >> now.
> >> > >> >> > >> Did a
> >> > >> >> > >> mvn war but that didn't work.  Didn't see anything at the
> >> > build
> >> > >> >> pages
> >> > >> >> > >> on how
> >> > >> >> > >> to do that.
> >> > >> >> > >>
> >> > >> >> > >> Irv
> >> > >> >> > >>
> >> > >> >> > >>
> >> > >> >> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com >
> >> wrote:
> >> > >> >> > >> >
> >> > >> >> > >> > Yes, I already looked at that page as I said in my
> >> > email.  The
> >> > >> >> > first
> >> > >> >> > >> > thing it tells you is you can download the official
> >> > >> >> > jar-only.  Doing
> >> > >> >> > >> that
> >> > >> >> > >> > for 4.02 comes with a whole directory structure that was
> >> > >> >> reasonably
> >> > >> >> > >> easy
> >> > >> >> > >> > to follow how to use the examples, etc.  That was fine.
> >> I
> >> > >> then
> >> > >> >> did
> >> > >> >> > >> that for
> >> > >> >> > >> > 4.1 and just a bunch of jar files came down.  Am I
> >> supposed
> >> > to
> >> > >> >> > extract
> >> > >> >> > >> > all those?  Is there something else to do?  The README
> >> > didn't
> >> > >> >> seem
> >> > >> >> > to
> >> > >> >> > >> point
> >> > >> >> > >> > to anything.
> >> > >> >> > >> >
> >> > >> >> > >> > The second instructions are to add something to your
> >> > project's
> >> > >> >> pom
> >> > >> >> > >> > file.  Our project doesn't have a pom file, and we
> aren't
> >> > >> using
> >> > >> >> > >> maven2.  We
> >> > >> >> > >> > don't want to use maven2 for our project unless we have
> >> to.
> >> >
> >> > >> We
> >> > >> >> use
> >> > >> >> >
> >> > >> >> > >> ant
> >> > >> >> > >> > only.
> >> > >> >> > >> >
> >> > >> >> > >> > So, I am back at my original question.  What is the
> >> > preferred
> >> > >> >> way,
> >> > >> >> > >> > specifically for 4.1 to build and work with it.  I have
> >> > >> >> downloaded
> >> > >> >> > >> > source using subversion and pulled maven down and am
> >> > building
> >> > >> >> that
> >> > >> >> > >> way.  Am
> >> > >> >> > >> > I on the right track?  I realize 4.1 is brand new, but I
> >> > just
> >> > >> >> want
> >> > >> >> > to
> >> > >> >> > >> > make sure I am going down the right path.
> >> > >> >> > >> >
> >> > >> >> > >> > Thanks,
> >> > >> >> > >> >
> >> > >> >> > >> > Irv
> >> > >> >> > >> >
> >> > >> >> > >> >
> >> > >> >> > >> > On 9/17/06, Norbert Sándor < developer@erinors.com >
> >> wrote:
> >> >
> >> > >> >> > >> > >
> >> > >> >> > >> > > I recommend you to explore the demo applications. They
> >> > >> already
> >> > >> >> > have
> >> > >> >> > >> > > the
> >> > >> >> > >> > > appropriate file structure, dependencies, etc.
> >> > >> >> > >> > > For download instructions, see
> >> > >> >> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
> >> > >> >> > >> > >
> >> > >> >> > >> > > Regards,
> >> > >> >> > >> > > Norbi
> >> > >> >> > >> > >
> >> > >> >> > >> > > Irv Salisbury wrote:
> >> > >> >> > >> > > > We are trying to explore Tapestry 4.1.  We are also
> >> not
> >> > >> that
> >> > >> >> > >> > > familiar
> >> > >> >> > >> > > > with
> >> > >> >> > >> > > > maven.  I downloaded the "official jar" release, but
> >> I
> >> > had
> >> > >> >> > trouble
> >> > >> >> > >> > > > figuring
> >> > >> >> > >> > > > out what to do with the jar files.
> >> > >> >> > >> > > >
> >> > >> >> > >> > > > Can someone give me help on the preferred way to
> >> > download
> >> > >> and
> >> > >> >> > >> > > install
> >> > >> >> > >> > > > 4.1 to
> >> > >> >> > >> > > > get started.  It is our first Tapestry app, so keep
> >> > that
> >> > >> in
> >> > >> >> > >> > > mind.  We did
> >> > >> >> > >> > > > download 4.02 and were able to get a small app
> >> working
> >> > in
> >> > >> >> that.
> >> > >> >> > >> > > >
> >> > >> >> > >> > > > Should I use subversion, etc?
> >> > >> >> > >> > > >
> >> > >> >> > >> > > > Thanks,
> >> > >> >> > >> > > >
> >> > >> >> > >> > > > Irv
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
Never mind on timetracker.  It must have been something I did.  I cleaned
everything out and started again and no duplicate jar files were found.

Irv

On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>
> Here is a screenshot of what is in WEB-INF/lib under TimeTracker.  Looks
> like a couple of jar files are getting duplicated somehow.  Probably
> something I am doing wrong :-(
>
>
>
>
> On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >
> > Ok, so other than getting like 100 WARNING messages that resource XYZ
> > could not be loaded, I am trying to build and run the example apps.  The
> > vlib ones seem to just create jars, so they won't tell me much.  The
> > TimeTracker builds a WAR file, but when deployed, I get this error (tomcat
> > 5.5.17 on OSX intel box):
> >
> > 1-SNAPSHOT] [ERROR] Servlet /tapestry-TimeTracker-4.1.1-SNAPSHOT threw
> > load() exception
> > org.apache.hivemind.ApplicationRuntimeException: Error: Module
> > tapestry.annotation is duplicated!  Definition in
> > jar:file:/Users/irving/work/apache/apache- tomcat-5.5.17
> > /webapps/tapestry-TimeTracker-4.1.1-SNAPSHOT/WEB-INF/lib/tapestry-
> > annotations-4.1.1-SNAPSHOT.jar!/META-INF/hivemodule.xml has been ignored
> > in favor of existing definition from
> > jar:file:/Users/irving/work/apache/apache- tomcat-5.5.17
> > /webapps/tapestry-TimeTracker-4.1.1-SNAPSHOT/WEB-INF/lib/tapestry-
> > annotations-4.1.1-20060827.214823-24.jar!/META-INF/hivemodule.xml.
> >         at org.apache.hivemind.impl.StrictErrorHandler.error(
> > StrictErrorHandler.java :39)
> >         at
> > org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescriptor
> > (RegistryInfrastructureConstructor.java:202)
> >         at
> > org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(
> > RegistryBuilder.java:168)
> >         at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(
> > RegistryBuilder.java:143)
> >         at org.apache.tapestry.ApplicationServlet.constructRegistry(
> > ApplicationServlet.java :253)
> >         at org.apache.tapestry.ApplicationServlet.init(
> > ApplicationServlet.java:194)
> >         at org.apache.catalina.core.StandardWrapper.loadServlet(
> > StandardWrapper.java:1105)
> >         at org.apache.catalina.core.StandardWrapper.load (
> > StandardWrapper.java:932)
> >         at org.apache.catalina.core.StandardContext.loadOnStartup(
> > StandardContext.java:3917)
> >         at org.apache.catalina.core.StandardContext.start(
> > StandardContext.java:4201)
> >         at org.apache.catalina.core.ContainerBase.addChildInternal(
> > ContainerBase.java:759)
> >         at org.apache.catalina.core.ContainerBase.addChild(
> > ContainerBase.java:739)
> >         at org.apache.catalina.core.StandardHost.addChild (
> > StandardHost.java:524)
> >         at org.apache.catalina.startup.HostConfig.deployWAR(
> > HostConfig.java:809)
> >         at org.apache.catalina.startup.HostConfig.deployWARs(
> > HostConfig.java:698)
> >         at org.apache.catalina.startup.HostConfig.deployApps (
> > HostConfig.java:472)
> >         at org.apache.catalina.startup.HostConfig.check(HostConfig.java
> > :1190)
> >         at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> > HostConfig.java:292)
> >         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> > LifecycleSupport.java:119)
> >         at org.apache.catalina.core.ContainerBase.backgroundProcess(
> > ContainerBase.java:1305)
> >         at
> > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(
> > ContainerBase.java:1569)
> >         at
> > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> > (ContainerBase.java:1578)
> >         at
> > org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
> > ContainerBase.java:1558)
> >         at java.lang.Thread.run(Thread.java:613)
> >
> > So, I then moved onto Workbench, and getting this error on compile:
> >
> > /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[17,26]
> > package javax.servlet.http does not exist
> >
> > /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[42,40]
> > cannot find symbol
> > symbol  : class HttpServletRequest
> > location: class org.apache.tapestry.workbench.RequestDecoder
> >
> > /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartService.java:[95,29]
> > cannot access javax.servlet.http.HttpServletResponse
> > file javax/servlet/http/HttpServletResponse.class not found
> >                 JPEGEncoder13.encode(chart, 1.0f, output);
> >
> > Looks like some standard servlet stuff isn't getting pulled in as a
> > compile time jar need.  I will look into that, but thought I'd include
> > errors a newbie was having upon initial trials (in hopes that this will be
> > archived in case other newbies have the same problem)
> >
> > Thanks for any info.
> >
> >
> > Irv
> >
> > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
> > >
> > > That was exactly what I was looking for.  Thanks, this will get me
> > > started.
> > >
> > >
> > > Irv
> > >
> > > On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
> > > >
> > > > Yeah, Maven is definitely the "greased path" here. :)
> > > > If you checkout the whole tapestry project, you can run "mvn
> > > > -Dmaven.test.skip=true install" to compile everything and install
> > > > the jars
> > > > in your local repository:
> > > >
> > > > [INFO] Tapestry ..............................................
> > > > SUCCESS
> > > > [1.125s]
> > > > [INFO] Core Library ..........................................
> > > > SUCCESS
> > > > [8.141s]
> > > > [INFO] Contrib ...............................................
> > > > SUCCESS
> > > > [1.656s]
> > > > [INFO] Annotations ...........................................
> > > > SUCCESS
> > > > [0.547s]
> > > > [INFO] Portlet ...............................................
> > > > SUCCESS
> > > > [0.531s]
> > > > [INFO] Examples ..............................................
> > > > SUCCESS
> > > > [0.031s]
> > > > [INFO] Tapestry Virtual Library (Beans) ......................
> > > > SUCCESS
> > > > [0.235s]
> > > > [INFO] Tapestry Virtual Library ..............................
> > > > SUCCESS
> > > > [0.312s]
> > > > [INFO] Tapestry Time Tracker .................................
> > > > SUCCESS
> > > > [1.250s]
> > > > [INFO] Tapestry Workbench ....................................
> > > > SUCCESS
> > > > [0.891s]
> > > > [INFO]
> > > >
> > > > ------------------------------------------------------------------------
> > > > [INFO]
> > > >
> > > > ------------------------------------------------------------------------
> > > > [INFO] BUILD SUCCESSFUL
> > > > [INFO]
> > > >
> > > > ------------------------------------------------------------------------
> > > > [INFO] Total time: 15 seconds
> > > >
> > > >
> > > > To build the examples, move to the /tapestry-examples dir and run
> > > > the same
> > > > thing. You'll now have the example wars in your local repo as well
> > > > as in
> > > > the /target/ dir of each example
> > > > (tapestry/tapestry-examples/TimeTracker/target/tapestry-
> > > > TimeTracker-4.1.1-SNAPSHOT.war).
> > > >
> > > > Maven uses these lifecycle phases instead of targets:
> > > >
> > > > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> > > >
> > > > Martin
> > > >
> > > > On Mon, 18 Sep 2006 04:55:43 +0200, Irv Salisbury
> > > > < irv.salisbury@gmail.com > wrote:
> > > > > Thanks, I should have been clearer... My bad.  I know to put those
> > > > in
> > > > > there.  In the 4.02 stuff I downloaded and got working fine, there
> > > > > seemed to
> > > > > be a directory structure that was the "greased path" to pull in
> > > > > hivemind.  I
> > > > > basically copied what was in examples to get it working, called
> > > > the ant
> > > > > targets and everything worked fine.  In the 4.1 manual download,
> > > > all I
> > > > > get
> > > > > is a bunch of jar files, no examples.  So, when I meant "what to
> > > > do with
> > > > > those" I more meant how to structure a 4.1 app for building.
> > > > >
> > > > > It looks like I should just use maven for doing this, as it is the
> > > > > "greased
> > > > > path".   Would that be easiest?  The doc pages don't really help
> > > > for 4.1.
> > > > > They are great for 4.0x.
> > > > >
> > > > > Of course, whenever I run any of the maven targets, sometimes it
> > > > is able
> > > > > to
> > > > > connect to the repositories, sometimes it isn't.  That is always
> > > > fun
> > > > > about
> > > > > using maven.  Guess that is another topic for later.
> > > > >
> > > > > So, assuming I am sitting on a fresh svn checkout of the
> > > > repository.
> > > > > What
> > > > > maven "targets" should I call?  Also, inside tapestry-examples,
> > > > are there
> > > > > maven "targets" to call there?
> > > > >
> > > > > Thanks.
> > > > >
> > > > > Irv
> > > > >
> > > > > Is eve
> > > > > On 9/17/06, Martin Strand < martin.strand@entcap.se > wrote:
> > > > >>
> > > > >> > so I need to know what to do with those
> > > > >> Not sure what you mean... put them in WEB-INF/lib?
> > > > >>
> > > > >> If you don't use Maven you will need to download the dependencies
> > > >
> > > > >> manually, they are listed here:
> > > > >>
> > > > >> http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html
> > > >
> > > > >> You'll need to get everything under "compile" and "provided" and
> > > > also
> > > > >> "commons-io" under "transitive" -> "compile"
> > > > >> (However, I doubt tapestry-testng is needed)
> > > > >>
> > > > >> Once you've got all the jars in WEB-INF/lib, Tapestry 4.1.1should work
> > > > >> fine. :)
> > > > >>
> > > > >> Martin
> > > > >>
> > > > >> On Mon, 18 Sep 2006 04:15:21 +0200, Irv Salisbury
> > > > >> <ir...@gmail.com> wrote:
> > > > >>
> > > > >> > Ok, so our project uses ant, not maven2.  Am I best off getting
> > > > the
> > > > >> > subversion like I am?  Or should i get the last 4.1 build
> > > > (which was a
> > > > >> > bunch
> > > > >> > of jar files so I need to know what to do with those)
> > > > >> >
> > > > >> > Thanks for being patient guys.  I realize with just starting
> > > > with
> > > > >> > tapestry I
> > > > >> > am biting off a bit much with 4.1, but that is the only version
> > > > that
> > > > >> will
> > > > >> > give us the dojo ajax stuff we need.
> > > > >> >
> > > > >> > Irv
> > > > >> >
> > > > >> > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
> > > > >> >>
> > > > >> >> I don't absolutely, but i need a 4.1 version.  I don't
> > > > understand
> > > > >> that
> > > > >> >> much about the maven repo.  How do I use the 4.1.1-SNAPSHOTfrom the
> > > > >> >> maven
> > > > >> >> repo?
> > > > >> >>
> > > > >> >> Thanks,
> > > > >> >>
> > > > >> >> Irv
> > > > >> >>
> > > > >> >>
> > > > >> >> On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
> > > > >> >> >
> > > > >> >> > Are you absolutely sure you need the latest bleeding edge
> > > > version?
> > > > >> >> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
> > > > >> >> > http://tapestry.apache.org/tapestry4.1/download.html
> > > > >> >> >
> > > > >> >> > Martin
> > > > >> >> >
> > > > >> >> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
> > > > >> >> > < irv.salisbury@gmail.com > wrote:
> > > > >> >> >
> > > > >> >> > > Upon doing an mvn compile, I am getting this warning:
> > > > >> >> > >
> > > > >> >> > > [WARNING]
> > > > >> >> > >         Artifact commons-logging:commons-logging:jar:
> > > > 1.0.4
> > > > >> retains
> > > > >> >> > local
> > > > >> >> > > scope 'provided' overriding broader scope 'compile'
> > > > >> >> > >         given by a dependency. If this is not intended,
> > > > modify or
> > > > >> >> > remove
> > > > >> >> > > the
> > > > >> >> > > local scope.
> > > > >> >> > >
> > > > >> >> > > then, I get an error:
> > > > >> >> > >
> > > > >> >> > >
> > > > >> >> /Users/irving/work/apache/tapestry-4.1-src
> > > > >>
> > > > /tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> > > > >> >> >
> > > > >> >> > > cannot access org.apache.commons.logging.Log
> > > > >> >> > > file org/apache/commons/logging/Log.class not found
> > > > >> >> > >     private static final MessageFormatter _formatter = new
> > > >
> > > > >> >> > > MessageFormatter(
> > > > >> >> > >
> > > > >> >> > > I realize 4.1 is pretty new, but we really need the ajax
> > > > stuff.
> > > > >> Of
> > > > >> >> > > course,
> > > > >> >> > > 4.0.2 went very smoothly.  I guess I am just more used to
> > > > ant.
> > > > >> Any
> > > > >> >> > > pages or
> > > > >> >> > > docs that I can be pointed to for buidling or using 4.1would be
> > > > >> >> > great!
> > > > >> >> > >
> > > > >> >> > > Thanks
> > > > >> >> > >
> > > > >> >> > > Irv
> > > > >> >> > >
> > > > >> >> > > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com>
> > > > wrote:
> > > > >> >> > >>
> > > > >> >> > >> As an update, I did get the subversion source.  I was
> > > > able to
> > > > >> build
> > > > >> >> > most
> > > > >> >> > >> of it, but the annotations are dying upon build.  I am
> > > > building
> > > > >> on
> > > > >> >> > OSX.
> > > > >> >> > >>
> > > > >> >> > >> So, i went into the examples directory and did mvn
> > > > compile,
> > > > >> which
> > > > >> >> > seemed
> > > > >> >> > >> to build fine.  I am trying to figure out how to get a
> > > > war file
> > > > >> >> now.
> > > > >> >> > >> Did a
> > > > >> >> > >> mvn war but that didn't work.  Didn't see anything at the
> > > > build
> > > > >> >> pages
> > > > >> >> > >> on how
> > > > >> >> > >> to do that.
> > > > >> >> > >>
> > > > >> >> > >> Irv
> > > > >> >> > >>
> > > > >> >> > >>
> > > > >> >> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com >
> > > > wrote:
> > > > >> >> > >> >
> > > > >> >> > >> > Yes, I already looked at that page as I said in my
> > > > email.  The
> > > > >> >> > first
> > > > >> >> > >> > thing it tells you is you can download the official
> > > > >> >> > jar-only.  Doing
> > > > >> >> > >> that
> > > > >> >> > >> > for 4.02 comes with a whole directory structure that
> > > > was
> > > > >> >> reasonably
> > > > >> >> > >> easy
> > > > >> >> > >> > to follow how to use the examples, etc.  That was
> > > > fine.  I
> > > > >> then
> > > > >> >> did
> > > > >> >> > >> that for
> > > > >> >> > >> > 4.1 and just a bunch of jar files came down.  Am I
> > > > supposed to
> > > > >> >> > extract
> > > > >> >> > >> > all those?  Is there something else to do?  The README
> > > > didn't
> > > > >> >> seem
> > > > >> >> > to
> > > > >> >> > >> point
> > > > >> >> > >> > to anything.
> > > > >> >> > >> >
> > > > >> >> > >> > The second instructions are to add something to your
> > > > project's
> > > > >> >> pom
> > > > >> >> > >> > file.  Our project doesn't have a pom file, and we
> > > > aren't
> > > > >> using
> > > > >> >> > >> maven2.  We
> > > > >> >> > >> > don't want to use maven2 for our project unless we have
> > > > to.
> > > > >> We
> > > > >> >> use
> > > > >> >> >
> > > > >> >> > >> ant
> > > > >> >> > >> > only.
> > > > >> >> > >> >
> > > > >> >> > >> > So, I am back at my original question.  What is the
> > > > preferred
> > > > >> >> way,
> > > > >> >> > >> > specifically for 4.1 to build and work with it.  I have
> > > > >> >> downloaded
> > > > >> >> > >> > source using subversion and pulled maven down and am
> > > > building
> > > > >> >> that
> > > > >> >> > >> way.  Am
> > > > >> >> > >> > I on the right track?  I realize 4.1 is brand new, but
> > > > I just
> > > > >> >> want
> > > > >> >> > to
> > > > >> >> > >> > make sure I am going down the right path.
> > > > >> >> > >> >
> > > > >> >> > >> > Thanks,
> > > > >> >> > >> >
> > > > >> >> > >> > Irv
> > > > >> >> > >> >
> > > > >> >> > >> >
> > > > >> >> > >> > On 9/17/06, Norbert Sándor < developer@erinors.com >
> > > > wrote:
> > > > >> >> > >> > >
> > > > >> >> > >> > > I recommend you to explore the demo applications.
> > > > They
> > > > >> already
> > > > >> >> > have
> > > > >> >> > >> > > the
> > > > >> >> > >> > > appropriate file structure, dependencies, etc.
> > > > >> >> > >> > > For download instructions, see
> > > > >> >> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
> > > > >> >> > >> > >
> > > > >> >> > >> > > Regards,
> > > > >> >> > >> > > Norbi
> > > > >> >> > >> > >
> > > > >> >> > >> > > Irv Salisbury wrote:
> > > > >> >> > >> > > > We are trying to explore Tapestry 4.1.  We are also
> > > > not
> > > > >> that
> > > > >> >> > >> > > familiar
> > > > >> >> > >> > > > with
> > > > >> >> > >> > > > maven.  I downloaded the "official jar" release,
> > > > but I had
> > > > >> >> > trouble
> > > > >> >> > >> > > > figuring
> > > > >> >> > >> > > > out what to do with the jar files.
> > > > >> >> > >> > > >
> > > > >> >> > >> > > > Can someone give me help on the preferred way to
> > > > download
> > > > >> and
> > > > >> >> > >> > > install
> > > > >> >> > >> > > > 4.1 to
> > > > >> >> > >> > > > get started.  It is our first Tapestry app, so keep
> > > > that
> > > > >> in
> > > > >> >> > >> > > mind.  We did
> > > > >> >> > >> > > > download 4.02 and were able to get a small app
> > > > working in
> > > > >> >> that.
> > > > >> >> > >> > > >
> > > > >> >> > >> > > > Should I use subversion, etc?
> > > > >> >> > >> > > >
> > > > >> >> > >> > > > Thanks,
> > > > >> >> > >> > > >
> > > > >> >> > >> > > > Irv
> > > > >> >> > >> > > >
> > > > >> >> > >> > > >
> > > > >> >> > >> > >
> > > > >> >> > >>
> > > > >> >> >
> > > > >> >>
> > > > >>
> > > > ------------------------------------------------------------------------
> > > > >> >> > >> > > >
> > > > >> >> > >> > > > No virus found in this incoming message.
> > > > >> >> > >> > > > Checked by AVG Free Edition.
> > > > >> >> > >> > > > Version: 7.1.405 / Virus Database: 268.12.4 /449 -
> > > > Release
> > > > >> >> > Date:
> > > > >> >> > >> > > 2006.09.15.
> > > > >> >> > >> > > >
> > > > >> >> > >> > > >
> > > > >> >> > >> > >
> > > > >> >> > >> > >
> > > > >> >> > >> > >
> > > > >> >> > >>
> > > > >> >>
> > > > ---------------------------------------------------------------------
> > > > >> >> >
> > > > >> >> > >> > > To unsubscribe, e-mail:
> > > > >> users-unsubscribe@tapestry.apache.org
> > > > >> >> > >> > > For additional commands, e-mail:
> > > > >> users-help@tapestry.apache.org
> > > > >> >> > >> > >
> > > > >> >> > >> > >
> > > > >> >> > >> >
> > > > >> >> > >>
> > > > >> >> > >
> > > > >> >> >
> > > > >> >> >
> > > > >> >> >
> > > > >> >> >
> > > > >>
> > > > ---------------------------------------------------------------------
> > > > >> >> > To unsubscribe, e-mail:
> > > > users-unsubscribe@tapestry.apache.org
> > > > >> >> > For additional commands, e-mail: users-help@tapestry.apache.org
> > > >
> > > > >> >> >
> > > > >> >> >
> > > > >> >>
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > ---------------------------------------------------------------------
> > > > >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > > >> For additional commands, e-mail: users-help@tapestry.apache.org
> > > > >>
> > > > >>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > > For additional commands, e-mail: users-help@tapestry.apache.org
> > > >
> > > >
> > >
> >
>
>

Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
Here is a screenshot of what is in WEB-INF/lib under TimeTracker.  Looks
like a couple of jar files are getting duplicated somehow.  Probably
something I am doing wrong :-(



On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>
> Ok, so other than getting like 100 WARNING messages that resource XYZ
> could not be loaded, I am trying to build and run the example apps.  The
> vlib ones seem to just create jars, so they won't tell me much.  The
> TimeTracker builds a WAR file, but when deployed, I get this error (tomcat
> 5.5.17 on OSX intel box):
>
> 1-SNAPSHOT] [ERROR] Servlet /tapestry-TimeTracker-4.1.1-SNAPSHOT threw
> load() exception
> org.apache.hivemind.ApplicationRuntimeException: Error: Module
> tapestry.annotation is duplicated!  Definition in
> jar:file:/Users/irving/work/apache/apache- tomcat-5.5.17/webapps/tapestry-
> TimeTracker-4.1.1-SNAPSHOT/WEB-INF/lib/tapestry-
> annotations-4.1.1-SNAPSHOT.jar!/META-INF/hivemodule.xml has been ignored
> in favor of existing definition from
> jar:file:/Users/irving/work/apache/apache- tomcat-5.5.17/webapps/tapestry-
> TimeTracker-4.1.1-SNAPSHOT/WEB-INF/lib/tapestry-
> annotations-4.1.1-20060827.214823-24.jar!/META-INF/hivemodule.xml.
>         at org.apache.hivemind.impl.StrictErrorHandler.error(
> StrictErrorHandler.java :39)
>         at
> org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescriptor
> (RegistryInfrastructureConstructor.java:202)
>         at
> org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider (
> RegistryBuilder.java:168)
>         at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(
> RegistryBuilder.java:143)
>         at org.apache.tapestry.ApplicationServlet.constructRegistry(
> ApplicationServlet.java:253)
>         at org.apache.tapestry.ApplicationServlet.init(
> ApplicationServlet.java:194)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(
> StandardWrapper.java:1105)
>         at org.apache.catalina.core.StandardWrapper.load (
> StandardWrapper.java:932)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(
> StandardContext.java:3917)
>         at org.apache.catalina.core.StandardContext.start(
> StandardContext.java:4201)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(
> ContainerBase.java:739)
>         at org.apache.catalina.core.StandardHost.addChild (
> StandardHost.java:524)
>         at org.apache.catalina.startup.HostConfig.deployWAR(
> HostConfig.java:809)
>         at org.apache.catalina.startup.HostConfig.deployWARs(
> HostConfig.java:698)
>         at org.apache.catalina.startup.HostConfig.deployApps (
> HostConfig.java:472)
>         at org.apache.catalina.startup.HostConfig.check(HostConfig.java
> :1190)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java:292)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (
> LifecycleSupport.java:119)
>         at org.apache.catalina.core.ContainerBase.backgroundProcess(
> ContainerBase.java:1305)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(
> ContainerBase.java:1569)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> (ContainerBase.java:1578)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run (
> ContainerBase.java:1558)
>         at java.lang.Thread.run(Thread.java:613)
>
> So, I then moved onto Workbench, and getting this error on compile:
>
> /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[17,26]
> package javax.servlet.http does not exist
>
> /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[42,40]
> cannot find symbol
> symbol  : class HttpServletRequest
> location: class org.apache.tapestry.workbench.RequestDecoder
>
> /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartService.java:[95,29]
> cannot access javax.servlet.http.HttpServletResponse
> file javax/servlet/http/HttpServletResponse.class not found
>                 JPEGEncoder13.encode(chart, 1.0f, output);
>
> Looks like some standard servlet stuff isn't getting pulled in as a
> compile time jar need.  I will look into that, but thought I'd include
> errors a newbie was having upon initial trials (in hopes that this will be
> archived in case other newbies have the same problem)
>
> Thanks for any info.
>
>
> Irv
>
> On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >
> > That was exactly what I was looking for.  Thanks, this will get me
> > started.
> >
> >
> > Irv
> >
> > On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
> > >
> > > Yeah, Maven is definitely the "greased path" here. :)
> > > If you checkout the whole tapestry project, you can run "mvn
> > > -Dmaven.test.skip=true install" to compile everything and install the
> > > jars
> > > in your local repository:
> > >
> > > [INFO] Tapestry .............................................. SUCCESS
> > >
> > > [1.125s]
> > > [INFO] Core Library .......................................... SUCCESS
> > > [8.141s]
> > > [INFO] Contrib ............................................... SUCCESS
> > > [1.656s]
> > > [INFO] Annotations ........................................... SUCCESS
> > >
> > > [0.547s]
> > > [INFO] Portlet ............................................... SUCCESS
> > > [0.531s]
> > > [INFO] Examples .............................................. SUCCESS
> > > [0.031s]
> > > [INFO] Tapestry Virtual Library (Beans) ...................... SUCCESS
> > >
> > > [0.235s]
> > > [INFO] Tapestry Virtual Library .............................. SUCCESS
> > > [0.312s]
> > > [INFO] Tapestry Time Tracker ................................. SUCCESS
> > > [1.250s]
> > > [INFO] Tapestry Workbench .................................... SUCCESS
> > >
> > > [0.891s]
> > > [INFO]
> > >
> > > ------------------------------------------------------------------------
> > > [INFO]
> > >
> > > ------------------------------------------------------------------------
> > > [INFO] BUILD SUCCESSFUL
> > > [INFO]
> > >
> > > ------------------------------------------------------------------------
> > > [INFO] Total time: 15 seconds
> > >
> > >
> > > To build the examples, move to the /tapestry-examples dir and run the
> > > same
> > > thing. You'll now have the example wars in your local repo as well as
> > > in
> > > the /target/ dir of each example
> > > (tapestry/tapestry-examples/TimeTracker/target/tapestry-
> > > TimeTracker-4.1.1-SNAPSHOT.war).
> > >
> > > Maven uses these lifecycle phases instead of targets:
> > >
> > > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> > >
> > > Martin
> > >
> > > On Mon, 18 Sep 2006 04:55:43 +0200, Irv Salisbury
> > > < irv.salisbury@gmail.com > wrote:
> > > > Thanks, I should have been clearer... My bad.  I know to put those
> > > in
> > > > there.  In the 4.02 stuff I downloaded and got working fine, there
> > > > seemed to
> > > > be a directory structure that was the "greased path" to pull in
> > > > hivemind.  I
> > > > basically copied what was in examples to get it working, called the
> > > ant
> > > > targets and everything worked fine.  In the 4.1 manual download, all
> > > I
> > > > get
> > > > is a bunch of jar files, no examples.  So, when I meant "what to do
> > > with
> > > > those" I more meant how to structure a 4.1 app for building.
> > > >
> > > > It looks like I should just use maven for doing this, as it is the
> > > > "greased
> > > > path".   Would that be easiest?  The doc pages don't really help for
> > > 4.1.
> > > > They are great for 4.0x.
> > > >
> > > > Of course, whenever I run any of the maven targets, sometimes it is
> > > able
> > > > to
> > > > connect to the repositories, sometimes it isn't.  That is always fun
> > > > about
> > > > using maven.  Guess that is another topic for later.
> > > >
> > > > So, assuming I am sitting on a fresh svn checkout of the repository.
> > > > What
> > > > maven "targets" should I call?  Also, inside tapestry-examples, are
> > > there
> > > > maven "targets" to call there?
> > > >
> > > > Thanks.
> > > >
> > > > Irv
> > > >
> > > > Is eve
> > > > On 9/17/06, Martin Strand < martin.strand@entcap.se > wrote:
> > > >>
> > > >> > so I need to know what to do with those
> > > >> Not sure what you mean... put them in WEB-INF/lib?
> > > >>
> > > >> If you don't use Maven you will need to download the dependencies
> > > >> manually, they are listed here:
> > > >>
> > > >> http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html
> > >
> > > >> You'll need to get everything under "compile" and "provided" and
> > > also
> > > >> "commons-io" under "transitive" -> "compile"
> > > >> (However, I doubt tapestry-testng is needed)
> > > >>
> > > >> Once you've got all the jars in WEB-INF/lib, Tapestry 4.1.1 should
> > > work
> > > >> fine. :)
> > > >>
> > > >> Martin
> > > >>
> > > >> On Mon, 18 Sep 2006 04:15:21 +0200, Irv Salisbury
> > > >> <ir...@gmail.com> wrote:
> > > >>
> > > >> > Ok, so our project uses ant, not maven2.  Am I best off getting
> > > the
> > > >> > subversion like I am?  Or should i get the last 4.1 build (which
> > > was a
> > > >> > bunch
> > > >> > of jar files so I need to know what to do with those)
> > > >> >
> > > >> > Thanks for being patient guys.  I realize with just starting with
> > > >> > tapestry I
> > > >> > am biting off a bit much with 4.1, but that is the only version
> > > that
> > > >> will
> > > >> > give us the dojo ajax stuff we need.
> > > >> >
> > > >> > Irv
> > > >> >
> > > >> > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
> > > >> >>
> > > >> >> I don't absolutely, but i need a 4.1 version.  I don't
> > > understand
> > > >> that
> > > >> >> much about the maven repo.  How do I use the 4.1.1-SNAPSHOT from
> > > the
> > > >> >> maven
> > > >> >> repo?
> > > >> >>
> > > >> >> Thanks,
> > > >> >>
> > > >> >> Irv
> > > >> >>
> > > >> >>
> > > >> >> On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
> > > >> >> >
> > > >> >> > Are you absolutely sure you need the latest bleeding edge
> > > version?
> > > >> >> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
> > > >> >> > http://tapestry.apache.org/tapestry4.1/download.html
> > > >> >> >
> > > >> >> > Martin
> > > >> >> >
> > > >> >> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
> > > >> >> > < irv.salisbury@gmail.com > wrote:
> > > >> >> >
> > > >> >> > > Upon doing an mvn compile, I am getting this warning:
> > > >> >> > >
> > > >> >> > > [WARNING]
> > > >> >> > >         Artifact commons-logging:commons-logging:jar: 1.0.4
> > > >> retains
> > > >> >> > local
> > > >> >> > > scope 'provided' overriding broader scope 'compile'
> > > >> >> > >         given by a dependency. If this is not intended,
> > > modify or
> > > >> >> > remove
> > > >> >> > > the
> > > >> >> > > local scope.
> > > >> >> > >
> > > >> >> > > then, I get an error:
> > > >> >> > >
> > > >> >> > >
> > > >> >> /Users/irving/work/apache/tapestry-4.1-src
> > > >>
> > > /tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> > > >> >> >
> > > >> >> > > cannot access org.apache.commons.logging.Log
> > > >> >> > > file org/apache/commons/logging/Log.class not found
> > > >> >> > >     private static final MessageFormatter _formatter = new
> > > >> >> > > MessageFormatter(
> > > >> >> > >
> > > >> >> > > I realize 4.1 is pretty new, but we really need the ajax
> > > stuff.
> > > >> Of
> > > >> >> > > course,
> > > >> >> > > 4.0.2 went very smoothly.  I guess I am just more used to
> > > ant.
> > > >> Any
> > > >> >> > > pages or
> > > >> >> > > docs that I can be pointed to for buidling or using 4.1would be
> > > >> >> > great!
> > > >> >> > >
> > > >> >> > > Thanks
> > > >> >> > >
> > > >> >> > > Irv
> > > >> >> > >
> > > >> >> > > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
> > > >> >> > >>
> > > >> >> > >> As an update, I did get the subversion source.  I was able
> > > to
> > > >> build
> > > >> >> > most
> > > >> >> > >> of it, but the annotations are dying upon build.  I am
> > > building
> > > >> on
> > > >> >> > OSX.
> > > >> >> > >>
> > > >> >> > >> So, i went into the examples directory and did mvn compile,
> > >
> > > >> which
> > > >> >> > seemed
> > > >> >> > >> to build fine.  I am trying to figure out how to get a war
> > > file
> > > >> >> now.
> > > >> >> > >> Did a
> > > >> >> > >> mvn war but that didn't work.  Didn't see anything at the
> > > build
> > > >> >> pages
> > > >> >> > >> on how
> > > >> >> > >> to do that.
> > > >> >> > >>
> > > >> >> > >> Irv
> > > >> >> > >>
> > > >> >> > >>
> > > >> >> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com >
> > > wrote:
> > > >> >> > >> >
> > > >> >> > >> > Yes, I already looked at that page as I said in my
> > > email.  The
> > > >> >> > first
> > > >> >> > >> > thing it tells you is you can download the official
> > > >> >> > jar-only.  Doing
> > > >> >> > >> that
> > > >> >> > >> > for 4.02 comes with a whole directory structure that was
> > > >> >> reasonably
> > > >> >> > >> easy
> > > >> >> > >> > to follow how to use the examples, etc.  That was
> > > fine.  I
> > > >> then
> > > >> >> did
> > > >> >> > >> that for
> > > >> >> > >> > 4.1 and just a bunch of jar files came down.  Am I
> > > supposed to
> > > >> >> > extract
> > > >> >> > >> > all those?  Is there something else to do?  The README
> > > didn't
> > > >> >> seem
> > > >> >> > to
> > > >> >> > >> point
> > > >> >> > >> > to anything.
> > > >> >> > >> >
> > > >> >> > >> > The second instructions are to add something to your
> > > project's
> > > >> >> pom
> > > >> >> > >> > file.  Our project doesn't have a pom file, and we aren't
> > > >> using
> > > >> >> > >> maven2.  We
> > > >> >> > >> > don't want to use maven2 for our project unless we have
> > > to.
> > > >> We
> > > >> >> use
> > > >> >> >
> > > >> >> > >> ant
> > > >> >> > >> > only.
> > > >> >> > >> >
> > > >> >> > >> > So, I am back at my original question.  What is the
> > > preferred
> > > >> >> way,
> > > >> >> > >> > specifically for 4.1 to build and work with it.  I have
> > > >> >> downloaded
> > > >> >> > >> > source using subversion and pulled maven down and am
> > > building
> > > >> >> that
> > > >> >> > >> way.  Am
> > > >> >> > >> > I on the right track?  I realize 4.1 is brand new, but I
> > > just
> > > >> >> want
> > > >> >> > to
> > > >> >> > >> > make sure I am going down the right path.
> > > >> >> > >> >
> > > >> >> > >> > Thanks,
> > > >> >> > >> >
> > > >> >> > >> > Irv
> > > >> >> > >> >
> > > >> >> > >> >
> > > >> >> > >> > On 9/17/06, Norbert S�ndor < developer@erinors.com >
> > > wrote:
> > > >> >> > >> > >
> > > >> >> > >> > > I recommend you to explore the demo applications. They
> > > >> already
> > > >> >> > have
> > > >> >> > >> > > the
> > > >> >> > >> > > appropriate file structure, dependencies, etc.
> > > >> >> > >> > > For download instructions, see
> > > >> >> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
> > > >> >> > >> > >
> > > >> >> > >> > > Regards,
> > > >> >> > >> > > Norbi
> > > >> >> > >> > >
> > > >> >> > >> > > Irv Salisbury wrote:
> > > >> >> > >> > > > We are trying to explore Tapestry 4.1.  We are also
> > > not
> > > >> that
> > > >> >> > >> > > familiar
> > > >> >> > >> > > > with
> > > >> >> > >> > > > maven.  I downloaded the "official jar" release, but
> > > I had
> > > >> >> > trouble
> > > >> >> > >> > > > figuring
> > > >> >> > >> > > > out what to do with the jar files.
> > > >> >> > >> > > >
> > > >> >> > >> > > > Can someone give me help on the preferred way to
> > > download
> > > >> and
> > > >> >> > >> > > install
> > > >> >> > >> > > > 4.1 to
> > > >> >> > >> > > > get started.  It is our first Tapestry app, so keep
> > > that
> > > >> in
> > > >> >> > >> > > mind.  We did
> > > >> >> > >> > > > download 4.02 and were able to get a small app
> > > working in
> > > >> >> that.
> > > >> >> > >> > > >
> > > >> >> > >> > > > Should I use subversion, etc?
> > > >> >> > >> > > >
> > > >> >> > >> > > > Thanks,
> > > >> >> > >> > > >
> > > >> >> > >> > > > Irv
> > > >> >> > >> > > >
> > > >> >> > >> > > >
> > > >> >> > >> > >
> > > >> >> > >>
> > > >> >> >
> > > >> >>
> > > >>
> > > ------------------------------------------------------------------------
> > > >> >> > >> > > >
> > > >> >> > >> > > > No virus found in this incoming message.
> > > >> >> > >> > > > Checked by AVG Free Edition.
> > > >> >> > >> > > > Version: 7.1.405 / Virus Database: 268.12.4 /449 -
> > > Release
> > > >> >> > Date:
> > > >> >> > >> > > 2006.09.15.
> > > >> >> > >> > > >
> > > >> >> > >> > > >
> > > >> >> > >> > >
> > > >> >> > >> > >
> > > >> >> > >> > >
> > > >> >> > >>
> > > >> >>
> > > ---------------------------------------------------------------------
> > > >> >> >
> > > >> >> > >> > > To unsubscribe, e-mail:
> > > >> users-unsubscribe@tapestry.apache.org
> > > >> >> > >> > > For additional commands, e-mail:
> > > >> users-help@tapestry.apache.org
> > > >> >> > >> > >
> > > >> >> > >> > >
> > > >> >> > >> >
> > > >> >> > >>
> > > >> >> > >
> > > >> >> >
> > > >> >> >
> > > >> >> >
> > > >> >> >
> > > >>
> > > ---------------------------------------------------------------------
> > > >> >> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > >> >> > For additional commands, e-mail: users-help@tapestry.apache.org
> > >
> > > >> >> >
> > > >> >> >
> > > >> >>
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >>
> > > ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > >> For additional commands, e-mail: users-help@tapestry.apache.org
> > > >>
> > > >>
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > >
> > >
> >
>

Re: Installing 4.1

Posted by Martin Strand <ma...@entcap.se>.
Not sure why the workbench won't compile for you... it works here. :\
The timetracker appears to have duplicate jars:
- tapestry-annotations-4.1.1-SNAPSHOT.jar
- tapestry-annotations-4.1.1-20060827.214823-24.jar

Don't know where the second jar came from, perhaps you could try "mvn  
clean install" (add -Dmaven.test.skip=true to skip tests)

Martin

On Mon, 18 Sep 2006 05:48:52 +0200, Irv Salisbury  
<ir...@gmail.com> wrote:

> Ok, so other than getting like 100 WARNING messages that resource XYZ  
> could
> not be loaded, I am trying to build and run the example apps.  The vlib  
> ones
> seem to just create jars, so they won't tell me much.  The TimeTracker
> builds a WAR file, but when deployed, I get this error (tomcat 5.5.17 on  
> OSX
> intel box):
>
> 1-SNAPSHOT] [ERROR] Servlet /tapestry-TimeTracker-4.1.1-SNAPSHOT threw
> load() exception
> org.apache.hivemind.ApplicationRuntimeException: Error: Module
> tapestry.annotation is duplicated!  Definition in
> jar:file:/Users/irving/work/apache/apache-tomcat-5.5.17/webapps/tapestry-
> TimeTracker-4.1.1-SNAPSHOT/WEB-INF/lib/tapestry-
> annotations-4.1.1-SNAPSHOT.jar!/META-INF/hivemodule.xml has been ignored  
> in
> favor of existing definition from  
> jar:file:/Users/irving/work/apache/apache-
> tomcat-5.5.17/webapps/tapestry-TimeTracker-4.1.1-SNAPSHOT
> /WEB-INF/lib/tapestry-
> annotations-4.1.1-20060827.214823-24.jar!/META-INF/hivemodule.xml.
>         at org.apache.hivemind.impl.StrictErrorHandler.error(
> StrictErrorHandler.java:39)
>         at
> org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescriptor
> (RegistryInfrastructureConstructor.java:202)
>         at
> org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(
> RegistryBuilder.java:168)
>         at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(
> RegistryBuilder.java:143)
>         at org.apache.tapestry.ApplicationServlet.constructRegistry(
> ApplicationServlet.java:253)
>         at org.apache.tapestry.ApplicationServlet.init(
> ApplicationServlet.java:194)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(
> StandardWrapper.java:1105)
>         at org.apache.catalina.core.StandardWrapper.load(
> StandardWrapper.java:932)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(
> StandardContext.java:3917)
>         at org.apache.catalina.core.StandardContext.start(
> StandardContext.java:4201)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:759)
>         at org.apache.catalina.core.ContainerBase.addChild(
> ContainerBase.java:739)
>         at  
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> :524)
>         at  
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java
> :809)
>         at  
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> :698)
>         at  
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> :472)
>         at org.apache.catalina.startup.HostConfig.check(HostConfig.java
> :1190)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java:292)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> LifecycleSupport.java:119)
>         at org.apache.catalina.core.ContainerBase.backgroundProcess(
> ContainerBase.java:1305)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> (ContainerBase.java:1569)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> (ContainerBase.java:1578)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
> ContainerBase.java:1558)
>         at java.lang.Thread.run(Thread.java:613)
>
> So, I then moved onto Workbench, and getting this error on compile:
>
> /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[17,26]
> package javax.servlet.http does not exist
>
> /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[42,40]
> cannot find symbol
> symbol  : class HttpServletRequest
> location: class org.apache.tapestry.workbench.RequestDecoder
>
> /Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartService.java:[95,29]
> cannot access javax.servlet.http.HttpServletResponse
> file javax/servlet/http/HttpServletResponse.class not found
>                 JPEGEncoder13.encode(chart, 1.0f, output);
>
> Looks like some standard servlet stuff isn't getting pulled in as a  
> compile
> time jar need.  I will look into that, but thought I'd include errors a
> newbie was having upon initial trials (in hopes that this will be  
> archived
> in case other newbies have the same problem)
>
> Thanks for any info.
>
> Irv
>
> On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>>
>> That was exactly what I was looking for.  Thanks, this will get me
>> started.
>>
>>
>> Irv
>>
>> On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
>> >
>> > Yeah, Maven is definitely the "greased path" here. :)
>> > If you checkout the whole tapestry project, you can run "mvn
>> > -Dmaven.test.skip=true install" to compile everything and install the
>> > jars
>> > in your local repository:
>> >
>> > [INFO] Tapestry .............................................. SUCCESS
>> > [1.125s]
>> > [INFO] Core Library .......................................... SUCCESS
>> > [8.141s]
>> > [INFO] Contrib ............................................... SUCCESS
>> > [1.656s]
>> > [INFO] Annotations ........................................... SUCCESS
>> > [0.547s]
>> > [INFO] Portlet ............................................... SUCCESS
>> > [0.531s]
>> > [INFO] Examples .............................................. SUCCESS
>> > [0.031s]
>> > [INFO] Tapestry Virtual Library (Beans) ...................... SUCCESS
>> > [0.235s]
>> > [INFO] Tapestry Virtual Library .............................. SUCCESS
>> > [0.312s]
>> > [INFO] Tapestry Time Tracker ................................. SUCCESS
>> > [1.250s]
>> > [INFO] Tapestry Workbench .................................... SUCCESS
>> > [0.891s]
>> > [INFO]
>> >  
>> ------------------------------------------------------------------------
>> > [INFO]
>> >  
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESSFUL
>> > [INFO]
>> >  
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 15 seconds
>> >
>> >
>> > To build the examples, move to the /tapestry-examples dir and run the
>> > same
>> > thing. You'll now have the example wars in your local repo as well as  
>> in
>> >
>> > the /target/ dir of each example
>> > (tapestry/tapestry-examples/TimeTracker/target/tapestry-
>> > TimeTracker-4.1.1-SNAPSHOT.war).
>> >
>> > Maven uses these lifecycle phases instead of targets:
>> >
>> >  
>> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
>> >
>> > Martin
>> >
>> > On Mon, 18 Sep 2006 04:55:43 +0200, Irv Salisbury
>> > <irv.salisbury@gmail.com > wrote:
>> > > Thanks, I should have been clearer... My bad.  I know to put those  
>> in
>> > > there.  In the 4.02 stuff I downloaded and got working fine, there
>> > > seemed to
>> > > be a directory structure that was the "greased path" to pull in
>> > > hivemind.  I
>> > > basically copied what was in examples to get it working, called the
>> > ant
>> > > targets and everything worked fine.  In the 4.1 manual download,  
>> all I
>> > > get
>> > > is a bunch of jar files, no examples.  So, when I meant "what to do
>> > with
>> > > those" I more meant how to structure a 4.1 app for building.
>> > >
>> > > It looks like I should just use maven for doing this, as it is the
>> > > "greased
>> > > path".   Would that be easiest?  The doc pages don't really help for
>> > 4.1.
>> > > They are great for 4.0x.
>> > >
>> > > Of course, whenever I run any of the maven targets, sometimes it is
>> > able
>> > > to
>> > > connect to the repositories, sometimes it isn't.  That is always fun
>> > > about
>> > > using maven.  Guess that is another topic for later.
>> > >
>> > > So, assuming I am sitting on a fresh svn checkout of the repository.
>> > > What
>> > > maven "targets" should I call?  Also, inside tapestry-examples, are
>> > there
>> > > maven "targets" to call there?
>> > >
>> > > Thanks.
>> > >
>> > > Irv
>> > >
>> > > Is eve
>> > > On 9/17/06, Martin Strand <martin.strand@entcap.se > wrote:
>> > >>
>> > >> > so I need to know what to do with those
>> > >> Not sure what you mean... put them in WEB-INF/lib?
>> > >>
>> > >> If you don't use Maven you will need to download the dependencies
>> > >> manually, they are listed here:
>> > >>
>> > >>  
>> http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html
>> >
>> > >> You'll need to get everything under "compile" and "provided" and  
>> also
>> > >> "commons-io" under "transitive" -> "compile"
>> > >> (However, I doubt tapestry-testng is needed)
>> > >>
>> > >> Once you've got all the jars in WEB-INF/lib, Tapestry 4.1.1 should
>> > work
>> > >> fine. :)
>> > >>
>> > >> Martin
>> > >>
>> > >> On Mon, 18 Sep 2006 04:15:21 +0200, Irv Salisbury
>> > >> <ir...@gmail.com> wrote:
>> > >>
>> > >> > Ok, so our project uses ant, not maven2.  Am I best off getting  
>> the
>> > >> > subversion like I am?  Or should i get the last 4.1 build (which
>> > was a
>> > >> > bunch
>> > >> > of jar files so I need to know what to do with those)
>> > >> >
>> > >> > Thanks for being patient guys.  I realize with just starting with
>> > >> > tapestry I
>> > >> > am biting off a bit much with 4.1, but that is the only version
>> > that
>> > >> will
>> > >> > give us the dojo ajax stuff we need.
>> > >> >
>> > >> > Irv
>> > >> >
>> > >> > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
>> > >> >>
>> > >> >> I don't absolutely, but i need a 4.1 version.  I don't  
>> understand
>> > >> that
>> > >> >> much about the maven repo.  How do I use the 4.1.1-SNAPSHOT from
>> > the
>> > >> >> maven
>> > >> >> repo?
>> > >> >>
>> > >> >> Thanks,
>> > >> >>
>> > >> >> Irv
>> > >> >>
>> > >> >>
>> > >> >> On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
>> > >> >> >
>> > >> >> > Are you absolutely sure you need the latest bleeding edge
>> > version?
>> > >> >> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
>> > >> >> > http://tapestry.apache.org/tapestry4.1/download.html
>> > >> >> >
>> > >> >> > Martin
>> > >> >> >
>> > >> >> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
>> > >> >> > <irv.salisbury@gmail.com > wrote:
>> > >> >> >
>> > >> >> > > Upon doing an mvn compile, I am getting this warning:
>> > >> >> > >
>> > >> >> > > [WARNING]
>> > >> >> > >         Artifact commons-logging:commons-logging:jar: 1.0.4
>> > >> retains
>> > >> >> > local
>> > >> >> > > scope 'provided' overriding broader scope 'compile'
>> > >> >> > >         given by a dependency. If this is not intended,  
>> modify
>> > or
>> > >> >> > remove
>> > >> >> > > the
>> > >> >> > > local scope.
>> > >> >> > >
>> > >> >> > > then, I get an error:
>> > >> >> > >
>> > >> >> > >
>> > >> >> /Users/irving/work/apache/tapestry-4.1-src
>> > >>
>> >  
>> /tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
>> > >> >> >
>> > >> >> > > cannot access org.apache.commons.logging.Log
>> > >> >> > > file org/apache/commons/logging/Log.class not found
>> > >> >> > >     private static final MessageFormatter _formatter = new
>> > >> >> > > MessageFormatter(
>> > >> >> > >
>> > >> >> > > I realize 4.1 is pretty new, but we really need the ajax
>> > stuff.
>> > >> Of
>> > >> >> > > course,
>> > >> >> > > 4.0.2 went very smoothly.  I guess I am just more used to  
>> ant.
>> > >> Any
>> > >> >> > > pages or
>> > >> >> > > docs that I can be pointed to for buidling or using 4.1  
>> would
>> > be
>> > >> >> > great!
>> > >> >> > >
>> > >> >> > > Thanks
>> > >> >> > >
>> > >> >> > > Irv
>> > >> >> > >
>> > >> >> > > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
>> > >> >> > >>
>> > >> >> > >> As an update, I did get the subversion source.  I was able  
>> to
>> > >> build
>> > >> >> > most
>> > >> >> > >> of it, but the annotations are dying upon build.  I am
>> > building
>> > >> on
>> > >> >> > OSX.
>> > >> >> > >>
>> > >> >> > >> So, i went into the examples directory and did mvn compile,
>> > >> which
>> > >> >> > seemed
>> > >> >> > >> to build fine.  I am trying to figure out how to get a war
>> > file
>> > >> >> now.
>> > >> >> > >> Did a
>> > >> >> > >> mvn war but that didn't work.  Didn't see anything at the
>> > build
>> > >> >> pages
>> > >> >> > >> on how
>> > >> >> > >> to do that.
>> > >> >> > >>
>> > >> >> > >> Irv
>> > >> >> > >>
>> > >> >> > >>
>> > >> >> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com >  
>> wrote:
>> > >> >> > >> >
>> > >> >> > >> > Yes, I already looked at that page as I said in my
>> > email.  The
>> > >> >> > first
>> > >> >> > >> > thing it tells you is you can download the official
>> > >> >> > jar-only.  Doing
>> > >> >> > >> that
>> > >> >> > >> > for 4.02 comes with a whole directory structure that was
>> > >> >> reasonably
>> > >> >> > >> easy
>> > >> >> > >> > to follow how to use the examples, etc.  That was fine.   
>> I
>> > >> then
>> > >> >> did
>> > >> >> > >> that for
>> > >> >> > >> > 4.1 and just a bunch of jar files came down.  Am I  
>> supposed
>> > to
>> > >> >> > extract
>> > >> >> > >> > all those?  Is there something else to do?  The README
>> > didn't
>> > >> >> seem
>> > >> >> > to
>> > >> >> > >> point
>> > >> >> > >> > to anything.
>> > >> >> > >> >
>> > >> >> > >> > The second instructions are to add something to your
>> > project's
>> > >> >> pom
>> > >> >> > >> > file.  Our project doesn't have a pom file, and we aren't
>> > >> using
>> > >> >> > >> maven2.  We
>> > >> >> > >> > don't want to use maven2 for our project unless we have  
>> to.
>> >
>> > >> We
>> > >> >> use
>> > >> >> >
>> > >> >> > >> ant
>> > >> >> > >> > only.
>> > >> >> > >> >
>> > >> >> > >> > So, I am back at my original question.  What is the
>> > preferred
>> > >> >> way,
>> > >> >> > >> > specifically for 4.1 to build and work with it.  I have
>> > >> >> downloaded
>> > >> >> > >> > source using subversion and pulled maven down and am
>> > building
>> > >> >> that
>> > >> >> > >> way.  Am
>> > >> >> > >> > I on the right track?  I realize 4.1 is brand new, but I
>> > just
>> > >> >> want
>> > >> >> > to
>> > >> >> > >> > make sure I am going down the right path.
>> > >> >> > >> >
>> > >> >> > >> > Thanks,
>> > >> >> > >> >
>> > >> >> > >> > Irv
>> > >> >> > >> >
>> > >> >> > >> >
>> > >> >> > >> > On 9/17/06, Norbert Sándor < developer@erinors.com >  
>> wrote:
>> >
>> > >> >> > >> > >
>> > >> >> > >> > > I recommend you to explore the demo applications. They
>> > >> already
>> > >> >> > have
>> > >> >> > >> > > the
>> > >> >> > >> > > appropriate file structure, dependencies, etc.
>> > >> >> > >> > > For download instructions, see
>> > >> >> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
>> > >> >> > >> > >
>> > >> >> > >> > > Regards,
>> > >> >> > >> > > Norbi
>> > >> >> > >> > >
>> > >> >> > >> > > Irv Salisbury wrote:
>> > >> >> > >> > > > We are trying to explore Tapestry 4.1.  We are also  
>> not
>> > >> that
>> > >> >> > >> > > familiar
>> > >> >> > >> > > > with
>> > >> >> > >> > > > maven.  I downloaded the "official jar" release, but  
>> I
>> > had
>> > >> >> > trouble
>> > >> >> > >> > > > figuring
>> > >> >> > >> > > > out what to do with the jar files.
>> > >> >> > >> > > >
>> > >> >> > >> > > > Can someone give me help on the preferred way to
>> > download
>> > >> and
>> > >> >> > >> > > install
>> > >> >> > >> > > > 4.1 to
>> > >> >> > >> > > > get started.  It is our first Tapestry app, so keep
>> > that
>> > >> in
>> > >> >> > >> > > mind.  We did
>> > >> >> > >> > > > download 4.02 and were able to get a small app  
>> working
>> > in
>> > >> >> that.
>> > >> >> > >> > > >
>> > >> >> > >> > > > Should I use subversion, etc?
>> > >> >> > >> > > >
>> > >> >> > >> > > > Thanks,
>> > >> >> > >> > > >
>> > >> >> > >> > > > Irv

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
Ok, so other than getting like 100 WARNING messages that resource XYZ could
not be loaded, I am trying to build and run the example apps.  The vlib ones
seem to just create jars, so they won't tell me much.  The TimeTracker
builds a WAR file, but when deployed, I get this error (tomcat 5.5.17 on OSX
intel box):

1-SNAPSHOT] [ERROR] Servlet /tapestry-TimeTracker-4.1.1-SNAPSHOT threw
load() exception
org.apache.hivemind.ApplicationRuntimeException: Error: Module
tapestry.annotation is duplicated!  Definition in
jar:file:/Users/irving/work/apache/apache-tomcat-5.5.17/webapps/tapestry-
TimeTracker-4.1.1-SNAPSHOT/WEB-INF/lib/tapestry-
annotations-4.1.1-SNAPSHOT.jar!/META-INF/hivemodule.xml has been ignored in
favor of existing definition from jar:file:/Users/irving/work/apache/apache-
tomcat-5.5.17/webapps/tapestry-TimeTracker-4.1.1-SNAPSHOT
/WEB-INF/lib/tapestry-
annotations-4.1.1-20060827.214823-24.jar!/META-INF/hivemodule.xml.
        at org.apache.hivemind.impl.StrictErrorHandler.error(
StrictErrorHandler.java:39)
        at
org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescriptor
(RegistryInfrastructureConstructor.java:202)
        at
org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(
RegistryBuilder.java:168)
        at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(
RegistryBuilder.java:143)
        at org.apache.tapestry.ApplicationServlet.constructRegistry(
ApplicationServlet.java:253)
        at org.apache.tapestry.ApplicationServlet.init(
ApplicationServlet.java:194)
        at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1105)
        at org.apache.catalina.core.StandardWrapper.load(
StandardWrapper.java:932)
        at org.apache.catalina.core.StandardContext.loadOnStartup(
StandardContext.java:3917)
        at org.apache.catalina.core.StandardContext.start(
StandardContext.java:4201)
        at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:759)
        at org.apache.catalina.core.ContainerBase.addChild(
ContainerBase.java:739)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
:524)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java
:809)
        at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
:698)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
:472)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java
:1190)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(
HostConfig.java:292)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(
ContainerBase.java:1305)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
(ContainerBase.java:1569)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
(ContainerBase.java:1578)
        at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
ContainerBase.java:1558)
        at java.lang.Thread.run(Thread.java:613)

So, I then moved onto Workbench, and getting this error on compile:

/Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[17,26]
package javax.servlet.http does not exist

/Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/RequestDecoder.java:[42,40]
cannot find symbol
symbol  : class HttpServletRequest
location: class org.apache.tapestry.workbench.RequestDecoder

/Users/irving/work/apache/tapestry-4.1-src/tapestry-examples/Workbench/src/java/org/apache/tapestry/workbench/chart/ChartService.java:[95,29]
cannot access javax.servlet.http.HttpServletResponse
file javax/servlet/http/HttpServletResponse.class not found
                JPEGEncoder13.encode(chart, 1.0f, output);

Looks like some standard servlet stuff isn't getting pulled in as a compile
time jar need.  I will look into that, but thought I'd include errors a
newbie was having upon initial trials (in hopes that this will be archived
in case other newbies have the same problem)

Thanks for any info.

Irv

On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>
> That was exactly what I was looking for.  Thanks, this will get me
> started.
>
>
> Irv
>
> On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
> >
> > Yeah, Maven is definitely the "greased path" here. :)
> > If you checkout the whole tapestry project, you can run "mvn
> > -Dmaven.test.skip=true install" to compile everything and install the
> > jars
> > in your local repository:
> >
> > [INFO] Tapestry .............................................. SUCCESS
> > [1.125s]
> > [INFO] Core Library .......................................... SUCCESS
> > [8.141s]
> > [INFO] Contrib ............................................... SUCCESS
> > [1.656s]
> > [INFO] Annotations ........................................... SUCCESS
> > [0.547s]
> > [INFO] Portlet ............................................... SUCCESS
> > [0.531s]
> > [INFO] Examples .............................................. SUCCESS
> > [0.031s]
> > [INFO] Tapestry Virtual Library (Beans) ...................... SUCCESS
> > [0.235s]
> > [INFO] Tapestry Virtual Library .............................. SUCCESS
> > [0.312s]
> > [INFO] Tapestry Time Tracker ................................. SUCCESS
> > [1.250s]
> > [INFO] Tapestry Workbench .................................... SUCCESS
> > [0.891s]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESSFUL
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 15 seconds
> >
> >
> > To build the examples, move to the /tapestry-examples dir and run the
> > same
> > thing. You'll now have the example wars in your local repo as well as in
> >
> > the /target/ dir of each example
> > (tapestry/tapestry-examples/TimeTracker/target/tapestry-
> > TimeTracker-4.1.1-SNAPSHOT.war).
> >
> > Maven uses these lifecycle phases instead of targets:
> >
> > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> >
> > Martin
> >
> > On Mon, 18 Sep 2006 04:55:43 +0200, Irv Salisbury
> > <irv.salisbury@gmail.com > wrote:
> > > Thanks, I should have been clearer... My bad.  I know to put those in
> > > there.  In the 4.02 stuff I downloaded and got working fine, there
> > > seemed to
> > > be a directory structure that was the "greased path" to pull in
> > > hivemind.  I
> > > basically copied what was in examples to get it working, called the
> > ant
> > > targets and everything worked fine.  In the 4.1 manual download, all I
> > > get
> > > is a bunch of jar files, no examples.  So, when I meant "what to do
> > with
> > > those" I more meant how to structure a 4.1 app for building.
> > >
> > > It looks like I should just use maven for doing this, as it is the
> > > "greased
> > > path".   Would that be easiest?  The doc pages don't really help for
> > 4.1.
> > > They are great for 4.0x.
> > >
> > > Of course, whenever I run any of the maven targets, sometimes it is
> > able
> > > to
> > > connect to the repositories, sometimes it isn't.  That is always fun
> > > about
> > > using maven.  Guess that is another topic for later.
> > >
> > > So, assuming I am sitting on a fresh svn checkout of the repository.
> > > What
> > > maven "targets" should I call?  Also, inside tapestry-examples, are
> > there
> > > maven "targets" to call there?
> > >
> > > Thanks.
> > >
> > > Irv
> > >
> > > Is eve
> > > On 9/17/06, Martin Strand <martin.strand@entcap.se > wrote:
> > >>
> > >> > so I need to know what to do with those
> > >> Not sure what you mean... put them in WEB-INF/lib?
> > >>
> > >> If you don't use Maven you will need to download the dependencies
> > >> manually, they are listed here:
> > >>
> > >> http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html
> >
> > >> You'll need to get everything under "compile" and "provided" and also
> > >> "commons-io" under "transitive" -> "compile"
> > >> (However, I doubt tapestry-testng is needed)
> > >>
> > >> Once you've got all the jars in WEB-INF/lib, Tapestry 4.1.1 should
> > work
> > >> fine. :)
> > >>
> > >> Martin
> > >>
> > >> On Mon, 18 Sep 2006 04:15:21 +0200, Irv Salisbury
> > >> <ir...@gmail.com> wrote:
> > >>
> > >> > Ok, so our project uses ant, not maven2.  Am I best off getting the
> > >> > subversion like I am?  Or should i get the last 4.1 build (which
> > was a
> > >> > bunch
> > >> > of jar files so I need to know what to do with those)
> > >> >
> > >> > Thanks for being patient guys.  I realize with just starting with
> > >> > tapestry I
> > >> > am biting off a bit much with 4.1, but that is the only version
> > that
> > >> will
> > >> > give us the dojo ajax stuff we need.
> > >> >
> > >> > Irv
> > >> >
> > >> > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
> > >> >>
> > >> >> I don't absolutely, but i need a 4.1 version.  I don't understand
> > >> that
> > >> >> much about the maven repo.  How do I use the 4.1.1-SNAPSHOT from
> > the
> > >> >> maven
> > >> >> repo?
> > >> >>
> > >> >> Thanks,
> > >> >>
> > >> >> Irv
> > >> >>
> > >> >>
> > >> >> On 9/17/06, Martin Strand < martin.strand@entcap.se> wrote:
> > >> >> >
> > >> >> > Are you absolutely sure you need the latest bleeding edge
> > version?
> > >> >> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
> > >> >> > http://tapestry.apache.org/tapestry4.1/download.html
> > >> >> >
> > >> >> > Martin
> > >> >> >
> > >> >> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
> > >> >> > <irv.salisbury@gmail.com > wrote:
> > >> >> >
> > >> >> > > Upon doing an mvn compile, I am getting this warning:
> > >> >> > >
> > >> >> > > [WARNING]
> > >> >> > >         Artifact commons-logging:commons-logging:jar: 1.0.4
> > >> retains
> > >> >> > local
> > >> >> > > scope 'provided' overriding broader scope 'compile'
> > >> >> > >         given by a dependency. If this is not intended, modify
> > or
> > >> >> > remove
> > >> >> > > the
> > >> >> > > local scope.
> > >> >> > >
> > >> >> > > then, I get an error:
> > >> >> > >
> > >> >> > >
> > >> >> /Users/irving/work/apache/tapestry-4.1-src
> > >>
> > /tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> > >> >> >
> > >> >> > > cannot access org.apache.commons.logging.Log
> > >> >> > > file org/apache/commons/logging/Log.class not found
> > >> >> > >     private static final MessageFormatter _formatter = new
> > >> >> > > MessageFormatter(
> > >> >> > >
> > >> >> > > I realize 4.1 is pretty new, but we really need the ajax
> > stuff.
> > >> Of
> > >> >> > > course,
> > >> >> > > 4.0.2 went very smoothly.  I guess I am just more used to ant.
> > >> Any
> > >> >> > > pages or
> > >> >> > > docs that I can be pointed to for buidling or using 4.1 would
> > be
> > >> >> > great!
> > >> >> > >
> > >> >> > > Thanks
> > >> >> > >
> > >> >> > > Irv
> > >> >> > >
> > >> >> > > On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
> > >> >> > >>
> > >> >> > >> As an update, I did get the subversion source.  I was able to
> > >> build
> > >> >> > most
> > >> >> > >> of it, but the annotations are dying upon build.  I am
> > building
> > >> on
> > >> >> > OSX.
> > >> >> > >>
> > >> >> > >> So, i went into the examples directory and did mvn compile,
> > >> which
> > >> >> > seemed
> > >> >> > >> to build fine.  I am trying to figure out how to get a war
> > file
> > >> >> now.
> > >> >> > >> Did a
> > >> >> > >> mvn war but that didn't work.  Didn't see anything at the
> > build
> > >> >> pages
> > >> >> > >> on how
> > >> >> > >> to do that.
> > >> >> > >>
> > >> >> > >> Irv
> > >> >> > >>
> > >> >> > >>
> > >> >> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com > wrote:
> > >> >> > >> >
> > >> >> > >> > Yes, I already looked at that page as I said in my
> > email.  The
> > >> >> > first
> > >> >> > >> > thing it tells you is you can download the official
> > >> >> > jar-only.  Doing
> > >> >> > >> that
> > >> >> > >> > for 4.02 comes with a whole directory structure that was
> > >> >> reasonably
> > >> >> > >> easy
> > >> >> > >> > to follow how to use the examples, etc.  That was fine.  I
> > >> then
> > >> >> did
> > >> >> > >> that for
> > >> >> > >> > 4.1 and just a bunch of jar files came down.  Am I supposed
> > to
> > >> >> > extract
> > >> >> > >> > all those?  Is there something else to do?  The README
> > didn't
> > >> >> seem
> > >> >> > to
> > >> >> > >> point
> > >> >> > >> > to anything.
> > >> >> > >> >
> > >> >> > >> > The second instructions are to add something to your
> > project's
> > >> >> pom
> > >> >> > >> > file.  Our project doesn't have a pom file, and we aren't
> > >> using
> > >> >> > >> maven2.  We
> > >> >> > >> > don't want to use maven2 for our project unless we have to.
> >
> > >> We
> > >> >> use
> > >> >> >
> > >> >> > >> ant
> > >> >> > >> > only.
> > >> >> > >> >
> > >> >> > >> > So, I am back at my original question.  What is the
> > preferred
> > >> >> way,
> > >> >> > >> > specifically for 4.1 to build and work with it.  I have
> > >> >> downloaded
> > >> >> > >> > source using subversion and pulled maven down and am
> > building
> > >> >> that
> > >> >> > >> way.  Am
> > >> >> > >> > I on the right track?  I realize 4.1 is brand new, but I
> > just
> > >> >> want
> > >> >> > to
> > >> >> > >> > make sure I am going down the right path.
> > >> >> > >> >
> > >> >> > >> > Thanks,
> > >> >> > >> >
> > >> >> > >> > Irv
> > >> >> > >> >
> > >> >> > >> >
> > >> >> > >> > On 9/17/06, Norbert Sándor < developer@erinors.com > wrote:
> >
> > >> >> > >> > >
> > >> >> > >> > > I recommend you to explore the demo applications. They
> > >> already
> > >> >> > have
> > >> >> > >> > > the
> > >> >> > >> > > appropriate file structure, dependencies, etc.
> > >> >> > >> > > For download instructions, see
> > >> >> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
> > >> >> > >> > >
> > >> >> > >> > > Regards,
> > >> >> > >> > > Norbi
> > >> >> > >> > >
> > >> >> > >> > > Irv Salisbury wrote:
> > >> >> > >> > > > We are trying to explore Tapestry 4.1.  We are also not
> > >> that
> > >> >> > >> > > familiar
> > >> >> > >> > > > with
> > >> >> > >> > > > maven.  I downloaded the "official jar" release, but I
> > had
> > >> >> > trouble
> > >> >> > >> > > > figuring
> > >> >> > >> > > > out what to do with the jar files.
> > >> >> > >> > > >
> > >> >> > >> > > > Can someone give me help on the preferred way to
> > download
> > >> and
> > >> >> > >> > > install
> > >> >> > >> > > > 4.1 to
> > >> >> > >> > > > get started.  It is our first Tapestry app, so keep
> > that
> > >> in
> > >> >> > >> > > mind.  We did
> > >> >> > >> > > > download 4.02 and were able to get a small app working
> > in
> > >> >> that.
> > >> >> > >> > > >
> > >> >> > >> > > > Should I use subversion, etc?
> > >> >> > >> > > >
> > >> >> > >> > > > Thanks,
> > >> >> > >> > > >
> > >> >> > >> > > > Irv
> > >> >> > >> > > >
> > >> >> > >> > > >
> > >> >> > >> > >
> > >> >> > >>
> > >> >> >
> > >> >>
> > >>
> > ------------------------------------------------------------------------
> > >> >> > >> > > >
> > >> >> > >> > > > No virus found in this incoming message.
> > >> >> > >> > > > Checked by AVG Free Edition.
> > >> >> > >> > > > Version: 7.1.405 / Virus Database: 268.12.4 /449 -
> > Release
> > >> >> > Date:
> > >> >> > >> > > 2006.09.15.
> > >> >> > >> > > >
> > >> >> > >> > > >
> > >> >> > >> > >
> > >> >> > >> > >
> > >> >> > >> > >
> > >> >> > >>
> > >> >>
> > ---------------------------------------------------------------------
> > >> >> >
> > >> >> > >> > > To unsubscribe, e-mail:
> > >> users-unsubscribe@tapestry.apache.org
> > >> >> > >> > > For additional commands, e-mail:
> > >> users-help@tapestry.apache.org
> > >> >> > >> > >
> > >> >> > >> > >
> > >> >> > >> >
> > >> >> > >>
> > >> >> > >
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> >
> > >> ---------------------------------------------------------------------
> > >> >> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > >> >> > For additional commands, e-mail: users-help@tapestry.apache.org
> > >> >> >
> > >> >> >
> > >> >>
> > >> >
> > >>
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > >> For additional commands, e-mail: users-help@tapestry.apache.org
> > >>
> > >>
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>

Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
That was exactly what I was looking for.  Thanks, this will get me started.

Irv

On 9/17/06, Martin Strand <ma...@entcap.se> wrote:
>
> Yeah, Maven is definitely the "greased path" here. :)
> If you checkout the whole tapestry project, you can run "mvn
> -Dmaven.test.skip=true install" to compile everything and install the jars
> in your local repository:
>
> [INFO] Tapestry .............................................. SUCCESS
> [1.125s]
> [INFO] Core Library .......................................... SUCCESS
> [8.141s]
> [INFO] Contrib ............................................... SUCCESS
> [1.656s]
> [INFO] Annotations ........................................... SUCCESS
> [0.547s]
> [INFO] Portlet ............................................... SUCCESS
> [0.531s]
> [INFO] Examples .............................................. SUCCESS
> [0.031s]
> [INFO] Tapestry Virtual Library (Beans) ...................... SUCCESS
> [0.235s]
> [INFO] Tapestry Virtual Library .............................. SUCCESS
> [0.312s]
> [INFO] Tapestry Time Tracker ................................. SUCCESS
> [1.250s]
> [INFO] Tapestry Workbench .................................... SUCCESS
> [0.891s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
>
>
> To build the examples, move to the /tapestry-examples dir and run the same
> thing. You'll now have the example wars in your local repo as well as in
> the /target/ dir of each example
> (tapestry/tapestry-examples/TimeTracker/target/tapestry-
> TimeTracker-4.1.1-SNAPSHOT.war).
>
> Maven uses these lifecycle phases instead of targets:
>
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
>
> Martin
>
> On Mon, 18 Sep 2006 04:55:43 +0200, Irv Salisbury
> <ir...@gmail.com> wrote:
> > Thanks, I should have been clearer... My bad.  I know to put those in
> > there.  In the 4.02 stuff I downloaded and got working fine, there
> > seemed to
> > be a directory structure that was the "greased path" to pull in
> > hivemind.  I
> > basically copied what was in examples to get it working, called the ant
> > targets and everything worked fine.  In the 4.1 manual download, all I
> > get
> > is a bunch of jar files, no examples.  So, when I meant "what to do with
> > those" I more meant how to structure a 4.1 app for building.
> >
> > It looks like I should just use maven for doing this, as it is the
> > "greased
> > path".   Would that be easiest?  The doc pages don't really help for 4.1
> .
> > They are great for 4.0x.
> >
> > Of course, whenever I run any of the maven targets, sometimes it is able
> > to
> > connect to the repositories, sometimes it isn't.  That is always fun
> > about
> > using maven.  Guess that is another topic for later.
> >
> > So, assuming I am sitting on a fresh svn checkout of the repository.
> > What
> > maven "targets" should I call?  Also, inside tapestry-examples, are
> there
> > maven "targets" to call there?
> >
> > Thanks.
> >
> > Irv
> >
> > Is eve
> > On 9/17/06, Martin Strand <ma...@entcap.se> wrote:
> >>
> >> > so I need to know what to do with those
> >> Not sure what you mean... put them in WEB-INF/lib?
> >>
> >> If you don't use Maven you will need to download the dependencies
> >> manually, they are listed here:
> >>
> >>
> http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html
> >> You'll need to get everything under "compile" and "provided" and also
> >> "commons-io" under "transitive" -> "compile"
> >> (However, I doubt tapestry-testng is needed)
> >>
> >> Once you've got all the jars in WEB-INF/lib, Tapestry 4.1.1 should work
> >> fine. :)
> >>
> >> Martin
> >>
> >> On Mon, 18 Sep 2006 04:15:21 +0200, Irv Salisbury
> >> <ir...@gmail.com> wrote:
> >>
> >> > Ok, so our project uses ant, not maven2.  Am I best off getting the
> >> > subversion like I am?  Or should i get the last 4.1 build (which was
> a
> >> > bunch
> >> > of jar files so I need to know what to do with those)
> >> >
> >> > Thanks for being patient guys.  I realize with just starting with
> >> > tapestry I
> >> > am biting off a bit much with 4.1, but that is the only version that
> >> will
> >> > give us the dojo ajax stuff we need.
> >> >
> >> > Irv
> >> >
> >> > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >> >>
> >> >> I don't absolutely, but i need a 4.1 version.  I don't understand
> >> that
> >> >> much about the maven repo.  How do I use the 4.1.1-SNAPSHOT from the
> >> >> maven
> >> >> repo?
> >> >>
> >> >> Thanks,
> >> >>
> >> >> Irv
> >> >>
> >> >>
> >> >> On 9/17/06, Martin Strand <ma...@entcap.se> wrote:
> >> >> >
> >> >> > Are you absolutely sure you need the latest bleeding edge version?
> >> >> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
> >> >> > http://tapestry.apache.org/tapestry4.1/download.html
> >> >> >
> >> >> > Martin
> >> >> >
> >> >> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
> >> >> > <ir...@gmail.com> wrote:
> >> >> >
> >> >> > > Upon doing an mvn compile, I am getting this warning:
> >> >> > >
> >> >> > > [WARNING]
> >> >> > >         Artifact commons-logging:commons-logging:jar:1.0.4
> >> retains
> >> >> > local
> >> >> > > scope 'provided' overriding broader scope 'compile'
> >> >> > >         given by a dependency. If this is not intended, modify
> or
> >> >> > remove
> >> >> > > the
> >> >> > > local scope.
> >> >> > >
> >> >> > > then, I get an error:
> >> >> > >
> >> >> > >
> >> >> /Users/irving/work/apache/tapestry-4.1-src
> >>
> /tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> >> >> >
> >> >> > > cannot access org.apache.commons.logging.Log
> >> >> > > file org/apache/commons/logging/Log.class not found
> >> >> > >     private static final MessageFormatter _formatter = new
> >> >> > > MessageFormatter(
> >> >> > >
> >> >> > > I realize 4.1 is pretty new, but we really need the ajax stuff.
> >> Of
> >> >> > > course,
> >> >> > > 4.0.2 went very smoothly.  I guess I am just more used to ant.
> >> Any
> >> >> > > pages or
> >> >> > > docs that I can be pointed to for buidling or using 4.1 would be
> >> >> > great!
> >> >> > >
> >> >> > > Thanks
> >> >> > >
> >> >> > > Irv
> >> >> > >
> >> >> > > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >> >> > >>
> >> >> > >> As an update, I did get the subversion source.  I was able to
> >> build
> >> >> > most
> >> >> > >> of it, but the annotations are dying upon build.  I am building
> >> on
> >> >> > OSX.
> >> >> > >>
> >> >> > >> So, i went into the examples directory and did mvn compile,
> >> which
> >> >> > seemed
> >> >> > >> to build fine.  I am trying to figure out how to get a war file
> >> >> now.
> >> >> > >> Did a
> >> >> > >> mvn war but that didn't work.  Didn't see anything at the build
> >> >> pages
> >> >> > >> on how
> >> >> > >> to do that.
> >> >> > >>
> >> >> > >> Irv
> >> >> > >>
> >> >> > >>
> >> >> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
> >> >> > >> >
> >> >> > >> > Yes, I already looked at that page as I said in my
> email.  The
> >> >> > first
> >> >> > >> > thing it tells you is you can download the official
> >> >> > jar-only.  Doing
> >> >> > >> that
> >> >> > >> > for 4.02 comes with a whole directory structure that was
> >> >> reasonably
> >> >> > >> easy
> >> >> > >> > to follow how to use the examples, etc.  That was fine.  I
> >> then
> >> >> did
> >> >> > >> that for
> >> >> > >> > 4.1 and just a bunch of jar files came down.  Am I supposed
> to
> >> >> > extract
> >> >> > >> > all those?  Is there something else to do?  The README didn't
> >> >> seem
> >> >> > to
> >> >> > >> point
> >> >> > >> > to anything.
> >> >> > >> >
> >> >> > >> > The second instructions are to add something to your
> project's
> >> >> pom
> >> >> > >> > file.  Our project doesn't have a pom file, and we aren't
> >> using
> >> >> > >> maven2.  We
> >> >> > >> > don't want to use maven2 for our project unless we have to.
> >> We
> >> >> use
> >> >> >
> >> >> > >> ant
> >> >> > >> > only.
> >> >> > >> >
> >> >> > >> > So, I am back at my original question.  What is the preferred
> >> >> way,
> >> >> > >> > specifically for 4.1 to build and work with it.  I have
> >> >> downloaded
> >> >> > >> > source using subversion and pulled maven down and am building
> >> >> that
> >> >> > >> way.  Am
> >> >> > >> > I on the right track?  I realize 4.1 is brand new, but I just
> >> >> want
> >> >> > to
> >> >> > >> > make sure I am going down the right path.
> >> >> > >> >
> >> >> > >> > Thanks,
> >> >> > >> >
> >> >> > >> > Irv
> >> >> > >> >
> >> >> > >> >
> >> >> > >> > On 9/17/06, Norbert Sándor < developer@erinors.com > wrote:
> >> >> > >> > >
> >> >> > >> > > I recommend you to explore the demo applications. They
> >> already
> >> >> > have
> >> >> > >> > > the
> >> >> > >> > > appropriate file structure, dependencies, etc.
> >> >> > >> > > For download instructions, see
> >> >> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
> >> >> > >> > >
> >> >> > >> > > Regards,
> >> >> > >> > > Norbi
> >> >> > >> > >
> >> >> > >> > > Irv Salisbury wrote:
> >> >> > >> > > > We are trying to explore Tapestry 4.1.  We are also not
> >> that
> >> >> > >> > > familiar
> >> >> > >> > > > with
> >> >> > >> > > > maven.  I downloaded the "official jar" release, but I
> had
> >> >> > trouble
> >> >> > >> > > > figuring
> >> >> > >> > > > out what to do with the jar files.
> >> >> > >> > > >
> >> >> > >> > > > Can someone give me help on the preferred way to download
> >> and
> >> >> > >> > > install
> >> >> > >> > > > 4.1 to
> >> >> > >> > > > get started.  It is our first Tapestry app, so keep that
> >> in
> >> >> > >> > > mind.  We did
> >> >> > >> > > > download 4.02 and were able to get a small app working in
> >> >> that.
> >> >> > >> > > >
> >> >> > >> > > > Should I use subversion, etc?
> >> >> > >> > > >
> >> >> > >> > > > Thanks,
> >> >> > >> > > >
> >> >> > >> > > > Irv
> >> >> > >> > > >
> >> >> > >> > > >
> >> >> > >> > >
> >> >> > >>
> >> >> >
> >> >>
> >>
> ------------------------------------------------------------------------
> >> >> > >> > > >
> >> >> > >> > > > No virus found in this incoming message.
> >> >> > >> > > > Checked by AVG Free Edition.
> >> >> > >> > > > Version: 7.1.405 / Virus Database: 268.12.4 /449 -
> Release
> >> >> > Date:
> >> >> > >> > > 2006.09.15.
> >> >> > >> > > >
> >> >> > >> > > >
> >> >> > >> > >
> >> >> > >> > >
> >> >> > >> > >
> >> >> > >>
> >> >>
> ---------------------------------------------------------------------
> >> >> >
> >> >> > >> > > To unsubscribe, e-mail:
> >> users-unsubscribe@tapestry.apache.org
> >> >> > >> > > For additional commands, e-mail:
> >> users-help@tapestry.apache.org
> >> >> > >> > >
> >> >> > >> > >
> >> >> > >> >
> >> >> > >>
> >> >> > >
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> ---------------------------------------------------------------------
> >> >> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> >> > For additional commands, e-mail: users-help@tapestry.apache.org
> >> >> >
> >> >> >
> >> >>
> >> >
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: users-help@tapestry.apache.org
> >>
> >>
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Installing 4.1

Posted by Martin Strand <ma...@entcap.se>.
Yeah, Maven is definitely the "greased path" here. :)
If you checkout the whole tapestry project, you can run "mvn  
-Dmaven.test.skip=true install" to compile everything and install the jars  
in your local repository:

[INFO] Tapestry .............................................. SUCCESS  
[1.125s]
[INFO] Core Library .......................................... SUCCESS  
[8.141s]
[INFO] Contrib ............................................... SUCCESS  
[1.656s]
[INFO] Annotations ........................................... SUCCESS  
[0.547s]
[INFO] Portlet ............................................... SUCCESS  
[0.531s]
[INFO] Examples .............................................. SUCCESS  
[0.031s]
[INFO] Tapestry Virtual Library (Beans) ...................... SUCCESS  
[0.235s]
[INFO] Tapestry Virtual Library .............................. SUCCESS  
[0.312s]
[INFO] Tapestry Time Tracker ................................. SUCCESS  
[1.250s]
[INFO] Tapestry Workbench .................................... SUCCESS  
[0.891s]
[INFO]  
------------------------------------------------------------------------
[INFO]  
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]  
------------------------------------------------------------------------
[INFO] Total time: 15 seconds


To build the examples, move to the /tapestry-examples dir and run the same  
thing. You'll now have the example wars in your local repo as well as in  
the /target/ dir of each example  
(tapestry/tapestry-examples/TimeTracker/target/tapestry-TimeTracker-4.1.1-SNAPSHOT.war).

Maven uses these lifecycle phases instead of targets:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

Martin

On Mon, 18 Sep 2006 04:55:43 +0200, Irv Salisbury  
<ir...@gmail.com> wrote:
> Thanks, I should have been clearer... My bad.  I know to put those in
> there.  In the 4.02 stuff I downloaded and got working fine, there  
> seemed to
> be a directory structure that was the "greased path" to pull in  
> hivemind.  I
> basically copied what was in examples to get it working, called the ant
> targets and everything worked fine.  In the 4.1 manual download, all I  
> get
> is a bunch of jar files, no examples.  So, when I meant "what to do with
> those" I more meant how to structure a 4.1 app for building.
>
> It looks like I should just use maven for doing this, as it is the  
> "greased
> path".   Would that be easiest?  The doc pages don't really help for 4.1.
> They are great for 4.0x.
>
> Of course, whenever I run any of the maven targets, sometimes it is able  
> to
> connect to the repositories, sometimes it isn't.  That is always fun  
> about
> using maven.  Guess that is another topic for later.
>
> So, assuming I am sitting on a fresh svn checkout of the repository.   
> What
> maven "targets" should I call?  Also, inside tapestry-examples, are there
> maven "targets" to call there?
>
> Thanks.
>
> Irv
>
> Is eve
> On 9/17/06, Martin Strand <ma...@entcap.se> wrote:
>>
>> > so I need to know what to do with those
>> Not sure what you mean... put them in WEB-INF/lib?
>>
>> If you don't use Maven you will need to download the dependencies
>> manually, they are listed here:
>>
>> http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html
>> You'll need to get everything under "compile" and "provided" and also
>> "commons-io" under "transitive" -> "compile"
>> (However, I doubt tapestry-testng is needed)
>>
>> Once you've got all the jars in WEB-INF/lib, Tapestry 4.1.1 should work
>> fine. :)
>>
>> Martin
>>
>> On Mon, 18 Sep 2006 04:15:21 +0200, Irv Salisbury
>> <ir...@gmail.com> wrote:
>>
>> > Ok, so our project uses ant, not maven2.  Am I best off getting the
>> > subversion like I am?  Or should i get the last 4.1 build (which was a
>> > bunch
>> > of jar files so I need to know what to do with those)
>> >
>> > Thanks for being patient guys.  I realize with just starting with
>> > tapestry I
>> > am biting off a bit much with 4.1, but that is the only version that
>> will
>> > give us the dojo ajax stuff we need.
>> >
>> > Irv
>> >
>> > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>> >>
>> >> I don't absolutely, but i need a 4.1 version.  I don't understand  
>> that
>> >> much about the maven repo.  How do I use the 4.1.1-SNAPSHOT from the
>> >> maven
>> >> repo?
>> >>
>> >> Thanks,
>> >>
>> >> Irv
>> >>
>> >>
>> >> On 9/17/06, Martin Strand <ma...@entcap.se> wrote:
>> >> >
>> >> > Are you absolutely sure you need the latest bleeding edge version?
>> >> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
>> >> > http://tapestry.apache.org/tapestry4.1/download.html
>> >> >
>> >> > Martin
>> >> >
>> >> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
>> >> > <ir...@gmail.com> wrote:
>> >> >
>> >> > > Upon doing an mvn compile, I am getting this warning:
>> >> > >
>> >> > > [WARNING]
>> >> > >         Artifact commons-logging:commons-logging:jar:1.0.4  
>> retains
>> >> > local
>> >> > > scope 'provided' overriding broader scope 'compile'
>> >> > >         given by a dependency. If this is not intended, modify or
>> >> > remove
>> >> > > the
>> >> > > local scope.
>> >> > >
>> >> > > then, I get an error:
>> >> > >
>> >> > >
>> >> /Users/irving/work/apache/tapestry-4.1-src
>> /tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
>> >> >
>> >> > > cannot access org.apache.commons.logging.Log
>> >> > > file org/apache/commons/logging/Log.class not found
>> >> > >     private static final MessageFormatter _formatter = new
>> >> > > MessageFormatter(
>> >> > >
>> >> > > I realize 4.1 is pretty new, but we really need the ajax stuff.   
>> Of
>> >> > > course,
>> >> > > 4.0.2 went very smoothly.  I guess I am just more used to ant.   
>> Any
>> >> > > pages or
>> >> > > docs that I can be pointed to for buidling or using 4.1 would be
>> >> > great!
>> >> > >
>> >> > > Thanks
>> >> > >
>> >> > > Irv
>> >> > >
>> >> > > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>> >> > >>
>> >> > >> As an update, I did get the subversion source.  I was able to
>> build
>> >> > most
>> >> > >> of it, but the annotations are dying upon build.  I am building  
>> on
>> >> > OSX.
>> >> > >>
>> >> > >> So, i went into the examples directory and did mvn compile,  
>> which
>> >> > seemed
>> >> > >> to build fine.  I am trying to figure out how to get a war file
>> >> now.
>> >> > >> Did a
>> >> > >> mvn war but that didn't work.  Didn't see anything at the build
>> >> pages
>> >> > >> on how
>> >> > >> to do that.
>> >> > >>
>> >> > >> Irv
>> >> > >>
>> >> > >>
>> >> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
>> >> > >> >
>> >> > >> > Yes, I already looked at that page as I said in my email.  The
>> >> > first
>> >> > >> > thing it tells you is you can download the official
>> >> > jar-only.  Doing
>> >> > >> that
>> >> > >> > for 4.02 comes with a whole directory structure that was
>> >> reasonably
>> >> > >> easy
>> >> > >> > to follow how to use the examples, etc.  That was fine.  I  
>> then
>> >> did
>> >> > >> that for
>> >> > >> > 4.1 and just a bunch of jar files came down.  Am I supposed to
>> >> > extract
>> >> > >> > all those?  Is there something else to do?  The README didn't
>> >> seem
>> >> > to
>> >> > >> point
>> >> > >> > to anything.
>> >> > >> >
>> >> > >> > The second instructions are to add something to your project's
>> >> pom
>> >> > >> > file.  Our project doesn't have a pom file, and we aren't  
>> using
>> >> > >> maven2.  We
>> >> > >> > don't want to use maven2 for our project unless we have to.   
>> We
>> >> use
>> >> >
>> >> > >> ant
>> >> > >> > only.
>> >> > >> >
>> >> > >> > So, I am back at my original question.  What is the preferred
>> >> way,
>> >> > >> > specifically for 4.1 to build and work with it.  I have
>> >> downloaded
>> >> > >> > source using subversion and pulled maven down and am building
>> >> that
>> >> > >> way.  Am
>> >> > >> > I on the right track?  I realize 4.1 is brand new, but I just
>> >> want
>> >> > to
>> >> > >> > make sure I am going down the right path.
>> >> > >> >
>> >> > >> > Thanks,
>> >> > >> >
>> >> > >> > Irv
>> >> > >> >
>> >> > >> >
>> >> > >> > On 9/17/06, Norbert Sándor < developer@erinors.com > wrote:
>> >> > >> > >
>> >> > >> > > I recommend you to explore the demo applications. They  
>> already
>> >> > have
>> >> > >> > > the
>> >> > >> > > appropriate file structure, dependencies, etc.
>> >> > >> > > For download instructions, see
>> >> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
>> >> > >> > >
>> >> > >> > > Regards,
>> >> > >> > > Norbi
>> >> > >> > >
>> >> > >> > > Irv Salisbury wrote:
>> >> > >> > > > We are trying to explore Tapestry 4.1.  We are also not  
>> that
>> >> > >> > > familiar
>> >> > >> > > > with
>> >> > >> > > > maven.  I downloaded the "official jar" release, but I had
>> >> > trouble
>> >> > >> > > > figuring
>> >> > >> > > > out what to do with the jar files.
>> >> > >> > > >
>> >> > >> > > > Can someone give me help on the preferred way to download
>> and
>> >> > >> > > install
>> >> > >> > > > 4.1 to
>> >> > >> > > > get started.  It is our first Tapestry app, so keep that  
>> in
>> >> > >> > > mind.  We did
>> >> > >> > > > download 4.02 and were able to get a small app working in
>> >> that.
>> >> > >> > > >
>> >> > >> > > > Should I use subversion, etc?
>> >> > >> > > >
>> >> > >> > > > Thanks,
>> >> > >> > > >
>> >> > >> > > > Irv
>> >> > >> > > >
>> >> > >> > > >
>> >> > >> > >
>> >> > >>
>> >> >
>> >>
>> ------------------------------------------------------------------------
>> >> > >> > > >
>> >> > >> > > > No virus found in this incoming message.
>> >> > >> > > > Checked by AVG Free Edition.
>> >> > >> > > > Version: 7.1.405 / Virus Database: 268.12.4 /449 - Release
>> >> > Date:
>> >> > >> > > 2006.09.15.
>> >> > >> > > >
>> >> > >> > > >
>> >> > >> > >
>> >> > >> > >
>> >> > >> > >
>> >> > >>
>> >> ---------------------------------------------------------------------
>> >> >
>> >> > >> > > To unsubscribe, e-mail:  
>> users-unsubscribe@tapestry.apache.org
>> >> > >> > > For additional commands, e-mail:
>> users-help@tapestry.apache.org
>> >> > >> > >
>> >> > >> > >
>> >> > >> >
>> >> > >>
>> >> > >
>> >> >
>> >> >
>> >> >
>> >> >  
>> ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> >> > For additional commands, e-mail: users-help@tapestry.apache.org
>> >> >
>> >> >
>> >>
>> >
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
Thanks, I should have been clearer... My bad.  I know to put those in
there.  In the 4.02 stuff I downloaded and got working fine, there seemed to
be a directory structure that was the "greased path" to pull in hivemind.  I
basically copied what was in examples to get it working, called the ant
targets and everything worked fine.  In the 4.1 manual download, all I get
is a bunch of jar files, no examples.  So, when I meant "what to do with
those" I more meant how to structure a 4.1 app for building.

It looks like I should just use maven for doing this, as it is the "greased
path".   Would that be easiest?  The doc pages don't really help for 4.1.
They are great for 4.0x.

Of course, whenever I run any of the maven targets, sometimes it is able to
connect to the repositories, sometimes it isn't.  That is always fun about
using maven.  Guess that is another topic for later.

So, assuming I am sitting on a fresh svn checkout of the repository.  What
maven "targets" should I call?  Also, inside tapestry-examples, are there
maven "targets" to call there?

Thanks.

Irv

Is eve
On 9/17/06, Martin Strand <ma...@entcap.se> wrote:
>
> > so I need to know what to do with those
> Not sure what you mean... put them in WEB-INF/lib?
>
> If you don't use Maven you will need to download the dependencies
> manually, they are listed here:
>
> http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html
> You'll need to get everything under "compile" and "provided" and also
> "commons-io" under "transitive" -> "compile"
> (However, I doubt tapestry-testng is needed)
>
> Once you've got all the jars in WEB-INF/lib, Tapestry 4.1.1 should work
> fine. :)
>
> Martin
>
> On Mon, 18 Sep 2006 04:15:21 +0200, Irv Salisbury
> <ir...@gmail.com> wrote:
>
> > Ok, so our project uses ant, not maven2.  Am I best off getting the
> > subversion like I am?  Or should i get the last 4.1 build (which was a
> > bunch
> > of jar files so I need to know what to do with those)
> >
> > Thanks for being patient guys.  I realize with just starting with
> > tapestry I
> > am biting off a bit much with 4.1, but that is the only version that
> will
> > give us the dojo ajax stuff we need.
> >
> > Irv
> >
> > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >>
> >> I don't absolutely, but i need a 4.1 version.  I don't understand that
> >> much about the maven repo.  How do I use the 4.1.1-SNAPSHOT from the
> >> maven
> >> repo?
> >>
> >> Thanks,
> >>
> >> Irv
> >>
> >>
> >> On 9/17/06, Martin Strand <ma...@entcap.se> wrote:
> >> >
> >> > Are you absolutely sure you need the latest bleeding edge version?
> >> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
> >> > http://tapestry.apache.org/tapestry4.1/download.html
> >> >
> >> > Martin
> >> >
> >> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
> >> > <ir...@gmail.com> wrote:
> >> >
> >> > > Upon doing an mvn compile, I am getting this warning:
> >> > >
> >> > > [WARNING]
> >> > >         Artifact commons-logging:commons-logging:jar:1.0.4 retains
> >> > local
> >> > > scope 'provided' overriding broader scope 'compile'
> >> > >         given by a dependency. If this is not intended, modify or
> >> > remove
> >> > > the
> >> > > local scope.
> >> > >
> >> > > then, I get an error:
> >> > >
> >> > >
> >> /Users/irving/work/apache/tapestry-4.1-src
> /tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> >> >
> >> > > cannot access org.apache.commons.logging.Log
> >> > > file org/apache/commons/logging/Log.class not found
> >> > >     private static final MessageFormatter _formatter = new
> >> > > MessageFormatter(
> >> > >
> >> > > I realize 4.1 is pretty new, but we really need the ajax stuff.  Of
> >> > > course,
> >> > > 4.0.2 went very smoothly.  I guess I am just more used to ant.  Any
> >> > > pages or
> >> > > docs that I can be pointed to for buidling or using 4.1 would be
> >> > great!
> >> > >
> >> > > Thanks
> >> > >
> >> > > Irv
> >> > >
> >> > > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >> > >>
> >> > >> As an update, I did get the subversion source.  I was able to
> build
> >> > most
> >> > >> of it, but the annotations are dying upon build.  I am building on
> >> > OSX.
> >> > >>
> >> > >> So, i went into the examples directory and did mvn compile, which
> >> > seemed
> >> > >> to build fine.  I am trying to figure out how to get a war file
> >> now.
> >> > >> Did a
> >> > >> mvn war but that didn't work.  Didn't see anything at the build
> >> pages
> >> > >> on how
> >> > >> to do that.
> >> > >>
> >> > >> Irv
> >> > >>
> >> > >>
> >> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
> >> > >> >
> >> > >> > Yes, I already looked at that page as I said in my email.  The
> >> > first
> >> > >> > thing it tells you is you can download the official
> >> > jar-only.  Doing
> >> > >> that
> >> > >> > for 4.02 comes with a whole directory structure that was
> >> reasonably
> >> > >> easy
> >> > >> > to follow how to use the examples, etc.  That was fine.  I then
> >> did
> >> > >> that for
> >> > >> > 4.1 and just a bunch of jar files came down.  Am I supposed to
> >> > extract
> >> > >> > all those?  Is there something else to do?  The README didn't
> >> seem
> >> > to
> >> > >> point
> >> > >> > to anything.
> >> > >> >
> >> > >> > The second instructions are to add something to your project's
> >> pom
> >> > >> > file.  Our project doesn't have a pom file, and we aren't using
> >> > >> maven2.  We
> >> > >> > don't want to use maven2 for our project unless we have to.  We
> >> use
> >> >
> >> > >> ant
> >> > >> > only.
> >> > >> >
> >> > >> > So, I am back at my original question.  What is the preferred
> >> way,
> >> > >> > specifically for 4.1 to build and work with it.  I have
> >> downloaded
> >> > >> > source using subversion and pulled maven down and am building
> >> that
> >> > >> way.  Am
> >> > >> > I on the right track?  I realize 4.1 is brand new, but I just
> >> want
> >> > to
> >> > >> > make sure I am going down the right path.
> >> > >> >
> >> > >> > Thanks,
> >> > >> >
> >> > >> > Irv
> >> > >> >
> >> > >> >
> >> > >> > On 9/17/06, Norbert Sándor < developer@erinors.com > wrote:
> >> > >> > >
> >> > >> > > I recommend you to explore the demo applications. They already
> >> > have
> >> > >> > > the
> >> > >> > > appropriate file structure, dependencies, etc.
> >> > >> > > For download instructions, see
> >> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
> >> > >> > >
> >> > >> > > Regards,
> >> > >> > > Norbi
> >> > >> > >
> >> > >> > > Irv Salisbury wrote:
> >> > >> > > > We are trying to explore Tapestry 4.1.  We are also not that
> >> > >> > > familiar
> >> > >> > > > with
> >> > >> > > > maven.  I downloaded the "official jar" release, but I had
> >> > trouble
> >> > >> > > > figuring
> >> > >> > > > out what to do with the jar files.
> >> > >> > > >
> >> > >> > > > Can someone give me help on the preferred way to download
> and
> >> > >> > > install
> >> > >> > > > 4.1 to
> >> > >> > > > get started.  It is our first Tapestry app, so keep that in
> >> > >> > > mind.  We did
> >> > >> > > > download 4.02 and were able to get a small app working in
> >> that.
> >> > >> > > >
> >> > >> > > > Should I use subversion, etc?
> >> > >> > > >
> >> > >> > > > Thanks,
> >> > >> > > >
> >> > >> > > > Irv
> >> > >> > > >
> >> > >> > > >
> >> > >> > >
> >> > >>
> >> >
> >>
> ------------------------------------------------------------------------
> >> > >> > > >
> >> > >> > > > No virus found in this incoming message.
> >> > >> > > > Checked by AVG Free Edition.
> >> > >> > > > Version: 7.1.405 / Virus Database: 268.12.4 /449 - Release
> >> > Date:
> >> > >> > > 2006.09.15.
> >> > >> > > >
> >> > >> > > >
> >> > >> > >
> >> > >> > >
> >> > >> > >
> >> > >>
> >> ---------------------------------------------------------------------
> >> >
> >> > >> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> > >> > > For additional commands, e-mail:
> users-help@tapestry.apache.org
> >> > >> > >
> >> > >> > >
> >> > >> >
> >> > >>
> >> > >
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> > For additional commands, e-mail: users-help@tapestry.apache.org
> >> >
> >> >
> >>
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Installing 4.1

Posted by Martin Strand <ma...@entcap.se>.
> so I need to know what to do with those
Not sure what you mean... put them in WEB-INF/lib?

If you don't use Maven you will need to download the dependencies  
manually, they are listed here:
http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html
You'll need to get everything under "compile" and "provided" and also  
"commons-io" under "transitive" -> "compile"
(However, I doubt tapestry-testng is needed)

Once you've got all the jars in WEB-INF/lib, Tapestry 4.1.1 should work  
fine. :)

Martin

On Mon, 18 Sep 2006 04:15:21 +0200, Irv Salisbury  
<ir...@gmail.com> wrote:

> Ok, so our project uses ant, not maven2.  Am I best off getting the
> subversion like I am?  Or should i get the last 4.1 build (which was a  
> bunch
> of jar files so I need to know what to do with those)
>
> Thanks for being patient guys.  I realize with just starting with  
> tapestry I
> am biting off a bit much with 4.1, but that is the only version that will
> give us the dojo ajax stuff we need.
>
> Irv
>
> On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>>
>> I don't absolutely, but i need a 4.1 version.  I don't understand that
>> much about the maven repo.  How do I use the 4.1.1-SNAPSHOT from the  
>> maven
>> repo?
>>
>> Thanks,
>>
>> Irv
>>
>>
>> On 9/17/06, Martin Strand <ma...@entcap.se> wrote:
>> >
>> > Are you absolutely sure you need the latest bleeding edge version?
>> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
>> > http://tapestry.apache.org/tapestry4.1/download.html
>> >
>> > Martin
>> >
>> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
>> > <ir...@gmail.com> wrote:
>> >
>> > > Upon doing an mvn compile, I am getting this warning:
>> > >
>> > > [WARNING]
>> > >         Artifact commons-logging:commons-logging:jar:1.0.4 retains
>> > local
>> > > scope 'provided' overriding broader scope 'compile'
>> > >         given by a dependency. If this is not intended, modify or
>> > remove
>> > > the
>> > > local scope.
>> > >
>> > > then, I get an error:
>> > >
>> > >  
>> /Users/irving/work/apache/tapestry-4.1-src/tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
>> >
>> > > cannot access org.apache.commons.logging.Log
>> > > file org/apache/commons/logging/Log.class not found
>> > >     private static final MessageFormatter _formatter = new
>> > > MessageFormatter(
>> > >
>> > > I realize 4.1 is pretty new, but we really need the ajax stuff.  Of
>> > > course,
>> > > 4.0.2 went very smoothly.  I guess I am just more used to ant.  Any
>> > > pages or
>> > > docs that I can be pointed to for buidling or using 4.1 would be
>> > great!
>> > >
>> > > Thanks
>> > >
>> > > Irv
>> > >
>> > > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>> > >>
>> > >> As an update, I did get the subversion source.  I was able to build
>> > most
>> > >> of it, but the annotations are dying upon build.  I am building on
>> > OSX.
>> > >>
>> > >> So, i went into the examples directory and did mvn compile, which
>> > seemed
>> > >> to build fine.  I am trying to figure out how to get a war file  
>> now.
>> > >> Did a
>> > >> mvn war but that didn't work.  Didn't see anything at the build  
>> pages
>> > >> on how
>> > >> to do that.
>> > >>
>> > >> Irv
>> > >>
>> > >>
>> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
>> > >> >
>> > >> > Yes, I already looked at that page as I said in my email.  The
>> > first
>> > >> > thing it tells you is you can download the official
>> > jar-only.  Doing
>> > >> that
>> > >> > for 4.02 comes with a whole directory structure that was  
>> reasonably
>> > >> easy
>> > >> > to follow how to use the examples, etc.  That was fine.  I then  
>> did
>> > >> that for
>> > >> > 4.1 and just a bunch of jar files came down.  Am I supposed to
>> > extract
>> > >> > all those?  Is there something else to do?  The README didn't  
>> seem
>> > to
>> > >> point
>> > >> > to anything.
>> > >> >
>> > >> > The second instructions are to add something to your project's  
>> pom
>> > >> > file.  Our project doesn't have a pom file, and we aren't using
>> > >> maven2.  We
>> > >> > don't want to use maven2 for our project unless we have to.  We  
>> use
>> >
>> > >> ant
>> > >> > only.
>> > >> >
>> > >> > So, I am back at my original question.  What is the preferred  
>> way,
>> > >> > specifically for 4.1 to build and work with it.  I have  
>> downloaded
>> > >> > source using subversion and pulled maven down and am building  
>> that
>> > >> way.  Am
>> > >> > I on the right track?  I realize 4.1 is brand new, but I just  
>> want
>> > to
>> > >> > make sure I am going down the right path.
>> > >> >
>> > >> > Thanks,
>> > >> >
>> > >> > Irv
>> > >> >
>> > >> >
>> > >> > On 9/17/06, Norbert Sándor < developer@erinors.com > wrote:
>> > >> > >
>> > >> > > I recommend you to explore the demo applications. They already
>> > have
>> > >> > > the
>> > >> > > appropriate file structure, dependencies, etc.
>> > >> > > For download instructions, see
>> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
>> > >> > >
>> > >> > > Regards,
>> > >> > > Norbi
>> > >> > >
>> > >> > > Irv Salisbury wrote:
>> > >> > > > We are trying to explore Tapestry 4.1.  We are also not that
>> > >> > > familiar
>> > >> > > > with
>> > >> > > > maven.  I downloaded the "official jar" release, but I had
>> > trouble
>> > >> > > > figuring
>> > >> > > > out what to do with the jar files.
>> > >> > > >
>> > >> > > > Can someone give me help on the preferred way to download and
>> > >> > > install
>> > >> > > > 4.1 to
>> > >> > > > get started.  It is our first Tapestry app, so keep that in
>> > >> > > mind.  We did
>> > >> > > > download 4.02 and were able to get a small app working in  
>> that.
>> > >> > > >
>> > >> > > > Should I use subversion, etc?
>> > >> > > >
>> > >> > > > Thanks,
>> > >> > > >
>> > >> > > > Irv
>> > >> > > >
>> > >> > > >
>> > >> > >
>> > >>
>> >  
>> ------------------------------------------------------------------------
>> > >> > > >
>> > >> > > > No virus found in this incoming message.
>> > >> > > > Checked by AVG Free Edition.
>> > >> > > > Version: 7.1.405 / Virus Database: 268.12.4 /449 - Release
>> > Date:
>> > >> > > 2006.09.15.
>> > >> > > >
>> > >> > > >
>> > >> > >
>> > >> > >
>> > >> > >
>> > >>  
>> ---------------------------------------------------------------------
>> >
>> > >> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> > >> > > For additional commands, e-mail: users-help@tapestry.apache.org
>> > >> > >
>> > >> > >
>> > >> >
>> > >>
>> > >
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> > For additional commands, e-mail: users-help@tapestry.apache.org
>> >
>> >
>>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
Ok, so our project uses ant, not maven2.  Am I best off getting the
subversion like I am?  Or should i get the last 4.1 build (which was a bunch
of jar files so I need to know what to do with those)

Thanks for being patient guys.  I realize with just starting with tapestry I
am biting off a bit much with 4.1, but that is the only version that will
give us the dojo ajax stuff we need.

Irv

On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>
> I don't absolutely, but i need a 4.1 version.  I don't understand that
> much about the maven repo.  How do I use the 4.1.1-SNAPSHOT from the maven
> repo?
>
> Thanks,
>
> Irv
>
>
> On 9/17/06, Martin Strand <ma...@entcap.se> wrote:
> >
> > Are you absolutely sure you need the latest bleeding edge version?
> > I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
> > http://tapestry.apache.org/tapestry4.1/download.html
> >
> > Martin
> >
> > On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
> > <ir...@gmail.com> wrote:
> >
> > > Upon doing an mvn compile, I am getting this warning:
> > >
> > > [WARNING]
> > >         Artifact commons-logging:commons-logging:jar:1.0.4 retains
> > local
> > > scope 'provided' overriding broader scope 'compile'
> > >         given by a dependency. If this is not intended, modify or
> > remove
> > > the
> > > local scope.
> > >
> > > then, I get an error:
> > >
> > > /Users/irving/work/apache/tapestry-4.1-src/tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> >
> > > cannot access org.apache.commons.logging.Log
> > > file org/apache/commons/logging/Log.class not found
> > >     private static final MessageFormatter _formatter = new
> > > MessageFormatter(
> > >
> > > I realize 4.1 is pretty new, but we really need the ajax stuff.  Of
> > > course,
> > > 4.0.2 went very smoothly.  I guess I am just more used to ant.  Any
> > > pages or
> > > docs that I can be pointed to for buidling or using 4.1 would be
> > great!
> > >
> > > Thanks
> > >
> > > Irv
> > >
> > > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> > >>
> > >> As an update, I did get the subversion source.  I was able to build
> > most
> > >> of it, but the annotations are dying upon build.  I am building on
> > OSX.
> > >>
> > >> So, i went into the examples directory and did mvn compile, which
> > seemed
> > >> to build fine.  I am trying to figure out how to get a war file now.
> > >> Did a
> > >> mvn war but that didn't work.  Didn't see anything at the build pages
> > >> on how
> > >> to do that.
> > >>
> > >> Irv
> > >>
> > >>
> > >> On 9/17/06, Irv Salisbury < irv.salisbury@gmail.com> wrote:
> > >> >
> > >> > Yes, I already looked at that page as I said in my email.  The
> > first
> > >> > thing it tells you is you can download the official
> > jar-only.  Doing
> > >> that
> > >> > for 4.02 comes with a whole directory structure that was reasonably
> > >> easy
> > >> > to follow how to use the examples, etc.  That was fine.  I then did
> > >> that for
> > >> > 4.1 and just a bunch of jar files came down.  Am I supposed to
> > extract
> > >> > all those?  Is there something else to do?  The README didn't seem
> > to
> > >> point
> > >> > to anything.
> > >> >
> > >> > The second instructions are to add something to your project's pom
> > >> > file.  Our project doesn't have a pom file, and we aren't using
> > >> maven2.  We
> > >> > don't want to use maven2 for our project unless we have to.  We use
> >
> > >> ant
> > >> > only.
> > >> >
> > >> > So, I am back at my original question.  What is the preferred way,
> > >> > specifically for 4.1 to build and work with it.  I have downloaded
> > >> > source using subversion and pulled maven down and am building that
> > >> way.  Am
> > >> > I on the right track?  I realize 4.1 is brand new, but I just want
> > to
> > >> > make sure I am going down the right path.
> > >> >
> > >> > Thanks,
> > >> >
> > >> > Irv
> > >> >
> > >> >
> > >> > On 9/17/06, Norbert Sándor < developer@erinors.com > wrote:
> > >> > >
> > >> > > I recommend you to explore the demo applications. They already
> > have
> > >> > > the
> > >> > > appropriate file structure, dependencies, etc.
> > >> > > For download instructions, see
> > >> > > http://tapestry.apache.org/tapestry4.1/download.html
> > >> > >
> > >> > > Regards,
> > >> > > Norbi
> > >> > >
> > >> > > Irv Salisbury wrote:
> > >> > > > We are trying to explore Tapestry 4.1.  We are also not that
> > >> > > familiar
> > >> > > > with
> > >> > > > maven.  I downloaded the "official jar" release, but I had
> > trouble
> > >> > > > figuring
> > >> > > > out what to do with the jar files.
> > >> > > >
> > >> > > > Can someone give me help on the preferred way to download and
> > >> > > install
> > >> > > > 4.1 to
> > >> > > > get started.  It is our first Tapestry app, so keep that in
> > >> > > mind.  We did
> > >> > > > download 4.02 and were able to get a small app working in that.
> > >> > > >
> > >> > > > Should I use subversion, etc?
> > >> > > >
> > >> > > > Thanks,
> > >> > > >
> > >> > > > Irv
> > >> > > >
> > >> > > >
> > >> > >
> > >>
> > ------------------------------------------------------------------------
> > >> > > >
> > >> > > > No virus found in this incoming message.
> > >> > > > Checked by AVG Free Edition.
> > >> > > > Version: 7.1.405 / Virus Database: 268.12.4 /449 - Release
> > Date:
> > >> > > 2006.09.15.
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > >> ---------------------------------------------------------------------
> >
> > >> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > >> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > >> > >
> > >> > >
> > >> >
> > >>
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>

Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
I don't absolutely, but i need a 4.1 version.  I don't understand that much
about the maven repo.  How do I use the 4.1.1-SNAPSHOT from the maven repo?

Thanks,

Irv

On 9/17/06, Martin Strand <ma...@entcap.se> wrote:
>
> Are you absolutely sure you need the latest bleeding edge version?
> I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
> http://tapestry.apache.org/tapestry4.1/download.html
>
> Martin
>
> On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury
> <ir...@gmail.com> wrote:
>
> > Upon doing an mvn compile, I am getting this warning:
> >
> > [WARNING]
> >         Artifact commons-logging:commons-logging:jar:1.0.4 retains local
> > scope 'provided' overriding broader scope 'compile'
> >         given by a dependency. If this is not intended, modify or remove
> > the
> > local scope.
> >
> > then, I get an error:
> >
> > /Users/irving/work/apache/tapestry-4.1-src
> /tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> > cannot access org.apache.commons.logging.Log
> > file org/apache/commons/logging/Log.class not found
> >     private static final MessageFormatter _formatter = new
> > MessageFormatter(
> >
> > I realize 4.1 is pretty new, but we really need the ajax stuff.  Of
> > course,
> > 4.0.2 went very smoothly.  I guess I am just more used to ant.  Any
> > pages or
> > docs that I can be pointed to for buidling or using 4.1 would be great!
> >
> > Thanks
> >
> > Irv
> >
> > On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >>
> >> As an update, I did get the subversion source.  I was able to build
> most
> >> of it, but the annotations are dying upon build.  I am building on OSX.
> >>
> >> So, i went into the examples directory and did mvn compile, which
> seemed
> >> to build fine.  I am trying to figure out how to get a war file now.
> >> Did a
> >> mvn war but that didn't work.  Didn't see anything at the build pages
> >> on how
> >> to do that.
> >>
> >> Irv
> >>
> >>
> >> On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >> >
> >> > Yes, I already looked at that page as I said in my email.  The first
> >> > thing it tells you is you can download the official jar-only.  Doing
> >> that
> >> > for 4.02 comes with a whole directory structure that was reasonably
> >> easy
> >> > to follow how to use the examples, etc.  That was fine.  I then did
> >> that for
> >> > 4.1 and just a bunch of jar files came down.  Am I supposed to
> extract
> >> > all those?  Is there something else to do?  The README didn't seem to
> >> point
> >> > to anything.
> >> >
> >> > The second instructions are to add something to your project's pom
> >> > file.  Our project doesn't have a pom file, and we aren't using
> >> maven2.  We
> >> > don't want to use maven2 for our project unless we have to.  We use
> >> ant
> >> > only.
> >> >
> >> > So, I am back at my original question.  What is the preferred way,
> >> > specifically for 4.1 to build and work with it.  I have downloaded
> >> > source using subversion and pulled maven down and am building that
> >> way.  Am
> >> > I on the right track?  I realize 4.1 is brand new, but I just want to
> >> > make sure I am going down the right path.
> >> >
> >> > Thanks,
> >> >
> >> > Irv
> >> >
> >> >
> >> > On 9/17/06, Norbert Sándor < developer@erinors.com> wrote:
> >> > >
> >> > > I recommend you to explore the demo applications. They already have
> >> > > the
> >> > > appropriate file structure, dependencies, etc.
> >> > > For download instructions, see
> >> > > http://tapestry.apache.org/tapestry4.1/download.html
> >> > >
> >> > > Regards,
> >> > > Norbi
> >> > >
> >> > > Irv Salisbury wrote:
> >> > > > We are trying to explore Tapestry 4.1.  We are also not that
> >> > > familiar
> >> > > > with
> >> > > > maven.  I downloaded the "official jar" release, but I had
> trouble
> >> > > > figuring
> >> > > > out what to do with the jar files.
> >> > > >
> >> > > > Can someone give me help on the preferred way to download and
> >> > > install
> >> > > > 4.1 to
> >> > > > get started.  It is our first Tapestry app, so keep that in
> >> > > mind.  We did
> >> > > > download 4.02 and were able to get a small app working in that.
> >> > > >
> >> > > > Should I use subversion, etc?
> >> > > >
> >> > > > Thanks,
> >> > > >
> >> > > > Irv
> >> > > >
> >> > > >
> >> > >
> >>
> ------------------------------------------------------------------------
> >> > > >
> >> > > > No virus found in this incoming message.
> >> > > > Checked by AVG Free Edition.
> >> > > > Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date:
> >> > > 2006.09.15.
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >> ---------------------------------------------------------------------
> >> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> > > For additional commands, e-mail: users-help@tapestry.apache.org
> >> > >
> >> > >
> >> >
> >>
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Installing 4.1

Posted by Martin Strand <ma...@entcap.se>.
Are you absolutely sure you need the latest bleeding edge version?
I use 4.1.1-SNAPSHOT from the Maven repo and it works fine:
http://tapestry.apache.org/tapestry4.1/download.html

Martin

On Mon, 18 Sep 2006 03:08:55 +0200, Irv Salisbury  
<ir...@gmail.com> wrote:

> Upon doing an mvn compile, I am getting this warning:
>
> [WARNING]
>         Artifact commons-logging:commons-logging:jar:1.0.4 retains local
> scope 'provided' overriding broader scope 'compile'
>         given by a dependency. If this is not intended, modify or remove  
> the
> local scope.
>
> then, I get an error:
>
> /Users/irving/work/apache/tapestry-4.1-src/tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
> cannot access org.apache.commons.logging.Log
> file org/apache/commons/logging/Log.class not found
>     private static final MessageFormatter _formatter = new  
> MessageFormatter(
>
> I realize 4.1 is pretty new, but we really need the ajax stuff.  Of  
> course,
> 4.0.2 went very smoothly.  I guess I am just more used to ant.  Any  
> pages or
> docs that I can be pointed to for buidling or using 4.1 would be great!
>
> Thanks
>
> Irv
>
> On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>>
>> As an update, I did get the subversion source.  I was able to build most
>> of it, but the annotations are dying upon build.  I am building on OSX.
>>
>> So, i went into the examples directory and did mvn compile, which seemed
>> to build fine.  I am trying to figure out how to get a war file now.   
>> Did a
>> mvn war but that didn't work.  Didn't see anything at the build pages  
>> on how
>> to do that.
>>
>> Irv
>>
>>
>> On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>> >
>> > Yes, I already looked at that page as I said in my email.  The first
>> > thing it tells you is you can download the official jar-only.  Doing  
>> that
>> > for 4.02 comes with a whole directory structure that was reasonably  
>> easy
>> > to follow how to use the examples, etc.  That was fine.  I then did  
>> that for
>> > 4.1 and just a bunch of jar files came down.  Am I supposed to extract
>> > all those?  Is there something else to do?  The README didn't seem to  
>> point
>> > to anything.
>> >
>> > The second instructions are to add something to your project's pom
>> > file.  Our project doesn't have a pom file, and we aren't using  
>> maven2.  We
>> > don't want to use maven2 for our project unless we have to.  We use  
>> ant
>> > only.
>> >
>> > So, I am back at my original question.  What is the preferred way,
>> > specifically for 4.1 to build and work with it.  I have downloaded
>> > source using subversion and pulled maven down and am building that  
>> way.  Am
>> > I on the right track?  I realize 4.1 is brand new, but I just want to
>> > make sure I am going down the right path.
>> >
>> > Thanks,
>> >
>> > Irv
>> >
>> >
>> > On 9/17/06, Norbert Sándor < developer@erinors.com> wrote:
>> > >
>> > > I recommend you to explore the demo applications. They already have
>> > > the
>> > > appropriate file structure, dependencies, etc.
>> > > For download instructions, see
>> > > http://tapestry.apache.org/tapestry4.1/download.html
>> > >
>> > > Regards,
>> > > Norbi
>> > >
>> > > Irv Salisbury wrote:
>> > > > We are trying to explore Tapestry 4.1.  We are also not that
>> > > familiar
>> > > > with
>> > > > maven.  I downloaded the "official jar" release, but I had trouble
>> > > > figuring
>> > > > out what to do with the jar files.
>> > > >
>> > > > Can someone give me help on the preferred way to download and
>> > > install
>> > > > 4.1 to
>> > > > get started.  It is our first Tapestry app, so keep that in
>> > > mind.  We did
>> > > > download 4.02 and were able to get a small app working in that.
>> > > >
>> > > > Should I use subversion, etc?
>> > > >
>> > > > Thanks,
>> > > >
>> > > > Irv
>> > > >
>> > > >
>> > >  
>> ------------------------------------------------------------------------
>> > > >
>> > > > No virus found in this incoming message.
>> > > > Checked by AVG Free Edition.
>> > > > Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date:
>> > > 2006.09.15.
>> > > >
>> > > >
>> > >
>> > >
>> > >  
>> ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> > > For additional commands, e-mail: users-help@tapestry.apache.org
>> > >
>> > >
>> >
>>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
Upon doing an mvn compile, I am getting this warning:

[WARNING]
        Artifact commons-logging:commons-logging:jar:1.0.4 retains local
scope 'provided' overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove the
local scope.

then, I get an error:

/Users/irving/work/apache/tapestry-4.1-src/tapestry-annotations/src/java/org/apache/tapestry/annotations/AnnotationMessages.java:[30,55]
cannot access org.apache.commons.logging.Log
file org/apache/commons/logging/Log.class not found
    private static final MessageFormatter _formatter = new MessageFormatter(

I realize 4.1 is pretty new, but we really need the ajax stuff.  Of course,
4.0.2 went very smoothly.  I guess I am just more used to ant.  Any pages or
docs that I can be pointed to for buidling or using 4.1 would be great!

Thanks

Irv

On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>
> As an update, I did get the subversion source.  I was able to build most
> of it, but the annotations are dying upon build.  I am building on OSX.
>
> So, i went into the examples directory and did mvn compile, which seemed
> to build fine.  I am trying to figure out how to get a war file now.  Did a
> mvn war but that didn't work.  Didn't see anything at the build pages on how
> to do that.
>
> Irv
>
>
> On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
> >
> > Yes, I already looked at that page as I said in my email.  The first
> > thing it tells you is you can download the official jar-only.  Doing that
> > for 4.02 comes with a whole directory structure that was reasonably easy
> > to follow how to use the examples, etc.  That was fine.  I then did that for
> > 4.1 and just a bunch of jar files came down.  Am I supposed to extract
> > all those?  Is there something else to do?  The README didn't seem to point
> > to anything.
> >
> > The second instructions are to add something to your project's pom
> > file.  Our project doesn't have a pom file, and we aren't using maven2.  We
> > don't want to use maven2 for our project unless we have to.  We use ant
> > only.
> >
> > So, I am back at my original question.  What is the preferred way,
> > specifically for 4.1 to build and work with it.  I have downloaded
> > source using subversion and pulled maven down and am building that way.  Am
> > I on the right track?  I realize 4.1 is brand new, but I just want to
> > make sure I am going down the right path.
> >
> > Thanks,
> >
> > Irv
> >
> >
> > On 9/17/06, Norbert Sándor < developer@erinors.com> wrote:
> > >
> > > I recommend you to explore the demo applications. They already have
> > > the
> > > appropriate file structure, dependencies, etc.
> > > For download instructions, see
> > > http://tapestry.apache.org/tapestry4.1/download.html
> > >
> > > Regards,
> > > Norbi
> > >
> > > Irv Salisbury wrote:
> > > > We are trying to explore Tapestry 4.1.  We are also not that
> > > familiar
> > > > with
> > > > maven.  I downloaded the "official jar" release, but I had trouble
> > > > figuring
> > > > out what to do with the jar files.
> > > >
> > > > Can someone give me help on the preferred way to download and
> > > install
> > > > 4.1 to
> > > > get started.  It is our first Tapestry app, so keep that in
> > > mind.  We did
> > > > download 4.02 and were able to get a small app working in that.
> > > >
> > > > Should I use subversion, etc?
> > > >
> > > > Thanks,
> > > >
> > > > Irv
> > > >
> > > >
> > > ------------------------------------------------------------------------
> > > >
> > > > No virus found in this incoming message.
> > > > Checked by AVG Free Edition.
> > > > Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date:
> > > 2006.09.15.
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > For additional commands, e-mail: users-help@tapestry.apache.org
> > >
> > >
> >
>

Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
As an update, I did get the subversion source.  I was able to build most of
it, but the annotations are dying upon build.  I am building on OSX.

So, i went into the examples directory and did mvn compile, which seemed to
build fine.  I am trying to figure out how to get a war file now.  Did a mvn
war but that didn't work.  Didn't see anything at the build pages on how to
do that.

Irv

On 9/17/06, Irv Salisbury <ir...@gmail.com> wrote:
>
> Yes, I already looked at that page as I said in my email.  The first thing
> it tells you is you can download the official jar-only.  Doing that for
> 4.02 comes with a whole directory structure that was reasonably easy to
> follow how to use the examples, etc.  That was fine.  I then did that for
> 4.1 and just a bunch of jar files came down.  Am I supposed to extract all
> those?  Is there something else to do?  The README didn't seem to point to
> anything.
>
> The second instructions are to add something to your project's pom file.
> Our project doesn't have a pom file, and we aren't using maven2.  We don't
> want to use maven2 for our project unless we have to.  We use ant only.
>
> So, I am back at my original question.  What is the preferred way,
> specifically for 4.1 to build and work with it.  I have downloaded source
> using subversion and pulled maven down and am building that way.  Am I on
> the right track?  I realize 4.1 is brand new, but I just want to make sure
> I am going down the right path.
>
> Thanks,
>
> Irv
>
>
> On 9/17/06, Norbert Sándor < developer@erinors.com> wrote:
> >
> > I recommend you to explore the demo applications. They already have the
> > appropriate file structure, dependencies, etc.
> > For download instructions, see
> > http://tapestry.apache.org/tapestry4.1/download.html
> >
> > Regards,
> > Norbi
> >
> > Irv Salisbury wrote:
> > > We are trying to explore Tapestry 4.1.  We are also not that familiar
> > > with
> > > maven.  I downloaded the "official jar" release, but I had trouble
> > > figuring
> > > out what to do with the jar files.
> > >
> > > Can someone give me help on the preferred way to download and install
> > > 4.1 to
> > > get started.  It is our first Tapestry app, so keep that in mind.  We
> > did
> > > download 4.02 and were able to get a small app working in that.
> > >
> > > Should I use subversion, etc?
> > >
> > > Thanks,
> > >
> > > Irv
> > >
> > >
> > ------------------------------------------------------------------------
> > >
> > > No virus found in this incoming message.
> > > Checked by AVG Free Edition.
> > > Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date:
> > 2006.09.15.
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
>

Re: Installing 4.1

Posted by Irv Salisbury <ir...@gmail.com>.
Yes, I already looked at that page as I said in my email.  The first thing
it tells you is you can download the official jar-only.  Doing that
for 4.02comes with a whole directory structure that was reasonably
easy to follow
how to use the examples, etc.  That was fine.  I then did that for 4.1 and
just a bunch of jar files came down.  Am I supposed to extract all those?
Is there something else to do?  The README didn't seem to point to anything.

The second instructions are to add something to your project's pom file.
Our project doesn't have a pom file, and we aren't using maven2.  We don't
want to use maven2 for our project unless we have to.  We use ant only.

So, I am back at my original question.  What is the preferred way,
specifically for 4.1 to build and work with it.  I have downloaded source
using subversion and pulled maven down and am building that way.  Am I on
the right track?  I realize 4.1 is brand new, but I just want to make sure I
am going down the right path.

Thanks,

Irv

On 9/17/06, Norbert Sándor <de...@erinors.com> wrote:
>
> I recommend you to explore the demo applications. They already have the
> appropriate file structure, dependencies, etc.
> For download instructions, see
> http://tapestry.apache.org/tapestry4.1/download.html
>
> Regards,
> Norbi
>
> Irv Salisbury wrote:
> > We are trying to explore Tapestry 4.1.  We are also not that familiar
> > with
> > maven.  I downloaded the "official jar" release, but I had trouble
> > figuring
> > out what to do with the jar files.
> >
> > Can someone give me help on the preferred way to download and install
> > 4.1 to
> > get started.  It is our first Tapestry app, so keep that in mind.  We
> did
> > download 4.02 and were able to get a small app working in that.
> >
> > Should I use subversion, etc?
> >
> > Thanks,
> >
> > Irv
> >
> > ------------------------------------------------------------------------
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date:
> 2006.09.15.
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Installing 4.1

Posted by Norbert Sándor <de...@erinors.com>.
I recommend you to explore the demo applications. They already have the 
appropriate file structure, dependencies, etc.
For download instructions, see 
http://tapestry.apache.org/tapestry4.1/download.html

Regards,
Norbi

Irv Salisbury wrote:
> We are trying to explore Tapestry 4.1.  We are also not that familiar 
> with
> maven.  I downloaded the "official jar" release, but I had trouble 
> figuring
> out what to do with the jar files.
>
> Can someone give me help on the preferred way to download and install 
> 4.1 to
> get started.  It is our first Tapestry app, so keep that in mind.  We did
> download 4.02 and were able to get a small app working in that.
>
> Should I use subversion, etc?
>
> Thanks,
>
> Irv
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.4/449 - Release Date: 2006.09.15.
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org