Hi 2009/5/6 Ganesh <[email protected]>
> Hi Leonardo, > > Currently I'm trying to set up the tomahawk project on my system to package > tomahwak-1.1.9-SNAPSHOT.jar as well as tomahawk12-1.1.9-SNAPSHOT.jar. I've > checked out the tomahawk trunk and run mvn. It works fine for > core/target/tomahwak-1.1.9-SNAPSHOT.jar. When going for tomahawk12 it fails. > It unpacks the shared-sources and the tomahwak-1.1.9 jar but when compiling > the tomahwak-1.1.9 classes aren't found on the build path: > > [INFO] Configured Artifact: > org.apache.myfaces.tomahawk:tomahawk:1.1.9-SNAPSHOT:jar > [INFO] Unpacking C:\Dokumente und > Einstellungen\Ganesh\.m2\repository\org\apache\myfaces\tomahawk\tomahawk\1.1.9-SNAPSHOT\tomahawk-1.1.9-SNAPSHOT.jarto > C:\projects\tomahawk\core12\target\tomahawk11_resources > with Includes null and > excludes:**/*.class,**/META-INF/**,META-INF/componentClass12.vm,META-INF/facelets-taglib.vm,META-INF/faces-config12.vm,META-INF/LICENSE.txt,META-INF/licenses/dojo-LICENSE.TXT,META-INF/licenses/i18n-LICENSE.txt,META-INF/licenses/jscookmenu-LICENSE.txt,META-INF/licenses/kupu-LICENSE.txt,META-INF/licenses/prototype-LICENSE.txt,META-INF/licenses/scriptaculous-LICENSE.txt,META-INF/NOTICE.txt,META-INF/tagClass12.vm,META-INF/tagConverterClass12.vm,META-INF/tagValidatorClass12.vm,META-INF/tomahawk12.vm,META-INF/validatorClass12.vm,META-INF/xdoc-component.vm,META-INF/xdoc-converter.vm,META-INF/xdoc-tag.vm,META-INF/xdoc-validator.vm > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 187 source files to > C:\projects\tomahawk\core12\target\classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > C:\projects\tomahawk\core12\src\main\java\org\apache\myfaces\custom\tree\taglib\AbstractTreeTag.java:[26,37] > cannot find symbol > symbol : class HtmlTree > location: package org.apache.myfaces.custom.tree > > .... (many more errors, no classes from tomahawk-1.1.9-SNAPSHOT.jar are on > the compile path) > > > Do I have a problem with my maven version? I'm using Apache Maven 2.1.0 > (r755702; 2009-03-18 20:10:27+0100). Is there something else I need to set > up in order to compile tomahawk12? > It should work, but I'm using maven 2.0.9. This behavior indicates that something is not generated. I'll try with 2.1.0 to see what happens, but there are no special set up required to compile tomahawk core12. Maybe try mvn clean and then mvn install from tomahawk directory to compile everything in order, because core12 uses core to get most of the code (in few word core12 = some code from core + some specific code from core12 + shared 3.0.x + regenerate everything for jsf 1.2) regards Leonardo Uribe > > Best Regards, > Ganesh >
