Bug 866942 - Seam2.3 seam-gen generated project is missing some lib/*.jar
Summary: Seam2.3 seam-gen generated project is missing some lib/*.jar
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Seam
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR2
: 2.1.0
Assignee: Marek Novotny
QA Contact: Marek Schmidt
URL:
Whiteboard: Seam2.3
Depends On: 867390
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-16 11:22 UTC by Marek Schmidt
Modified: 2012-11-30 15:34 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-30 15:34:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
missing libraries in JBDS (3.74 KB, application/octet-stream)
2012-10-17 11:53 UTC, Tomas Remes
no flags Details
missing classpath libraries (1.64 KB, application/octet-stream)
2012-11-07 13:29 UTC, Tomas Remes
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 867390 0 medium CLOSED Seam Distribution has wrong readme.txt content for getting Arquillian libs 2021-02-22 00:41:40 UTC

Internal Links: 867390

Description Marek Schmidt 2012-10-16 11:22:29 UTC
Description of problem:

seam-gen generated build.xml references non-existing glassfish-build.xml

Version-Release number of selected component (if applicable):
jboss-seam-2.3.0.Final-redhat-1

How reproducible:
Always

Steps to Reproduce:
1. seam setup
2. seam create-project
3. seam explode
  
Actual results:


$ ./seam explode
SEAM_HOME: /home/maschmid/testing/wfk/wfk2.1.0.ER2/jboss-wfk-2.1.0.ER2/jboss-seam-2.3.0.Final-redhat-1
Using seam-gen sources from: /home/maschmid/testing/wfk/wfk2.1.0.ER2/jboss-wfk-2.1.0.ER2/jboss-seam-2.3.0.Final-redhat-1/seam-gen
Buildfile: /home/maschmid/testing/wfk/wfk2.1.0.ER2/jboss-wfk-2.1.0.ER2/jboss-seam-2.3.0.Final-redhat-1/seam-gen/build.xml

init:

init-properties:
     [echo] /home/maschmid/testing/wfk/wfk2.1.0.ER2/jboss-wfk-2.1.0.ER2/jboss-seam-2.3.0.Final-redhat-1/tmp/jboss-eap-6.0

validate-workspace:

validate-project:

explode:
     [echo] Deploying project 'myproject' to JBoss AS as an exploded directory

BUILD FAILED
/home/maschmid/testing/wfk/wfk2.1.0.ER2/jboss-wfk-2.1.0.ER2/jboss-seam-2.3.0.Final-redhat-1/seam-gen/build.xml:1641: The following error occurred while executing this line:
/home/maschmid/testing/wfk/wfk2.1.0.ER2/jboss-wfk-2.1.0.ER2/jboss-seam-2.3.0.Final-redhat-1/tmp/myproject/build.xml:54: Cannot find /home/maschmid/testing/wfk/wfk2.1.0.ER2/jboss-wfk-2.1.0.ER2/jboss-seam-2.3.0.Final-redhat-1/tmp/myproject/glassfish-build.xml imported from /home/maschmid/testing/wfk/wfk2.1.0.ER2/jboss-wfk-2.1.0.ER2/jboss-seam-2.3.0.Final-redhat-1/tmp/myproject/build.xml

Total time: 0 seconds

Expected results:


It should explode the war into the EAP6 standalone/deployments

Additional info:


Note that removing the

 <import file="${basedir}/glassfish-build.xml"/>

line from build.xml does reveal another problem: 

BUILD FAILED
/home/maschmid/testing/wfk/wfk2.1.0.ER2/jboss-wfk-2.1.0.ER2/jboss-seam-2.3.0.Final-redhat-1/seam-gen/build.xml:1641: The following error occurred while executing this line:
/home/maschmid/testing/wfk/wfk2.1.0.ER2/jboss-wfk-2.1.0.ER2/jboss-seam-2.3.0.Final-redhat-1/tmp/myproject/build.xml:60: /home/maschmid/testing/wfk/wfk2.1.0.ER2/jboss-wfk-2.1.0.ER2/jboss-seam-2.3.0.Final-redhat-1/tmp/myproject/lib/test not found.

Comment 1 Tomas Remes 2012-10-17 11:53:45 UTC
Created attachment 628724 [details]
missing libraries in JBDS

Comment 2 Tomas Remes 2012-10-17 11:55:51 UTC
Besides above described problems there is wrong eclipse classpath in the generated projects therefore there are errors after importing projects to JBDS. See attachement for missing libs.

Comment 3 Marek Novotny 2012-10-17 12:25:20 UTC
Just fyi all missing lib/test/*.jar are expected. You need to launch 
ant -f get-arquillian-libs.xml -Dtest.lib.dir=$(pwd)/lib/test
This is due we are not distributing ARQ dependencies in WFK product.

But I found out additional issue that distro assembly of get-arquillian-libs.xml is wrongly in root of seam distribution, so you need to move it into seam-gen directory and then launch the getting of arquillian libs.

Comment 4 Marek Novotny 2012-10-19 10:48:24 UTC
I have removed remaining glassfish dirs and references.

Comment 6 Tomas Remes 2012-11-07 13:29:44 UTC
Created attachment 640073 [details]
missing classpath libraries

Generated project is still missing some lib/*.jar. Its classpath is probably wrong. For missing libs see my latest attachement

Comment 9 Marek Schmidt 2012-11-15 16:28:02 UTC
Verified on WFK 2.1.0.CR2

Comment 10 Karel Piwko 2012-11-30 15:34:31 UTC
Distributed as a part of WFK 2.1.0.GA release.


Note You need to log in before you can comment on or make changes to this bug.