[
https://issues.jboss.org/browse/FORGE-441?page=com.atlassian.jira.plugin....
]
Richard Kennard edited comment on FORGE-441 at 1/23/12 5:33 AM:
----------------------------------------------------------------
Pete,
I'm having a hard time building this? I copy the /ticketmonster folder into my /forge
installation, and do:
[no project] forge-distribution-1.0.0-SNAPSHOT $ cd ticketmonster
cd ticketmonster
***ERROR*** [cd] org.apache.maven.project.ProjectBuildingException: 8 problems were
encountered while building the effective model for org.jboss.jdf.e
xamples:ticket-monster:1.0-SNAPSHOT
[ERROR] Non-resolvable import POM: Could not find artifact
org.jboss.spec:jboss-javaee-6.0:pom:3.0.0.Beta1 @ line 42, column 22
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is
missing. @ line 59, column 19
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar is missing. @ line 67,
column 19
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar is missing. @ line 75, column 19
[ERROR] 'dependencies.dependency.version' for
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar is missing. @ line 83, column
19
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar is missing. @ line 91, column 19
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar is missing. @ line 99, column
19
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.faces:jboss-jsf-api_2.0_spec:jar is missing. @ line 107, column 19
for project org.jboss.jdf.examples:ticket-monster:1.0-SNAPSHOT at
Z:\forge-distribution-1.0.0-SNAPSHOT\ticketmonster\pom.xml
[no project] forge-distribution-1.0.0-SNAPSHOT $
What am I doing wrong?
At a guess, is this error related to
https://issues.jboss.org/browse/FORGE-392? I see that
in admin_layer.fsh you say...
"@/* Scaffold CRUD views for the entities that an admin would start drilling down
into the data model from */;"
...but Forge doesn't support 'automatically drilling down' yet. As a
workaround, you can do:
scaffold from-entity org.jboss.jdf.example.ticketmonster.model.*
This would also explain why you weren't seeing CRUD screens for the child entities?
was (Author: kennardconsulting):
Pete,
I'm having a hard time building this? I copy the /ticketmonster folder into my /forge
installation, and do:
____ _____
/ ___| ___ __ _ _ __ ___ | ___|__ _ __ __ _ ___
\___ \ / _ \/ _` | '_ ` _ \ | |_ / _ \| '__/ _` |/ _ \ \\
___) | __/ (_| | | | | | | | _| (_) | | | (_| | __/ //
|____/ \___|\__,_|_| |_| |_| |_| \___/|_| \__, |\___|
|___/
Windows? Really? Okay...
[no project] forge-distribution-1.0.0-SNAPSHOT $ cd ticketmonster
cd ticketmonster
***ERROR*** [cd] org.apache.maven.project.ProjectBuildingException: 8 problems were
encountered while building the effective model for org.jboss.jdf.e
xamples:ticket-monster:1.0-SNAPSHOT
[ERROR] Non-resolvable import POM: Could not find artifact
org.jboss.spec:jboss-javaee-6.0:pom:3.0.0.Beta1 @ line 42, column 22
[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is
missing. @ line 59, column 19
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar is missing. @ line 67,
column 19
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar is missing. @ line 75, column 19
[ERROR] 'dependencies.dependency.version' for
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar is missing. @ line 83, column
19
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar is missing. @ line 91, column 19
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar is missing. @ line 99, column
19
[ERROR] 'dependencies.dependency.version' for
org.jboss.spec.javax.faces:jboss-jsf-api_2.0_spec:jar is missing. @ line 107, column 19
for project org.jboss.jdf.examples:ticket-monster:1.0-SNAPSHOT at
Z:\forge-distribution-1.0.0-SNAPSHOT\ticketmonster\pom.xml
[no project] forge-distribution-1.0.0-SNAPSHOT $
What am I doing wrong?
At a guess, is this error related to
https://issues.jboss.org/browse/FORGE-392? I see that
in admin_layer.fsh you say...
"@/* Scaffold CRUD views for the entities that an admin would start drilling down
into the data model from */;"
...but Forge doesn't support 'automatically drilling down' yet. As a
workaround, you can do:
scaffold from-entity org.jboss.jdf.example.ticketmonster.model.*
This would also explain why you weren't seeing CRUD screens for the child entities?
Running the admin_layout.fsh script in ticketmonster produces broken
classes
-----------------------------------------------------------------------------
Key: FORGE-441
URL:
https://issues.jboss.org/browse/FORGE-441
Project: Forge
Issue Type: Bug
Environment: HEAD
Reporter: Pete Muir
Assignee: Richard Kennard
Try running the script at
https://github.com/pmuir/ticket-monster-1/blob/minor_build/admin_layer.fsh having checked
out the project (note it is on the minor_build branch).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira