eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
385 stars 144 forks source link

4 projects from the samples will not build #11600

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 14 years ago

yet to run the samples; just been building them;

all build but 4;

error 1 ejb31-war init: undeploy-clean: deps-clean: do-clean: check-clean: G:\Sun\sges-v3\glassfish\samples\javaee6\ejb\ejb31-war\build.xml:22: antcall task calling a target that depends on its parent target '-post-clean'. BUILD FAILED (total time: 0 seconds)

error for hello-jaxws2.2 do-clean: check-clean: G:\Sun\sges-v3\glassfish\samples\javaee6\webservices\hello- jaxws2.2\build.xml:33: The following error occurred while executing this line: G:\Sun\sges-v3\glassfish\samples\javaee6\webservices\hello-jaxws2.2\hello-jaxws- client\build.xml:7: The following error occurred while executing this line: G:\Sun\sges-v3\glassfish\samples\bp-project\jaxws.xml:41: G:\Sun\sges-v3\modules does not exist. BUILD FAILED (total time: 0 seconds)

error for hell-singleton-ejb deps-clean: G:\Sun\sges-v3\glassfish\samples\javaee6\webservices\hello-singleton- ejb\build.xml:37: The following error occurred while executing this line: G:\Sun\sges-v3\glassfish\samples\javaee6\webservices\hello-singleton-ejb\hello- singleton-client\build.xml:7: The following error occurred while executing this line: G:\Sun\sges-v3\glassfish\samples\bp-project\jaxws.xml:41: G:\Sun\sges-v3\modules does not exist. BUILD FAILED (total time: 0 seconds)

error for hello-webserviceref eps-clean: do-clean: check-clean: G:\Sun\sges-v3\glassfish\samples\javaee6\webservices\hello- webserviceref\build.xml:36: The following error occurred while executing this line: G:\Sun\sges-v3\glassfish\samples\javaee6\webservices\hello-webserviceref\hello- webserviceref-appclient\build.xml:7: The following error occurred while executing this line: G:\Sun\sges-v3\glassfish\samples\bp-project\jaxws.xml:41: G:\Sun\sges-v3\modules does not exist. BUILD FAILED (total time: 0 seconds)

all build but these 4; javaee.home=G:/Sun/sges-v3

3 seem to want javaee.home=G:/Sun/sges-v3/glassfish ???

this seems strange – javaee6 javaee-tutorial does not need such a setting; nor does any of the other glassfish samples.

just tested changing javaee.home to G:/Sun/sges-v3/glassfish

now hello-jaxws2.2, hello-singleton-ejb, hello-webserviceref all build; but what about the other projects now?

seems like javaee.home sould be G:/Sun/sges-v3 not G:/Sun/sges-v3/glassfish

still have not figured how to build successfully the first project mentioned, ejb31-war. – just determined – a netbeans build will work, but clean, or clean,build will fail; build alone does not get errors

using netbeans6.9 dev 201002180200

Environment

Operating System: All Platform: All

Affected Versions

[V3]

glassfishrobot commented 6 years ago
glassfishrobot commented 14 years ago

@glassfishrobot Commented emiddio@java.net said: to be consistent with previous glassfish releases – i set javaee.home to , not /glassfish.

these 4 examples will not build with such setting.

the issue is fixed by editing sges-v3\glassfish\samples\bp-project\jaxws.xml,

edit line 33 – change <property name="jaxws.lib" value="$

{javaee.home}/modules"/>

to <property name="jaxws.lib" value="${javaee.home}

/glassfish/modules"/>

now things build – i am in process of building all projects – if have any issues with this change will update this entry.

i will report also if all projects build with this change.

glassfishrobot commented 14 years ago

@glassfishrobot Commented emiddio@java.net said: the last comment only refers to the last 3 of the reported project problems.

problem 1 still remains.

glassfishrobot commented 14 years ago

@glassfishrobot Commented emiddio@java.net said: all projects now build – i undid my change to jaxws.xml;

i found where the samples expect javaee.home to be /glassfish

BUT project ejb31-war will not clean – so clean, clean, build fail; build works;

the error is

do-clean: Deleting directory G:\Sun\sges-v3\glassfish\samples\javaee6\ejb\ejb31-war\build Deleting directory G:\Sun\sges-v3\glassfish\samples\javaee6\ejb\ejb31-war\dist check-clean: G:\Sun\sges-v3\glassfish\samples\javaee6\ejb\ejb31-war\build.xml:22: antcall task calling a target that depends on its parent target '-post-clean'. BUILD FAILED (total time: 0 seconds)

glassfishrobot commented 14 years ago

@glassfishrobot Commented emiddio@java.net said: issue with clean or clean,build with project ejb31-war was fixed by editing build.xml -post-clean target;

changed to

seems to work; do not know if it can somehow break something ???

so i have got all projects to clean,build just fine at the moment.

any issues i found have been reported.

glassfishrobot commented 14 years ago

@glassfishrobot Commented scatari said: Will evaluate further, currently committing to MS7.

glassfishrobot commented 14 years ago

@glassfishrobot Commented scatari said: Cannot reproduce this locally using Java EE 6 U 2, B23.

glassfishrobot commented 14 years ago

@glassfishrobot Commented ai109478 said: Updated Target Milestone to 3.1_ms06.

glassfishrobot commented 14 years ago

@glassfishrobot Commented Was assigned to scatari

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-11600

glassfishrobot commented 14 years ago

@glassfishrobot Commented Reported by emiddio@java.net

glassfishrobot commented 14 years ago

@glassfishrobot Commented Marked as cannot reproduce on Wednesday, October 20th 2010, 5:16:07 pm