I found this page doing a search from the list archives: http://wiki.apache.org/myfaces/Building_MyFaces_in_your_IDE. It wasn't helpful with regards to Netbeans as the Netbeans entry is about creating a JSF project with MyFaces and not building MyFaces.
I started at this page off of the MyFaces home page: http://myfaces.apache.org/source-repository.html. I tried to be a wiseguy and browse the repository with Netbeans subeversion plugin and started to checkout MyFaces, but it was pulling everything down...the checkout hadn't even finished yet and I had checked out over 300MBs(it had every revision of all the modules which is not what I wanted). I don't know what I was doing. After that, I tried to focus in on a th 1.1.3 version of the tomahawk library I was using, but I kept running into an artifact problem when doing the build with maven. The url was: http://svn.apache.org/repos/asf/myfaces/tomahawk/branches/1_1_3. * when I ran maven on the top level pom, I would get an error that the pom is looking for a parent pom Then I used this URL: http://svn.apache.org/repos/asf/myfaces/tomahawk/branches/1_1_4 * I just reran this one a second ago and it works fine now...I think I just needed to keep rerunning maven and it would have downloaded all the libraries. However, I associated the error I was receiving with previous errors and I figured I was doing something very wrong. Another confusing issue for me is the directory structure of the branch. I looked through all the directories and I find pom.xml in several directories. I did not know what the /assembly or the /core directories were. Was one dependent on the other? Core seems to be a reference to MyFaces and I did not know if I needed MyFaces when all I wanted was tomahawk. I kept thinking I am missing dependencies. Last night was when I stumbled across the page you mention below and pulled the MyFaces and Tomahawk branches from: * http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk * I ran into an error and thought I checked out the wrong stuff again * http://svn.apache.org/repos/asf/myfaces/current * I ran into a problem this morning when I kicked out my email. However, I started to notice that something was happening when I did mvn install, and I also noticed the error was being thrown on different libraries so progress was happening. I ran into other things that confused me a little too like using "mvn clean install" or "mvn deploy" or just "mvn install". So, I wasn't sure if part of my problem was that I was calling the wrong targets. In any case, sometimes a word of encouragement that a person is heading in the right direction goes a long way. So, I would say if there was a wiki page that explains the directory structure, which POM a user should be using with maven and the differences between using a branch, tag or current branch. If downloading a particular branch, All is good now and I found the resultant jars. I imagine if I need to change some code, I jut modify the src and rerun maven install. Thanks for the reply, Dan Wendy Smoak-3 wrote: > > On 8/22/06, Danimal <[EMAIL PROTECTED]> wrote: >> >> Next issue: where are the jars after I do a "mvn install". I see that the >> code compiled and I got a success back from mvn (see below). > > Look under target/ in the module you're interested in. The jar or war > will be there, in addition to having been installed in your local > Maven repository. I've moved mine by changing settings.xml, I believe > the default is ${user.home}/.m2/repository. > >> I still can't find a definitve source on how this should work. > > Where did you look, so that we can add links where it should have been? :) > > I found this path, but I already knew it was on the Wiki: > Home Page -> Wiki -> http://wiki.apache.org/myfaces/Building_With_Maven > >> Hopefully, I will have the whole process ironed out today. Once this >> occurs, >> I hope to be in the clear for future builds of other Apache tools, >> including >> the MyFaces codebase. > > Welcome! Yes, there is a bit of a learning curve to get through with > Maven and Subversion. Please do improve the 'Building' wiki page if > you have time. (You'll need to register an account to gain edit > access to the wiki.) > > -- > Wendy > > -- View this message in context: http://www.nabble.com/Problem-with-building-Tomahawk-source-form-svn-with-mvn-tf2144591.html#a5927571 Sent from the My Faces - Dev forum at Nabble.com.
