Closed glassfishrobot closed 15 years ago
@glassfishrobot Commented bhaktimehta said: Assigning to Sreenivas , Sreenivas please can you let the docs team know and update these instructions for ant 1.6.5
@glassfishrobot Commented msreddy said: duplicate of 8322
@glassfishrobot Commented Was assigned to msreddy
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-8356
@glassfishrobot Commented Reported by anand_mishra
@glassfishrobot Commented Marked as duplicate on Friday, May 15th 2009, 3:58:28 am
As per instruction given in the mail to the sample using ant1.6.5.
You will need to do the following to test samples with ant and current promoted build b03b:
1. copy bp-project/build.properties.sample to bp-project/build.properties 2. for ant 1.6.5 to work add failonerror="false" to line 35 of bp-project/common-properties.xml (loadfile task).
with changes in common-properties.xml <loadfile srcFile="../nbproject/private/private.properties" property="javaee.home.foo" quiet="true" failonerror="false">
test run fails with this message
ant run Buildfile: build.xml
BUILD FAILED /space/sample-j2ee6/glassfishv3/glassfish/samples/javaee6/webservices/hello-singleton-ejb/build.xml:9: The following error occurred while executing this line: /space/sample-j2ee6/glassfishv3/glassfish/samples/bp-project/main.xml:22: The following error occurred while executing this line: /space/sample-j2ee6/glassfishv3/glassfish/samples/bp-project/command-line-ant-tasks.xml:12: The following error occurred while executing this line: /space/sample-j2ee6/glassfishv3/glassfish/samples/bp-project/common-properties.xml:35: The type doesn't support the "quiet" attribute.
Total time: 0 seconds
to run the sample have to remove the quiet="true" attribute from loadfile element.
<loadfile srcFile="../nbproject/private/private.properties" property="javaee.home.foo" failonerror="false">
Note*** To run sample i have to make the similar changes in samples/bp-project/jaxws.xml
so in order to run this sample i have modify 2 files
sample/bp-project/common-properties.xml samples/bp-project/jaxws.xml
Environment
Operating System: All Platform: Linux
Affected Versions
[V3]