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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 >> > <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> 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 < [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] >> > >> > > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > > >> > >> > > >> > >> > >> > >> >> > > >> > >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]