You have not installed the javaee-5.jar correctly. step-by-step is in Installation Guide, http://fornax-platform.org/cp/x/cgQ and then Advanced Tutorial, http://fornax-platform.org/cp/x/dQQ
Let me know if anything there can be clarified or simplified. /Patrik prakasam wrote: > > Dear friends, > > Any one tried to configure Sculptor library example located at > http://www.theserverside.com/tt/articles/content/ProductivityWithSculptor/article.html > Kindly give me step by step configuration. > > Following operations i did.but i am getting error. > > create javee-5.jar by executing this command: > > mvn install:install-file -Dfile=c:\java_ee_sdk-5-windows.exe > -DgroupId=javaee -DartifactId=javaee -Dversion=5 -Dpackaging=jar > > Build Successful. > > then, > > mvn archetype:create -DarchetypeGroupId=org.fornax.cartridges > -DarchetypeArtifactId=fornax-cartridges-sculptor-archetype-standalone > -DarchetypeVersion=1.1.0 > -DremoteRepositories=http://www.fornax-platform.org/m2/repository > -DgroupId=org.library -DartifactId=library > > [INFO] Archetype created in dir: C:\library > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4 seconds > [INFO] Finished at: Wed Nov 14 11:20:09 IST 2007 > [INFO] Final Memory: 5M/9M > [INFO] > ------------------------------------------------------------------------ > > > > c:>/mvn eclipse:eclipse > > Build successful. > > > Then > > i pasted this dsl code to > src/main/resources/model.design > > > Application Library { > basePackage = org.library > > Module media { > > Service LibraryService { > findLibraryByName delegates to > LibraryRepository.findLibraryByName; > saveLibrary delegates to LibraryRepository.save; > findMediaByName delegates to MediaRepository.findMediaByName; > findMediaByCharacter delegates to > MediaRepository.findMediaByCharacter; > findPersonByName delegates to PersonService.findPersonByName; > } > > Entity Library { > String name key > reference Set<@PhysicalMedia> media opposite library > > Repository LibraryRepository { > findById; > save; > findByQuery; > @Library findLibraryByName(String name) throws > LibraryNotFoundException; > } > } > > Entity PhysicalMedia { > String status length="3" > String location > reference @Library library opposite media > reference Set<@Media> media opposite physicalMedia > } > > abstract Entity Media { > String title not changeable > reference Set<@PhysicalMedia> physicalMedia opposite media > reference Set<@Engagement> engagements opposite media > reference Set<@MediaCharacter> characters opposite existsInMedia > > Repository MediaRepository { > inject MediaCharacterRepository > int getNumberOfMovies(Long libraryId) delegates to > AccessObject; > List<@Media> findMediaByCharacter(Long libraryId, String > characterName); > findById; > save; > findByQuery; > protected findByKeys(Set<String> keys, String keyPropertyName, > Class persistentClass); > List<@Media> findMediaByName(Long libraryId, String name); > Map<String, @Movie> findMovieByUrlIMDB(Set<String> keys); > } > } > > Entity Book extends Media { > not auditable > String isbn key length="20" > } > > Entity Movie extends Media { > not auditable > String urlIMDB key > Integer playLength > } > > ValueObject Engagement { > String role > reference @Person person > reference @Media media opposite engagements > } > > ValueObject MediaCharacter { > String name > reference Set<@Person> playedBy > reference Set<@Media> existsInMedia opposite characters > > Repository MediaCharacterRepository { > findByQuery; > } > } > } > > Module person { > Service PersonService { > findPersonByName delegates to PersonRepository.findPersonByName; > } > > Entity Person { > String ssn key length="20" > String country key length="2" > Integer age > reference @PersonName name > > Repository PersonRepository { > findById; > List<@Person> findPersonByName(String name) delegates to > AccessObject; > save; > save(Collection<@Person> entities); > findByQuery; > findByExample; > delete; > Map<org.library.person.domain.PersonBase.PersonKey, @Person> > findPersonsByKeys( > Set<org.library.person.domain.PersonBase.PersonKey> keys) > delegates to AccessObject; > } > } > > BasicType PersonName { > String first > String last > } > } > } > > then > > > C:\library>mvn clean install > [INFO] Scanning for projects... > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Business tier project for library > [INFO] task-segment: [clean, install] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [clean:clean] > [INFO] Deleting directory C:\library\target > [INFO] Deleting directory C:\library\target\classes > [INFO] Deleting directory C:\library\target\test-classes > [INFO] Deleting directory C:\library\target\site > [WARNING] > Artifact dbunit:dbunit:jar:2.1:test retains local scope 'test' > overriding broader scope 'com > pile' > given by a dependency. If this is not intended, modify or remove > the local scope. > > [WARNING] > Artifact commons-logging:commons-logging:jar:1.0.3:provided > retains local scope 'provided' o > verriding broader scope 'compile' > given by a dependency. If this is not intended, modify or remove > the local scope. > > Downloading: > http://www.fornax-platform.org/m2/repository/javaee/javaee/5/javaee-5.pom > [WARNING] Unable to get resource 'javaee:javaee:pom:5' from repository > fornax.repository (http://www > .fornax-platform.org/m2/repository) > Downloading: http://repo1.maven.org/maven2/javaee/javaee/5/javaee-5.pom > [WARNING] Unable to get resource 'javaee:javaee:pom:5' from repository > central (http://repo1.maven.o > rg/maven2) > [WARNING] > Artifact log4j:log4j:jar:1.2.8:provided retains local scope > 'provided' overriding broader sc > ope 'compile' > given by a dependency. If this is not intended, modify or remove > the local scope. > > [INFO] [fornax-oaw-m2:run-workflow {execution: default}] > [INFO] oAW Maven2 Plugin V1.0.3 > 0 INFO WorkflowRunner - > -------------------------------------------------------------------- > ------------------ > 93 INFO WorkflowRunner - openArchitectureWare 4.1.2, Build > v20070314 > 109 INFO WorkflowRunner - (c) 2005-2007 openarchitectureware.org and > contributors > 109 INFO WorkflowRunner - > -------------------------------------------------------------------- > ------------------ > 109 INFO WorkflowRunner - running workflow: workflow.oaw > 125 INFO WorkflowRunner - > 1937 INFO CompositeComponent - Weaving Advice: reflectionAdvice > 2156 INFO CompositeComponent - workflow sculptorworkflow.oaw > 2156 INFO CompositeComponent - workflow > org/fornax/cartridges/sculptor/dsl/parser/Parser.oaw > 2156 INFO CompositeComponent - ParserComponent > 2968 INFO CompositeComponent - CheckComponent: expression > dslModel.eAllContents.union({dslModel}) c > heck file(s): org::fornax::cartridges::sculptor::dsl::sculptordslChecks > 3562 INFO CompositeComponent - XtendComponent: executing > 'transformation::DslTransformation' > 4140 INFO CompositeComponent - constrChecker: expression > model.eAllContents.union( { model } ) chec > k file(s): constraints/constraints > 4781 INFO CompositeComponent - XtendComponent: executing > 'transformation::Transformation' > 4984 INFO CompositeComponent - constrChecker: expression > transformedModel.eAllContents.union( { tra > nsformedModel } ) check file(s): constraints/constraints > 5124 INFO CompositeComponent - generator: generating > 'templates::Root::Root FOR transformedModel' = >> directory 'null' > 5390 INFO FileHandleImpl - Patch for oAW bug 180359 is active. > 13968 INFO Generator - Written 51 files to outlet > [default](src/generated/java) > 13968 INFO Generator - Written 18 files to outlet > TO_SRC(src/main/java) > 13968 INFO Generator - Written 2 files to outlet > TO_SRC_TEST(src/test/java) > 13968 INFO Generator - Written 2 files to outlet > TO_GEN_SRC_TEST(src/test/generated/java) > 13968 INFO Generator - Written 5 files to outlet > TO_RESOURCES(src/main/resources) > 13968 INFO Generator - Written 4 files to outlet > TO_RESOURCES_TEST(src/test/resources) > 13968 INFO Generator - Written 21 files to outlet > TO_GEN_RESOURCES(src/generated/resources > ) > 13968 INFO Generator - Written 3 files to outlet > TO_GEN_RESOURCES_TEST(src/test/generated/ > resources) > 13984 INFO WorkflowRunner - workflow completed in 11828ms! > Adding C:\library\src\generated\java > Adding C:\library\src\test\generated\java > [INFO] Adding C:\library\src\generated\resources to the list of current > resources. > [INFO] Adding C:\library\src\main\resources to the list of current > resources. > [INFO] Adding C:\library\src\test\generated\resources to the list of > current resources. > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 69 source files to C:\library\target\classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > C:\library\src\generated\java\org\library\person\serviceproxy\PersonServiceProxy.java:[10,17] > packag > e javax.ejb does not exist > > C:\library\src\generated\java\org\library\media\serviceimpl\LibraryServiceBean.java:[15,17] > package > javax.ejb does not exist > > C:\library\src\generated\java\org\library\media\serviceimpl\LibraryServiceBean.java:[22,7] > cannot ac > cess javax.ejb.SessionBean > file javax\ejb\SessionBean.class not found > public class LibraryServiceBean extends AbstractServiceBean > > C:\library\src\generated\java\org\library\media\serviceproxy\LibraryServiceProxy.java:[13,17] > packag > e javax.ejb does not exist > > C:\library\src\generated\java\org\library\person\serviceimpl\PersonServiceBean.java:[11,17] > package > javax.ejb does not exist > > C:\library\src\generated\java\org\library\person\serviceimpl\PersonServiceBean.java:[18,7] > cannot ac > cess javax.ejb.EnterpriseBean > file javax\ejb\EnterpriseBean.class not found > public class PersonServiceBean extends AbstractServiceBean > > C:\library\src\generated\java\org\library\person\serviceproxy\PersonServiceProxy.java:[29,5] > cannot > find symbol > symbol : class EJB > location: class org.library.person.serviceproxy.PersonServiceProxy > > C:\library\src\generated\java\org\library\media\serviceproxy\LibraryServiceProxy.java:[32,5] > cannot > find symbol > symbol : class EJB > location: class org.library.media.serviceproxy.LibraryServiceProxy > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 33 seconds > [INFO] Finished at: Wed Nov 14 11:50:57 IST 2007 > [INFO] Final Memory: 21M/46M > [INFO] > ------------------------------------------------------------------------ > > > Dear friends, > > i am getting error like this.kindly help me on this issue > > Regards, > Prakasam.R. > 9902199334. > > > -- View this message in context: http://www.nabble.com/Sculptor-library-example-step-by-step-guide.-tf4802453s17564.html#a13740960 Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Fornax-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fornax-developer
