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). It is amazing how difficult this build process is =) with a finicky tool and very little documentation for how things should go. I still can't find a definitve source on how this should work. I imagine most of the documentation and wiki is maintained by engineers and not tech writers and a professional UI/UX designer. If there is documentation, then it is difficult for me to find it. And to think all I need to do is make a slight modification to one of the renderkit classes and it has taken me almost 2 days to figure this out. 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.
[INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] Tomahawk Project ...................................... SUCCESS [5.478s] [INFO] Tomahawk Core ......................................... SUCCESS [1:06.506 s] [INFO] Tomahawk Examples Project ............................. SUCCESS [0.380s] [INFO] Tomahawk Examples: Blank .............................. SUCCESS [5.098s] [INFO] Tomahawk Examples: Simple ............................. SUCCESS [11.266s] [INFO] Tomahawk Examples: Tiles .............................. SUCCESS [6.689s] [INFO] Tomahawk Examples: WAP ................................ SUCCESS [4.637s] [INFO] Sandbox Project ....................................... SUCCESS [0.080s] [INFO] Sandbox Core .......................................... SUCCESS [44.024s] [INFO] Sandbox Examples ...................................... SUCCESS [9.794s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 minutes 36 seconds [INFO] Finished at: Tue Aug 22 06:28:27 MDT 2006 [INFO] Final Memory: 12M/42M [INFO] ------------------------------------------------------------------------ Regards, Danimal Danimal wrote: > > Well, it seems the problem is a moving target. I notice that if maven has > difficulty downloading a library, it will stop processing. If I repeat the > same command over and over, I can get more progress each time. Currently, > I am trying to build the source from this path: > http://svn.apache.org/repos/asf/myfaces/current. I have run the maven > command 5 times so far, each time making more progress and this seemed to > do the trick. I wish I knew that the trick to maven is tenaciousness. > Isn't the maven tool more stable in its behavior? Do other people have > this same problem? I am thinking my only problem was my assumption that > maven wouldn't break so easily during the build. Maven is a little > finicky. > > Danimal > > > > Cagatay Civici wrote: >> >> Hi Danimal, >> >> First you should checkout maven module and build it. Also shared is >> necessary too. >> >> Try checking out current and building it instead so you get everything >> you >> need. >> >> Cagatay >> >> On 8/22/06, Danimal <[EMAIL PROTECTED]> wrote: >>> >>> >>> What branch/tag should I be grabbing if I want to grab the tomahawk >>> source >>> to >>> build? I checked out the source from this location: >>> http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk. However, I am >>> getting a maven problem and I suspect that I didn't check out the >>> correct >>> code to do a build. >>> >>> Here is the error message when I run maven on the pom.xml from the top >>> level >>> directory of the code I checked out: >>> [INFO] Scanning for projects... >>> Downloading: >>> http://repo1.maven.org/maven2/org/apache/myfaces/maven/myfaces-mast >>> er/1.0.3/myfaces-master-1.0.3.pom >>> [WARNING] Unable to get resource from repository central >>> (http://repo1.maven.org >>> /maven2) >>> [INFO] >>> ------------------------------------------------------------------------ >>> [ERROR] FATAL ERROR >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Failed to resolve artifact. >>> >>> GroupId: org.apache.myfaces.maven >>> ArtifactId: myfaces-master >>> Version: 1.0.3 >>> >>> Reason: Unable to download the artifact from any repository >>> >>> org.apache.myfaces.maven:myfaces-master:pom:1.0.3 >>> >>> from the specified remote repositories: >>> central (http://repo1.maven.org/maven2) >>> >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Trace >>> org.apache.maven.reactor.MavenExecutionException: Cannot find parent: >>> org.apache >>> .myfaces.maven:myfaces-master for project: >>> org.apache.myfaces.tomahawk:tomahawk- >>> project:pom:1.1.3 >>> >>> Regards, >>> Danimal >>> -- >>> View this message in context: >>> http://www.nabble.com/Problem-with-building-Tomahawk-source-form-svn-with-mvn-tf2144591.html#a5920361 >>> Sent from the My Faces - Dev forum at Nabble.com. >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Problem-with-building-Tomahawk-source-form-svn-with-mvn-tf2144591.html#a5924866 Sent from the My Faces - Dev forum at Nabble.com.
