Re: Comments on 1.1-RC3a
On Jan 30, 2008 2:08 PM, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 1:56 PM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 1:11 PM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 11:14 AM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 10:02 AM, sebb [EMAIL PROTECTED] wrote: OK. What about the files that are in SVN but missing from the source archive? Hi Sebb Yes, there are still some files in the tag, from which the released artifacts (binary and source) are constructed that are not included in the release artifacts. Why is that? Are the files obsolete? Regards Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Some are the .svg files from which the .png files you see in the samples are created. We decided not to ship them but useful to have them in the branch in case we need to adjust the pictures. Looking back at the list in the first post to this thread, I see most of these when I unpacked the source zip on windows just now but the selection I have looked at are empty directories. I took a look in the tar archive and they seem to be there also. What archive did you use and what platform are you on? Zip, Windows. tools/maven/maven-incremental-build/src contains two java files but the others do seem to be empty. Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hmmm. Looks like that source is chopped out when the distribution is built as it lives under a path with the word build in it. The distribution builder assumes this is a temporary directory and removes it. I'm not overly concerned in this specific case as this tool is a non essential utility. It's a maven plugin that provides some simple incremental build function. Tuscany is no less functional without it and it's not used by default. We need to fix this in the next release. OK. Might be better for the dist. builder to only exclude specified paths, otherwise this could cause other problems in the future... Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Agreed. Simon To follow up on this, over on the project vote thread Sebastien raised a a JIRA (TUSCANY-2024) to cover the two missing files from the incremental build tool folder. You can find it here. https://issues.apache.org/jira/browse/TUSCANY-2024 Regards Simon
Re: Comments on 1.1-RC3a
OK. What about the files that are in SVN but missing from the source archive? On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Finally I can reproduce the problem now. This time I unzipped the src distro to a new folder and set JAVA_HOME to SUN's JDK. The same problem came out! The main issue here is that IBM JDK behaves differently than the SUN's JDK in creating a new file where some folders in the path don't exist yet. IBM JDK creates the intermediate folders while SUN's JDK complains with a FileNotFoundException. When I tried SUN's JDK this morning, the folders were already created from previous builds and the probem was hidden. Anyway, I will fix the code to make sure it creates the folders before opening the file. For the 1.1 release, I don't think it's a blocker since it's an itest and there are a few workarounds available (for example, using IBM JDK or manually create the folder). We should document it as a known issue. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 7:42 PM Subject: Re: Comments on 1.1-RC3a On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: The debug log only provides information about the maven plugins. In your case, a java program in the itest module is invoked from maven and it fails to create a file. In that case, I would say that the program has a bug, because it is not reporting the failure I don't see any options other than attaching a debugger to figure out why the file cannot be created but I cannot reproduce the problem here. Sometimes I use this tool on Windows to find out if a file is in use: http://download.sysinternals.com/Files/ProcessExplorer.zip. Not the case here, because the file does not exist. Can you try to create a dummy file with the same name at the the same location to see it's possible? The failed name is: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java The path D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\ exists, but it only has a resources subdirectory, not a java one so I cannot create the file. This is presumably the cause. Rebooting your machine may help too. Already done that. As suggested by Luciano, you can build the databindings folder alone. Still fails, see other post. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 6:22 PM Subject: Re: Comments on 1.1-RC3a Indeed - what does the debug log say about why this did not occur? Is there any additional debugging that can be turned on to find out why it was not created? It takes 30 mins or so to run the build, so I don't want to redo it only to find that it needs to be done yet again with additional options. Alternatively, how can I re-run just the part of the build that failed? On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: It's supposed to generate the following file from GreeterService.java.vm. D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java For some strange reason, this file cannot be created in your case. Can you try to unzip the source distro to a different folder and build again? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 5:32 PM Subject: Re: Comments on 1.1-RC3a Surely the problem is that the file does not exist? See below. D:\tuscany-sca-1.1-incubating-srcdir /s GreeterService.java* Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\src\main\resources\generate 27/01/2008 13:01 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Total Files Listed: 3 File(s) 5,334 bytes D:\tuscany-sca-1.1-incubating-src On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Hi, It's strange. The main problem you have is that the following file cannot be opened for write: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src
Re: Comments on 1.1-RC3a
On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 10:02 AM, sebb [EMAIL PROTECTED] wrote: OK. What about the files that are in SVN but missing from the source archive? Hi Sebb Yes, there are still some files in the tag, from which the released artifacts (binary and source) are constructed that are not included in the release artifacts. Why is that? Are the files obsolete? Regards Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Comments on 1.1-RC3a
On Jan 30, 2008 10:02 AM, sebb [EMAIL PROTECTED] wrote: OK. What about the files that are in SVN but missing from the source archive? Hi Sebb Yes, there are still some files in the tag, from which the released artifacts (binary and source) are constructed that are not included in the release artifacts. Regards Simon
Re: Comments on 1.1-RC3a
On Jan 30, 2008 11:14 AM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 10:02 AM, sebb [EMAIL PROTECTED] wrote: OK. What about the files that are in SVN but missing from the source archive? Hi Sebb Yes, there are still some files in the tag, from which the released artifacts (binary and source) are constructed that are not included in the release artifacts. Why is that? Are the files obsolete? Regards Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Some are the .svg files from which the .png files you see in the samples are created. We decided not to ship them but useful to have them in the branch in case we need to adjust the pictures. Looking back at the list in the first post to this thread, I see most of these when I unpacked the source zip on windows just now but the selection I have looked at are empty directories. I took a look in the tar archive and they seem to be there also. What archive did you use and what platform are you on? Simon
Re: Comments on 1.1-RC3a
On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 11:14 AM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 10:02 AM, sebb [EMAIL PROTECTED] wrote: OK. What about the files that are in SVN but missing from the source archive? Hi Sebb Yes, there are still some files in the tag, from which the released artifacts (binary and source) are constructed that are not included in the release artifacts. Why is that? Are the files obsolete? Regards Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Some are the .svg files from which the .png files you see in the samples are created. We decided not to ship them but useful to have them in the branch in case we need to adjust the pictures. Looking back at the list in the first post to this thread, I see most of these when I unpacked the source zip on windows just now but the selection I have looked at are empty directories. I took a look in the tar archive and they seem to be there also. What archive did you use and what platform are you on? Zip, Windows. tools/maven/maven-incremental-build/src contains two java files but the others do seem to be empty. Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Comments on 1.1-RC3a
On Jan 30, 2008 1:56 PM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 1:11 PM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 11:14 AM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 10:02 AM, sebb [EMAIL PROTECTED] wrote: OK. What about the files that are in SVN but missing from the source archive? Hi Sebb Yes, there are still some files in the tag, from which the released artifacts (binary and source) are constructed that are not included in the release artifacts. Why is that? Are the files obsolete? Regards Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Some are the .svg files from which the .png files you see in the samples are created. We decided not to ship them but useful to have them in the branch in case we need to adjust the pictures. Looking back at the list in the first post to this thread, I see most of these when I unpacked the source zip on windows just now but the selection I have looked at are empty directories. I took a look in the tar archive and they seem to be there also. What archive did you use and what platform are you on? Zip, Windows. tools/maven/maven-incremental-build/src contains two java files but the others do seem to be empty. Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hmmm. Looks like that source is chopped out when the distribution is built as it lives under a path with the word build in it. The distribution builder assumes this is a temporary directory and removes it. I'm not overly concerned in this specific case as this tool is a non essential utility. It's a maven plugin that provides some simple incremental build function. Tuscany is no less functional without it and it's not used by default. We need to fix this in the next release. OK. Might be better for the dist. builder to only exclude specified paths, otherwise this could cause other problems in the future... Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Agreed. Simon
Re: Comments on 1.1-RC3a
On Jan 30, 2008 1:11 PM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 11:14 AM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 10:02 AM, sebb [EMAIL PROTECTED] wrote: OK. What about the files that are in SVN but missing from the source archive? Hi Sebb Yes, there are still some files in the tag, from which the released artifacts (binary and source) are constructed that are not included in the release artifacts. Why is that? Are the files obsolete? Regards Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Some are the .svg files from which the .png files you see in the samples are created. We decided not to ship them but useful to have them in the branch in case we need to adjust the pictures. Looking back at the list in the first post to this thread, I see most of these when I unpacked the source zip on windows just now but the selection I have looked at are empty directories. I took a look in the tar archive and they seem to be there also. What archive did you use and what platform are you on? Zip, Windows. tools/maven/maven-incremental-build/src contains two java files but the others do seem to be empty. Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hmmm. Looks like that source is chopped out when the distribution is built as it lives under a path with the word build in it. The distribution builder assumes this is a temporary directory and removes it. I'm not overly concerned in this specific case as this tool is a non essential utility. It's a maven plugin that provides some simple incremental build function. Tuscany is no less functional without it and it's not used by default. We need to fix this in the next release. Simon
Re: Comments on 1.1-RC3a
On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 1:11 PM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 11:14 AM, sebb [EMAIL PROTECTED] wrote: On 30/01/2008, Simon Laws [EMAIL PROTECTED] wrote: On Jan 30, 2008 10:02 AM, sebb [EMAIL PROTECTED] wrote: OK. What about the files that are in SVN but missing from the source archive? Hi Sebb Yes, there are still some files in the tag, from which the released artifacts (binary and source) are constructed that are not included in the release artifacts. Why is that? Are the files obsolete? Regards Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Some are the .svg files from which the .png files you see in the samples are created. We decided not to ship them but useful to have them in the branch in case we need to adjust the pictures. Looking back at the list in the first post to this thread, I see most of these when I unpacked the source zip on windows just now but the selection I have looked at are empty directories. I took a look in the tar archive and they seem to be there also. What archive did you use and what platform are you on? Zip, Windows. tools/maven/maven-incremental-build/src contains two java files but the others do seem to be empty. Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hmmm. Looks like that source is chopped out when the distribution is built as it lives under a path with the word build in it. The distribution builder assumes this is a temporary directory and removes it. I'm not overly concerned in this specific case as this tool is a non essential utility. It's a maven plugin that provides some simple incremental build function. Tuscany is no less functional without it and it's not used by default. We need to fix this in the next release. OK. Might be better for the dist. builder to only exclude specified paths, otherwise this could cause other problems in the future... Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Comments on 1.1-RC3a
java version 1.5.0_13 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05) Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode) Maven version: 2.0.8 Java version: 1.5.0_13 OS name: windows xp version: 5.1 arch: x86 Family: windows MAVEN_OPTS=-Xmx128M I can upload the logs if they would be of any use. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Sebb. I cannot reproduce the error you are seeing. Which JDK (set by JAVA_HOME) and which version of maven did you use for the build? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, January 28, 2008 10:54 AM Subject: Re: Comments on 1.1-RC3a Some errors were reported near the end of the build: [INFO] [exec:java {execution: generate-test-sdo-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [exec:java {execution: generate-test-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [tuscany-sdo:generate {execution: generate-sdo}] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] no fileName specfied for schema. On 28/01/2008, Luciano Resende [EMAIL PROTECTED] wrote: On Jan 28, 2008 8:44 AM, sebb [EMAIL PROTECTED] wrote: Binary archives: === The file: lib/ode-dao-jpa-ojpa-derby-1.1.zip is present in the binary archive, but probably should not be; or if it is, it should probably not be in the lib directory, as it is not a jar file. This is an required ODE dependency. The LICENSE mentions tuscany-assembly-xsd-1.1-incubating.jar but that does not seem to be present. The jar tuscany-assembly-xsd-1.1-incubating.jar is available in modules. Also the jars tuscany-sca-all-1.1-incubating.jar tuscany-sca-manifest.jar are not mentioned in the LICENSE Source archives === The following files and directories are present in SVN, but not in the source archive: demos/alert-aggregator-webapp/alert-aggregator.svg demos/bigbank-account/bigbank.svg demos/bigbank-calculator/src/test demos/secure-bigbank/secure-bigbank-account/bigbank.svg demos/secure-bigbank/secure-bigbank-calculator/src/test demos/xml-bigbank/xml-bigbank.svg itest/contribution-classloader/contribution-test/src/main itest/contribution-import-export/export-java/src/test itest/contribution-import-export/export-wsdl/src/test itest/contribution-import-export/export-wsdl/src/main/java itest/contribution-multiple/src/main itest/databindings/config.svg itest/databindings/databinding.svg itest/databindings/interop.svg itest/databindings/interop/src/test itest/databindings/jaxbgen/src/test itest/databindings/jaxbgen/src/main/java itest/databindings/sdogen/src/test itest/databindings/sdogen/src/main/java itest/domain/src/main/java/org itest/transaction/src/test/resources itest/wsdl2java/src/main itest/wsdl2java/src/test/java modules/binding-dwr/src/test modules/binding-ws-axis2/src/main/assembly modules/binding-ws/src/test modules/contribution-java/src/test/resources modules/contribution-namespace/src/test/resources modules/contribution-osgi/src/test modules/contribution/src/test modules/core-databinding/src/test/java/org/apache/tuscany/core modules/core-spi/src/test modules/databinding-saxon/src/test modules/definitions/src/test modules/definitions/src/main/resources modules/domain-api/src/test modules/domain/src/test modules/extension-helper/src/test modules/host-http/src/test modules/host-jms-activemq/src/test modules/host-jms/src/test modules/host-webapp/src/test modules/implementation-spring/src/test/java/org/apache/tuscany/implementation modules/implementation-xquery/src/test modules/implementation-xquery/src/main/java/org/apache/tuscany/implementation modules/interface-wsdl-java2wsdl/src/main/resources modules/interface-wsdl/src
Re: Comments on 1.1-RC3a
Hi, Sebb. I cannot reproduce the error you are seeing. Which JDK (set by JAVA_HOME) and which version of maven did you use for the build? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, January 28, 2008 10:54 AM Subject: Re: Comments on 1.1-RC3a Some errors were reported near the end of the build: [INFO] [exec:java {execution: generate-test-sdo-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [exec:java {execution: generate-test-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [tuscany-sdo:generate {execution: generate-sdo}] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] no fileName specfied for schema. On 28/01/2008, Luciano Resende [EMAIL PROTECTED] wrote: On Jan 28, 2008 8:44 AM, sebb [EMAIL PROTECTED] wrote: Binary archives: === The file: lib/ode-dao-jpa-ojpa-derby-1.1.zip is present in the binary archive, but probably should not be; or if it is, it should probably not be in the lib directory, as it is not a jar file. This is an required ODE dependency. The LICENSE mentions tuscany-assembly-xsd-1.1-incubating.jar but that does not seem to be present. The jar tuscany-assembly-xsd-1.1-incubating.jar is available in modules. Also the jars tuscany-sca-all-1.1-incubating.jar tuscany-sca-manifest.jar are not mentioned in the LICENSE Source archives === The following files and directories are present in SVN, but not in the source archive: demos/alert-aggregator-webapp/alert-aggregator.svg demos/bigbank-account/bigbank.svg demos/bigbank-calculator/src/test demos/secure-bigbank/secure-bigbank-account/bigbank.svg demos/secure-bigbank/secure-bigbank-calculator/src/test demos/xml-bigbank/xml-bigbank.svg itest/contribution-classloader/contribution-test/src/main itest/contribution-import-export/export-java/src/test itest/contribution-import-export/export-wsdl/src/test itest/contribution-import-export/export-wsdl/src/main/java itest/contribution-multiple/src/main itest/databindings/config.svg itest/databindings/databinding.svg itest/databindings/interop.svg itest/databindings/interop/src/test itest/databindings/jaxbgen/src/test itest/databindings/jaxbgen/src/main/java itest/databindings/sdogen/src/test itest/databindings/sdogen/src/main/java itest/domain/src/main/java/org itest/transaction/src/test/resources itest/wsdl2java/src/main itest/wsdl2java/src/test/java modules/binding-dwr/src/test modules/binding-ws-axis2/src/main/assembly modules/binding-ws/src/test modules/contribution-java/src/test/resources modules/contribution-namespace/src/test/resources modules/contribution-osgi/src/test modules/contribution/src/test modules/core-databinding/src/test/java/org/apache/tuscany/core modules/core-spi/src/test modules/databinding-saxon/src/test modules/definitions/src/test modules/definitions/src/main/resources modules/domain-api/src/test modules/domain/src/test modules/extension-helper/src/test modules/host-http/src/test modules/host-jms-activemq/src/test modules/host-jms/src/test modules/host-webapp/src/test modules/implementation-spring/src/test/java/org/apache/tuscany/implementation modules/implementation-xquery/src/test modules/implementation-xquery/src/main/java/org/apache/tuscany/implementation modules/interface-wsdl-java2wsdl/src/main/resources modules/interface-wsdl/src/test modules/node-api/src/test modules/node/src/test modules/node/src/main/resources modules/osgi-runtime/src/test/resources modules/policy-transaction/src/test/resources samples/binding-echo/binding-echo.svg samples/binding-notification-consumer/src/test/resources samples/binding-notification-producer/src/test/resources samples/calculator/calculator.svg samples/calculator-distributed/calculator-distributed.svg samples/calculator-implementation-policies/calculator.svg samples/calculator-rmi-reference/calculator-rmi-reference.svg samples/calculator-rmi-service/calculator-rmi
Re: Comments on 1.1-RC3a
I cannot reproduce either. Source distro builds sucessfully for me. On Jan 29, 2008 12:36 PM, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Sebb. I cannot reproduce the error you are seeing. Which JDK (set by JAVA_HOME) and which version of maven did you use for the build? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, January 28, 2008 10:54 AM Subject: Re: Comments on 1.1-RC3a Some errors were reported near the end of the build: [INFO] [exec:java {execution: generate-test-sdo-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [exec:java {execution: generate-test-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [tuscany-sdo:generate {execution: generate-sdo}] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] no fileName specfied for schema. On 28/01/2008, Luciano Resende [EMAIL PROTECTED] wrote: On Jan 28, 2008 8:44 AM, sebb [EMAIL PROTECTED] wrote: Binary archives: === The file: lib/ode-dao-jpa-ojpa-derby-1.1.zip is present in the binary archive, but probably should not be; or if it is, it should probably not be in the lib directory, as it is not a jar file. This is an required ODE dependency. The LICENSE mentions tuscany-assembly-xsd-1.1-incubating.jar but that does not seem to be present. The jar tuscany-assembly-xsd-1.1-incubating.jar is available in modules. Also the jars tuscany-sca-all-1.1-incubating.jar tuscany-sca-manifest.jar are not mentioned in the LICENSE Source archives === The following files and directories are present in SVN, but not in the source archive: demos/alert-aggregator-webapp/alert-aggregator.svg demos/bigbank-account/bigbank.svg demos/bigbank-calculator/src/test demos/secure-bigbank/secure-bigbank-account/bigbank.svg demos/secure-bigbank/secure-bigbank-calculator/src/test demos/xml-bigbank/xml-bigbank.svg itest/contribution-classloader/contribution-test/src/main itest/contribution-import-export/export-java/src/test itest/contribution-import-export/export-wsdl/src/test itest/contribution-import-export/export-wsdl/src/main/java itest/contribution-multiple/src/main itest/databindings/config.svg itest/databindings/databinding.svg itest/databindings/interop.svg itest/databindings/interop/src/test itest/databindings/jaxbgen/src/test itest/databindings/jaxbgen/src/main/java itest/databindings/sdogen/src/test itest/databindings/sdogen/src/main/java itest/domain/src/main/java/org itest/transaction/src/test/resources itest/wsdl2java/src/main itest/wsdl2java/src/test/java modules/binding-dwr/src/test modules/binding-ws-axis2/src/main/assembly modules/binding-ws/src/test modules/contribution-java/src/test/resources modules/contribution-namespace/src/test/resources modules/contribution-osgi/src/test modules/contribution/src/test modules/core-databinding/src/test/java/org/apache/tuscany/core modules/core-spi/src/test modules/databinding-saxon/src/test modules/definitions/src/test modules/definitions/src/main/resources modules/domain-api/src/test modules/domain/src/test modules/extension-helper/src/test modules/host-http/src/test modules/host-jms-activemq/src/test modules/host-jms/src/test modules/host-webapp/src/test modules/implementation-spring/src/test/java/org/apache/tuscany/implementation modules/implementation-xquery/src/test modules/implementation-xquery/src/main/java/org/apache/tuscany/implementation modules/interface-wsdl-java2wsdl/src/main/resources modules/interface-wsdl/src/test modules/node-api/src/test modules/node/src/test modules/node/src/main/resources modules/osgi-runtime/src/test/resources modules/policy-transaction/src/test/resources samples/binding-echo/binding-echo.svg samples/binding
Re: Comments on 1.1-RC3a
Hi, I just tried maven 2.0.8 and SUN JDK 1.5.0_13-b05. The build is successful. Can you try maven 2.0.5 or 2.0.7? You can also try mvn -X to get more information about the failure. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 1:10 PM Subject: Re: Comments on 1.1-RC3a java version 1.5.0_13 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05) Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode) Maven version: 2.0.8 Java version: 1.5.0_13 OS name: windows xp version: 5.1 arch: x86 Family: windows MAVEN_OPTS=-Xmx128M I can upload the logs if they would be of any use. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Sebb. I cannot reproduce the error you are seeing. Which JDK (set by JAVA_HOME) and which version of maven did you use for the build? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, January 28, 2008 10:54 AM Subject: Re: Comments on 1.1-RC3a Some errors were reported near the end of the build: [INFO] [exec:java {execution: generate-test-sdo-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [exec:java {execution: generate-test-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [tuscany-sdo:generate {execution: generate-sdo}] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] no fileName specfied for schema. On 28/01/2008, Luciano Resende [EMAIL PROTECTED] wrote: On Jan 28, 2008 8:44 AM, sebb [EMAIL PROTECTED] wrote: Binary archives: === The file: lib/ode-dao-jpa-ojpa-derby-1.1.zip is present in the binary archive, but probably should not be; or if it is, it should probably not be in the lib directory, as it is not a jar file. This is an required ODE dependency. The LICENSE mentions tuscany-assembly-xsd-1.1-incubating.jar but that does not seem to be present. The jar tuscany-assembly-xsd-1.1-incubating.jar is available in modules. Also the jars tuscany-sca-all-1.1-incubating.jar tuscany-sca-manifest.jar are not mentioned in the LICENSE Source archives === The following files and directories are present in SVN, but not in the source archive: demos/alert-aggregator-webapp/alert-aggregator.svg demos/bigbank-account/bigbank.svg demos/bigbank-calculator/src/test demos/secure-bigbank/secure-bigbank-account/bigbank.svg demos/secure-bigbank/secure-bigbank-calculator/src/test demos/xml-bigbank/xml-bigbank.svg itest/contribution-classloader/contribution-test/src/main itest/contribution-import-export/export-java/src/test itest/contribution-import-export/export-wsdl/src/test itest/contribution-import-export/export-wsdl/src/main/java itest/contribution-multiple/src/main itest/databindings/config.svg itest/databindings/databinding.svg itest/databindings/interop.svg itest/databindings/interop/src/test itest/databindings/jaxbgen/src/test itest/databindings/jaxbgen/src/main/java itest/databindings/sdogen/src/test itest/databindings/sdogen/src/main/java itest/domain/src/main/java/org itest/transaction/src/test/resources itest/wsdl2java/src/main itest/wsdl2java/src/test/java modules/binding-dwr/src/test modules/binding-ws-axis2/src/main/assembly modules/binding-ws/src/test modules/contribution-java/src/test/resources modules/contribution-namespace/src/test/resources modules/contribution-osgi/src/test modules/contribution/src/test modules/core-databinding/src/test/java/org/apache/tuscany/core modules/core-spi/src/test modules/databinding-saxon/src/test modules/definitions/src/test modules/definitions/src/main/resources modules/domain-api/src/test modules/domain/src/test modules/extension-helper/src/test modules/host-http/src/test modules/host-jms-activemq/src/test modules/host-jms/src/test modules/host-webapp/src/test modules
Re: Comments on 1.1-RC3a
I've just tried again with the same JDK and Maven. I used mvn clean and then mvn -X The log is here: http://people.apache.org/~sebb/tuscany mvn.log is the initial build I did. mvn4.log is the last build with mvn -X. Note that I was able to build the previous version of the release successfully (once the memory issues were sorted out), but I have not managed to finish building this one once. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, I just tried maven 2.0.8 and SUN JDK 1.5.0_13-b05. The build is successful. Can you try maven 2.0.5 or 2.0.7? You can also try mvn -X to get more information about the failure. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 1:10 PM Subject: Re: Comments on 1.1-RC3a java version 1.5.0_13 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05) Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode) Maven version: 2.0.8 Java version: 1.5.0_13 OS name: windows xp version: 5.1 arch: x86 Family: windows MAVEN_OPTS=-Xmx128M I can upload the logs if they would be of any use. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Sebb. I cannot reproduce the error you are seeing. Which JDK (set by JAVA_HOME) and which version of maven did you use for the build? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, January 28, 2008 10:54 AM Subject: Re: Comments on 1.1-RC3a Some errors were reported near the end of the build: [INFO] [exec:java {execution: generate-test-sdo-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [exec:java {execution: generate-test-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [tuscany-sdo:generate {execution: generate-sdo}] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] no fileName specfied for schema. On 28/01/2008, Luciano Resende [EMAIL PROTECTED] wrote: On Jan 28, 2008 8:44 AM, sebb [EMAIL PROTECTED] wrote: Binary archives: === The file: lib/ode-dao-jpa-ojpa-derby-1.1.zip is present in the binary archive, but probably should not be; or if it is, it should probably not be in the lib directory, as it is not a jar file. This is an required ODE dependency. The LICENSE mentions tuscany-assembly-xsd-1.1-incubating.jar but that does not seem to be present. The jar tuscany-assembly-xsd-1.1-incubating.jar is available in modules. Also the jars tuscany-sca-all-1.1-incubating.jar tuscany-sca-manifest.jar are not mentioned in the LICENSE Source archives === The following files and directories are present in SVN, but not in the source archive: demos/alert-aggregator-webapp/alert-aggregator.svg demos/bigbank-account/bigbank.svg demos/bigbank-calculator/src/test demos/secure-bigbank/secure-bigbank-account/bigbank.svg demos/secure-bigbank/secure-bigbank-calculator/src/test demos/xml-bigbank/xml-bigbank.svg itest/contribution-classloader/contribution-test/src/main itest/contribution-import-export/export-java/src/test itest/contribution-import-export/export-wsdl/src/test itest/contribution-import-export/export-wsdl/src/main/java itest/contribution-multiple/src/main itest/databindings/config.svg itest/databindings/databinding.svg itest/databindings/interop.svg itest/databindings/interop/src/test itest/databindings/jaxbgen/src/test itest/databindings/jaxbgen/src/main/java itest/databindings/sdogen/src/test itest/databindings/sdogen/src/main/java itest/domain/src/main/java/org itest/transaction/src/test/resources itest/wsdl2java/src/main itest/wsdl2java/src/test/java modules/binding-dwr/src/test
Re: Comments on 1.1-RC3a
Hi, Hi, It's strange. The main problem you have is that the following file cannot be opened for write: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java Can you check if you already have this file on the disk which might be used by other processes? Thanks, Raymond Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:70) at java.io.FileWriter.init(FileWriter.java:46) at org.apache.tuscany.sca.itest.generate.Generate.generate(Generate.java:101) at org.apache.tuscany.sca.itest.generate.Generate.main(Generate.java:170) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:273) at java.lang.Thread.run(Thread.java:595) - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 4:46 PM Subject: Re: Comments on 1.1-RC3a I've just tried again with the same JDK and Maven. I used mvn clean and then mvn -X The log is here: http://people.apache.org/~sebb/tuscany mvn.log is the initial build I did. mvn4.log is the last build with mvn -X. Note that I was able to build the previous version of the release successfully (once the memory issues were sorted out), but I have not managed to finish building this one once. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, I just tried maven 2.0.8 and SUN JDK 1.5.0_13-b05. The build is successful. Can you try maven 2.0.5 or 2.0.7? You can also try mvn -X to get more information about the failure. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 1:10 PM Subject: Re: Comments on 1.1-RC3a java version 1.5.0_13 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05) Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode) Maven version: 2.0.8 Java version: 1.5.0_13 OS name: windows xp version: 5.1 arch: x86 Family: windows MAVEN_OPTS=-Xmx128M I can upload the logs if they would be of any use. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Sebb. I cannot reproduce the error you are seeing. Which JDK (set by JAVA_HOME) and which version of maven did you use for the build? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, January 28, 2008 10:54 AM Subject: Re: Comments on 1.1-RC3a Some errors were reported near the end of the build: [INFO] [exec:java {execution: generate-test-sdo-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [exec:java {execution: generate-test-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [tuscany-sdo:generate {execution: generate-sdo}] [INFO] [ERROR] BUILD ERROR [INFO
Re: Comments on 1.1-RC3a
Surely the problem is that the file does not exist? See below. D:\tuscany-sca-1.1-incubating-srcdir /s GreeterService.java* Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\src\main\resources\generate 27/01/2008 13:01 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Total Files Listed: 3 File(s) 5,334 bytes D:\tuscany-sca-1.1-incubating-src On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Hi, It's strange. The main problem you have is that the following file cannot be opened for write: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java Can you check if you already have this file on the disk which might be used by other processes? Thanks, Raymond Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:70) at java.io.FileWriter.init(FileWriter.java:46) at org.apache.tuscany.sca.itest.generate.Generate.generate(Generate.java:101) at org.apache.tuscany.sca.itest.generate.Generate.main(Generate.java:170) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:273) at java.lang.Thread.run(Thread.java:595) - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 4:46 PM Subject: Re: Comments on 1.1-RC3a I've just tried again with the same JDK and Maven. I used mvn clean and then mvn -X The log is here: http://people.apache.org/~sebb/tuscany mvn.log is the initial build I did. mvn4.log is the last build with mvn -X. Note that I was able to build the previous version of the release successfully (once the memory issues were sorted out), but I have not managed to finish building this one once. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, I just tried maven 2.0.8 and SUN JDK 1.5.0_13-b05. The build is successful. Can you try maven 2.0.5 or 2.0.7? You can also try mvn -X to get more information about the failure. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 1:10 PM Subject: Re: Comments on 1.1-RC3a java version 1.5.0_13 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05) Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode) Maven version: 2.0.8 Java version: 1.5.0_13 OS name: windows xp version: 5.1 arch: x86 Family: windows MAVEN_OPTS=-Xmx128M I can upload the logs if they would be of any use. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Sebb. I cannot reproduce the error you are seeing. Which JDK (set by JAVA_HOME) and which version of maven did you use for the build? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Monday, January 28, 2008 10:54 AM Subject: Re: Comments on 1.1-RC3a Some errors were reported near the end of the build: [INFO] [exec:java {execution: generate-test-sdo-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest
Re: Comments on 1.1-RC3a
It's supposed to generate the following file from GreeterService.java.vm. D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java For some strange reason, this file cannot be created in your case. Can you try to unzip the source distro to a different folder and build again? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 5:32 PM Subject: Re: Comments on 1.1-RC3a Surely the problem is that the file does not exist? See below. D:\tuscany-sca-1.1-incubating-srcdir /s GreeterService.java* Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\src\main\resources\generate 27/01/2008 13:01 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Total Files Listed: 3 File(s) 5,334 bytes D:\tuscany-sca-1.1-incubating-src On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Hi, It's strange. The main problem you have is that the following file cannot be opened for write: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java Can you check if you already have this file on the disk which might be used by other processes? Thanks, Raymond Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:70) at java.io.FileWriter.init(FileWriter.java:46) at org.apache.tuscany.sca.itest.generate.Generate.generate(Generate.java:101) at org.apache.tuscany.sca.itest.generate.Generate.main(Generate.java:170) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:273) at java.lang.Thread.run(Thread.java:595) - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 4:46 PM Subject: Re: Comments on 1.1-RC3a I've just tried again with the same JDK and Maven. I used mvn clean and then mvn -X The log is here: http://people.apache.org/~sebb/tuscany mvn.log is the initial build I did. mvn4.log is the last build with mvn -X. Note that I was able to build the previous version of the release successfully (once the memory issues were sorted out), but I have not managed to finish building this one once. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, I just tried maven 2.0.8 and SUN JDK 1.5.0_13-b05. The build is successful. Can you try maven 2.0.5 or 2.0.7? You can also try mvn -X to get more information about the failure. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 1:10 PM Subject: Re: Comments on 1.1-RC3a java version 1.5.0_13 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05) Java HotSpot(TM) Client VM (build 1.5.0_13-b05, mixed mode) Maven version: 2.0.8 Java version: 1.5.0_13 OS name: windows xp version: 5.1 arch: x86 Family: windows MAVEN_OPTS=-Xmx128M I can upload the logs if they would be of any use. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Sebb. I cannot reproduce the error you are seeing. Which JDK (set by JAVA_HOME) and which version of maven did you use for the build? Thanks, Raymond - Original Message
Re: Comments on 1.1-RC3a
Indeed - what does the debug log say about why this did not occur? Is there any additional debugging that can be turned on to find out why it was not created? It takes 30 mins or so to run the build, so I don't want to redo it only to find that it needs to be done yet again with additional options. Alternatively, how can I re-run just the part of the build that failed? On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: It's supposed to generate the following file from GreeterService.java.vm. D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java For some strange reason, this file cannot be created in your case. Can you try to unzip the source distro to a different folder and build again? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 5:32 PM Subject: Re: Comments on 1.1-RC3a Surely the problem is that the file does not exist? See below. D:\tuscany-sca-1.1-incubating-srcdir /s GreeterService.java* Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\src\main\resources\generate 27/01/2008 13:01 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Total Files Listed: 3 File(s) 5,334 bytes D:\tuscany-sca-1.1-incubating-src On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Hi, It's strange. The main problem you have is that the following file cannot be opened for write: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java Can you check if you already have this file on the disk which might be used by other processes? Thanks, Raymond Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:70) at java.io.FileWriter.init(FileWriter.java:46) at org.apache.tuscany.sca.itest.generate.Generate.generate(Generate.java:101) at org.apache.tuscany.sca.itest.generate.Generate.main(Generate.java:170) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:273) at java.lang.Thread.run(Thread.java:595) - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 4:46 PM Subject: Re: Comments on 1.1-RC3a I've just tried again with the same JDK and Maven. I used mvn clean and then mvn -X The log is here: http://people.apache.org/~sebb/tuscany mvn.log is the initial build I did. mvn4.log is the last build with mvn -X. Note that I was able to build the previous version of the release successfully (once the memory issues were sorted out), but I have not managed to finish building this one once. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, I just tried maven 2.0.8 and SUN JDK 1.5.0_13-b05. The build is successful. Can you try maven 2.0.5 or 2.0.7? You can also try mvn -X to get more information about the failure. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 1:10 PM Subject: Re: Comments
Re: Comments on 1.1-RC3a
Failed, I've uploaded mvnci.log On 30/01/2008, Luciano Resende [EMAIL PROTECTED] wrote: You could probably just try to build that module... with the following commands... cd D:\tuscany-sca-1.1-incubating-src\itest\databindings\ mvn clean install On Jan 29, 2008 6:22 PM, sebb [EMAIL PROTECTED] wrote: Indeed - what does the debug log say about why this did not occur? Is there any additional debugging that can be turned on to find out why it was not created? It takes 30 mins or so to run the build, so I don't want to redo it only to find that it needs to be done yet again with additional options. Alternatively, how can I re-run just the part of the build that failed? On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: It's supposed to generate the following file from GreeterService.java.vm. D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java For some strange reason, this file cannot be created in your case. Can you try to unzip the source distro to a different folder and build again? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 5:32 PM Subject: Re: Comments on 1.1-RC3a Surely the problem is that the file does not exist? See below. D:\tuscany-sca-1.1-incubating-srcdir /s GreeterService.java* Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\src\main\resources\generate 27/01/2008 13:01 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Total Files Listed: 3 File(s) 5,334 bytes D:\tuscany-sca-1.1-incubating-src On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Hi, It's strange. The main problem you have is that the following file cannot be opened for write: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java Can you check if you already have this file on the disk which might be used by other processes? Thanks, Raymond Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:70) at java.io.FileWriter.init(FileWriter.java:46) at org.apache.tuscany.sca.itest.generate.Generate.generate(Generate.java:101) at org.apache.tuscany.sca.itest.generate.Generate.main(Generate.java:170) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:273) at java.lang.Thread.run(Thread.java:595) - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 4:46 PM Subject: Re: Comments on 1.1-RC3a I've just tried again with the same JDK and Maven. I used mvn clean and then mvn -X The log is here: http://people.apache.org/~sebb/tuscany mvn.log is the initial build I did. mvn4.log is the last build with mvn -X. Note that I was able to build the previous version of the release
Re: Comments on 1.1-RC3a
You could probably just try to build that module... with the following commands... cd D:\tuscany-sca-1.1-incubating-src\itest\databindings\ mvn clean install On Jan 29, 2008 6:22 PM, sebb [EMAIL PROTECTED] wrote: Indeed - what does the debug log say about why this did not occur? Is there any additional debugging that can be turned on to find out why it was not created? It takes 30 mins or so to run the build, so I don't want to redo it only to find that it needs to be done yet again with additional options. Alternatively, how can I re-run just the part of the build that failed? On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: It's supposed to generate the following file from GreeterService.java.vm. D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java For some strange reason, this file cannot be created in your case. Can you try to unzip the source distro to a different folder and build again? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 5:32 PM Subject: Re: Comments on 1.1-RC3a Surely the problem is that the file does not exist? See below. D:\tuscany-sca-1.1-incubating-srcdir /s GreeterService.java* Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\src\main\resources\generate 27/01/2008 13:01 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Total Files Listed: 3 File(s) 5,334 bytes D:\tuscany-sca-1.1-incubating-src On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Hi, It's strange. The main problem you have is that the following file cannot be opened for write: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java Can you check if you already have this file on the disk which might be used by other processes? Thanks, Raymond Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:70) at java.io.FileWriter.init(FileWriter.java:46) at org.apache.tuscany.sca.itest.generate.Generate.generate(Generate.java:101) at org.apache.tuscany.sca.itest.generate.Generate.main(Generate.java:170) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:273) at java.lang.Thread.run(Thread.java:595) - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 4:46 PM Subject: Re: Comments on 1.1-RC3a I've just tried again with the same JDK and Maven. I used mvn clean and then mvn -X The log is here: http://people.apache.org/~sebb/tuscany mvn.log is the initial build I did. mvn4.log is the last build with mvn -X. Note that I was able to build the previous version of the release successfully (once the memory issues were sorted out), but I have not managed to finish building this one once. On 29/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, I just tried maven 2.0.8 and SUN JDK
Re: Comments on 1.1-RC3a
On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: The debug log only provides information about the maven plugins. In your case, a java program in the itest module is invoked from maven and it fails to create a file. In that case, I would say that the program has a bug, because it is not reporting the failure I don't see any options other than attaching a debugger to figure out why the file cannot be created but I cannot reproduce the problem here. Sometimes I use this tool on Windows to find out if a file is in use: http://download.sysinternals.com/Files/ProcessExplorer.zip. Not the case here, because the file does not exist. Can you try to create a dummy file with the same name at the the same location to see it's possible? The failed name is: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java The path D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\ exists, but it only has a resources subdirectory, not a java one so I cannot create the file. This is presumably the cause. Rebooting your machine may help too. Already done that. As suggested by Luciano, you can build the databindings folder alone. Still fails, see other post. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 6:22 PM Subject: Re: Comments on 1.1-RC3a Indeed - what does the debug log say about why this did not occur? Is there any additional debugging that can be turned on to find out why it was not created? It takes 30 mins or so to run the build, so I don't want to redo it only to find that it needs to be done yet again with additional options. Alternatively, how can I re-run just the part of the build that failed? On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: It's supposed to generate the following file from GreeterService.java.vm. D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java For some strange reason, this file cannot be created in your case. Can you try to unzip the source distro to a different folder and build again? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 5:32 PM Subject: Re: Comments on 1.1-RC3a Surely the problem is that the file does not exist? See below. D:\tuscany-sca-1.1-incubating-srcdir /s GreeterService.java* Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\src\main\resources\generate 27/01/2008 13:01 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Total Files Listed: 3 File(s) 5,334 bytes D:\tuscany-sca-1.1-incubating-src On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Hi, It's strange. The main problem you have is that the following file cannot be opened for write: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java Can you check if you already have this file on the disk which might be used by other processes? Thanks, Raymond Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:70) at java.io.FileWriter.init(FileWriter.java:46) at org.apache.tuscany.sca.itest.generate.Generate.generate(Generate.java:101
Re: Comments on 1.1-RC3a
The debug log only provides information about the maven plugins. In your case, a java program in the itest module is invoked from maven and it fails to create a file. I don't see any options other than attaching a debugger to figure out why the file cannot be created but I cannot reproduce the problem here. Sometimes I use this tool on Windows to find out if a file is in use: http://download.sysinternals.com/Files/ProcessExplorer.zip. Can you try to create a dummy file with the same name at the the same location to see it's possible? Rebooting your machine may help too. As suggested by Luciano, you can build the databindings folder alone. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 6:22 PM Subject: Re: Comments on 1.1-RC3a Indeed - what does the debug log say about why this did not occur? Is there any additional debugging that can be turned on to find out why it was not created? It takes 30 mins or so to run the build, so I don't want to redo it only to find that it needs to be done yet again with additional options. Alternatively, how can I re-run just the part of the build that failed? On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: It's supposed to generate the following file from GreeterService.java.vm. D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java For some strange reason, this file cannot be created in your case. Can you try to unzip the source distro to a different folder and build again? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 5:32 PM Subject: Re: Comments on 1.1-RC3a Surely the problem is that the file does not exist? See below. D:\tuscany-sca-1.1-incubating-srcdir /s GreeterService.java* Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\src\main\resources\generate 27/01/2008 13:01 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Total Files Listed: 3 File(s) 5,334 bytes D:\tuscany-sca-1.1-incubating-src On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Hi, It's strange. The main problem you have is that the following file cannot be opened for write: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java Can you check if you already have this file on the disk which might be used by other processes? Thanks, Raymond Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:70) at java.io.FileWriter.init(FileWriter.java:46) at org.apache.tuscany.sca.itest.generate.Generate.generate(Generate.java:101) at org.apache.tuscany.sca.itest.generate.Generate.main(Generate.java:170) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:273) at java.lang.Thread.run(Thread.java:595) - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 4:46 PM Subject: Re: Comments on 1.1-RC3a I've just tried again with the same JDK and Maven. I used mvn clean and then mvn -X The log is here: http
Re: Comments on 1.1-RC3a
Hi, Finally I can reproduce the problem now. This time I unzipped the src distro to a new folder and set JAVA_HOME to SUN's JDK. The same problem came out! The main issue here is that IBM JDK behaves differently than the SUN's JDK in creating a new file where some folders in the path don't exist yet. IBM JDK creates the intermediate folders while SUN's JDK complains with a FileNotFoundException. When I tried SUN's JDK this morning, the folders were already created from previous builds and the probem was hidden. Anyway, I will fix the code to make sure it creates the folders before opening the file. For the 1.1 release, I don't think it's a blocker since it's an itest and there are a few workarounds available (for example, using IBM JDK or manually create the folder). We should document it as a known issue. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 7:42 PM Subject: Re: Comments on 1.1-RC3a On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: The debug log only provides information about the maven plugins. In your case, a java program in the itest module is invoked from maven and it fails to create a file. In that case, I would say that the program has a bug, because it is not reporting the failure I don't see any options other than attaching a debugger to figure out why the file cannot be created but I cannot reproduce the problem here. Sometimes I use this tool on Windows to find out if a file is in use: http://download.sysinternals.com/Files/ProcessExplorer.zip. Not the case here, because the file does not exist. Can you try to create a dummy file with the same name at the the same location to see it's possible? The failed name is: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java The path D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\ exists, but it only has a resources subdirectory, not a java one so I cannot create the file. This is presumably the cause. Rebooting your machine may help too. Already done that. As suggested by Luciano, you can build the databindings folder alone. Still fails, see other post. Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 6:22 PM Subject: Re: Comments on 1.1-RC3a Indeed - what does the debug log say about why this did not occur? Is there any additional debugging that can be turned on to find out why it was not created? It takes 30 mins or so to run the build, so I don't want to redo it only to find that it needs to be done yet again with additional options. Alternatively, how can I re-run just the part of the build that failed? On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: It's supposed to generate the following file from GreeterService.java.vm. D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java For some strange reason, this file cannot be created in your case. Can you try to unzip the source distro to a different folder and build again? Thanks, Raymond - Original Message - From: sebb [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, January 29, 2008 5:32 PM Subject: Re: Comments on 1.1-RC3a Surely the problem is that the file does not exist? See below. D:\tuscany-sca-1.1-incubating-srcdir /s GreeterService.java* Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\src\main\resources\generate 27/01/2008 13:01 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\common\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Directory of D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\classes\generate 30/01/2008 00:24 1,778 GreeterService.java.vm 1 File(s) 1,778 bytes Total Files Listed: 3 File(s) 5,334 bytes D:\tuscany-sca-1.1-incubating-src On 30/01/2008, Raymond Feng [EMAIL PROTECTED] wrote: Hi, Hi, It's strange. The main problem you have is that the following file cannot be opened for write: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java Can you check if you already have this file on the disk which might be used by other processes? Thanks, Raymond Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm
Re: Comments on 1.1-RC3a
Some errors were reported near the end of the build: [INFO] [exec:java {execution: generate-test-sdo-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [exec:java {execution: generate-test-source}] Building project from dir: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target Processing greeter.composite.vm to D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target/classes/greeter.composite Exception : java.io.FileNotFoundException: D:\tuscany-sca-1.1-incubating-src\itest\databindings\sdogen\target\..\src\main\java\org\apache\tuscany\sca\itest\sdodatabinding\GreeterService.java (The system cannot find the path specified) ... [INFO] [tuscany-sdo:generate {execution: generate-sdo}] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] no fileName specfied for schema. On 28/01/2008, Luciano Resende [EMAIL PROTECTED] wrote: On Jan 28, 2008 8:44 AM, sebb [EMAIL PROTECTED] wrote: Binary archives: === The file: lib/ode-dao-jpa-ojpa-derby-1.1.zip is present in the binary archive, but probably should not be; or if it is, it should probably not be in the lib directory, as it is not a jar file. This is an required ODE dependency. The LICENSE mentions tuscany-assembly-xsd-1.1-incubating.jar but that does not seem to be present. The jar tuscany-assembly-xsd-1.1-incubating.jar is available in modules. Also the jars tuscany-sca-all-1.1-incubating.jar tuscany-sca-manifest.jar are not mentioned in the LICENSE Source archives === The following files and directories are present in SVN, but not in the source archive: demos/alert-aggregator-webapp/alert-aggregator.svg demos/bigbank-account/bigbank.svg demos/bigbank-calculator/src/test demos/secure-bigbank/secure-bigbank-account/bigbank.svg demos/secure-bigbank/secure-bigbank-calculator/src/test demos/xml-bigbank/xml-bigbank.svg itest/contribution-classloader/contribution-test/src/main itest/contribution-import-export/export-java/src/test itest/contribution-import-export/export-wsdl/src/test itest/contribution-import-export/export-wsdl/src/main/java itest/contribution-multiple/src/main itest/databindings/config.svg itest/databindings/databinding.svg itest/databindings/interop.svg itest/databindings/interop/src/test itest/databindings/jaxbgen/src/test itest/databindings/jaxbgen/src/main/java itest/databindings/sdogen/src/test itest/databindings/sdogen/src/main/java itest/domain/src/main/java/org itest/transaction/src/test/resources itest/wsdl2java/src/main itest/wsdl2java/src/test/java modules/binding-dwr/src/test modules/binding-ws-axis2/src/main/assembly modules/binding-ws/src/test modules/contribution-java/src/test/resources modules/contribution-namespace/src/test/resources modules/contribution-osgi/src/test modules/contribution/src/test modules/core-databinding/src/test/java/org/apache/tuscany/core modules/core-spi/src/test modules/databinding-saxon/src/test modules/definitions/src/test modules/definitions/src/main/resources modules/domain-api/src/test modules/domain/src/test modules/extension-helper/src/test modules/host-http/src/test modules/host-jms-activemq/src/test modules/host-jms/src/test modules/host-webapp/src/test modules/implementation-spring/src/test/java/org/apache/tuscany/implementation modules/implementation-xquery/src/test modules/implementation-xquery/src/main/java/org/apache/tuscany/implementation modules/interface-wsdl-java2wsdl/src/main/resources modules/interface-wsdl/src/test modules/node-api/src/test modules/node/src/test modules/node/src/main/resources modules/osgi-runtime/src/test/resources modules/policy-transaction/src/test/resources samples/binding-echo/binding-echo.svg samples/binding-notification-consumer/src/test/resources samples/binding-notification-producer/src/test/resources samples/calculator/calculator.svg samples/calculator-distributed/calculator-distributed.svg samples/calculator-implementation-policies/calculator.svg samples/calculator-rmi-reference/calculator-rmi-reference.svg samples/calculator-rmi-service/calculator-rmi-service.svg samples/calculator-script/calculator-script.svg samples/calculator-webapp/calculator-web.svg samples/calculator-ws-webapp/calculator-web.svg samples/callback-ws-client/callback-ws-client.svg
Re: Comments on 1.1-RC3a
On Jan 28, 2008 8:44 AM, sebb [EMAIL PROTECTED] wrote: Binary archives: === The file: lib/ode-dao-jpa-ojpa-derby-1.1.zip is present in the binary archive, but probably should not be; or if it is, it should probably not be in the lib directory, as it is not a jar file. This is an required ODE dependency. The LICENSE mentions tuscany-assembly-xsd-1.1-incubating.jar but that does not seem to be present. The jar tuscany-assembly-xsd-1.1-incubating.jar is available in modules. Also the jars tuscany-sca-all-1.1-incubating.jar tuscany-sca-manifest.jar are not mentioned in the LICENSE Source archives === The following files and directories are present in SVN, but not in the source archive: demos/alert-aggregator-webapp/alert-aggregator.svg demos/bigbank-account/bigbank.svg demos/bigbank-calculator/src/test demos/secure-bigbank/secure-bigbank-account/bigbank.svg demos/secure-bigbank/secure-bigbank-calculator/src/test demos/xml-bigbank/xml-bigbank.svg itest/contribution-classloader/contribution-test/src/main itest/contribution-import-export/export-java/src/test itest/contribution-import-export/export-wsdl/src/test itest/contribution-import-export/export-wsdl/src/main/java itest/contribution-multiple/src/main itest/databindings/config.svg itest/databindings/databinding.svg itest/databindings/interop.svg itest/databindings/interop/src/test itest/databindings/jaxbgen/src/test itest/databindings/jaxbgen/src/main/java itest/databindings/sdogen/src/test itest/databindings/sdogen/src/main/java itest/domain/src/main/java/org itest/transaction/src/test/resources itest/wsdl2java/src/main itest/wsdl2java/src/test/java modules/binding-dwr/src/test modules/binding-ws-axis2/src/main/assembly modules/binding-ws/src/test modules/contribution-java/src/test/resources modules/contribution-namespace/src/test/resources modules/contribution-osgi/src/test modules/contribution/src/test modules/core-databinding/src/test/java/org/apache/tuscany/core modules/core-spi/src/test modules/databinding-saxon/src/test modules/definitions/src/test modules/definitions/src/main/resources modules/domain-api/src/test modules/domain/src/test modules/extension-helper/src/test modules/host-http/src/test modules/host-jms-activemq/src/test modules/host-jms/src/test modules/host-webapp/src/test modules/implementation-spring/src/test/java/org/apache/tuscany/implementation modules/implementation-xquery/src/test modules/implementation-xquery/src/main/java/org/apache/tuscany/implementation modules/interface-wsdl-java2wsdl/src/main/resources modules/interface-wsdl/src/test modules/node-api/src/test modules/node/src/test modules/node/src/main/resources modules/osgi-runtime/src/test/resources modules/policy-transaction/src/test/resources samples/binding-echo/binding-echo.svg samples/binding-notification-consumer/src/test/resources samples/binding-notification-producer/src/test/resources samples/calculator/calculator.svg samples/calculator-distributed/calculator-distributed.svg samples/calculator-implementation-policies/calculator.svg samples/calculator-rmi-reference/calculator-rmi-reference.svg samples/calculator-rmi-service/calculator-rmi-service.svg samples/calculator-script/calculator-script.svg samples/calculator-webapp/calculator-web.svg samples/calculator-ws-webapp/calculator-web.svg samples/callback-ws-client/callback-ws-client.svg samples/callback-ws-service/callback-ws-service.svg samples/chat-webapp/chat-webapp.svg samples/databinding-echo/databinding-echo.svg samples/databinding-echo/src/main/resources/META-INF samples/feed-aggregator/feed-aggregator.svg samples/feed-aggregator-webapp/feed-aggregator-webapp.svg samples/helloworld-bpel/helloworld-bpel.svg samples/helloworld-bpel/src/test/resources samples/helloworld-dojo-webapp/helloworld-jsonrpc.svg samples/helloworld-jsonrpc-webapp/helloworld-jsonrpc.svg samples/helloworld-ws-reference/helloworld-ws-reference.svg samples/helloworld-ws-reference-jms/helloworld-ws-reference.svg samples/helloworld-ws-reference-secure/helloworld-ws-reference-secure.svg samples/helloworld-ws-sdo/helloworld-ws-sdo.svg samples/helloworld-ws-sdo-webapp/helloworld-ws-sdo-webapp.svg samples/helloworld-ws-service/helloworld-ws-service.svg samples/helloworld-ws-service-jms/helloworld-ws-service.svg samples/helloworld-ws-service-secure/helloworld-ws-service-secure.svg samples/implementation-composite/implementation-composite.svg samples/implementation-crud/implementation-crud.svg samples/osgi-supplychain/osgi-supplychain.svg samples/quote-xquery/src/test/resources samples/simple-bigbank/simple-bigbank.svg samples/simple-bigbank-spring/simple-bigbank-spring.svg samples/simple-callback/simple-callback.svg samples/simple-callback-ws/simple-callback-ws.svg samples/store/store.svg samples/supplychain/supplychain.svg samples/web-resource/web-resource.svg tools/maven/maven-incremental-build/src I've not
Comments on 1.1-RC3a
Binary archives: === The file: lib/ode-dao-jpa-ojpa-derby-1.1.zip is present in the binary archive, but probably should not be; or if it is, it should probably not be in the lib directory, as it is not a jar file. The LICENSE mentions tuscany-assembly-xsd-1.1-incubating.jar but that does not seem to be present. Also the jars tuscany-sca-all-1.1-incubating.jar tuscany-sca-manifest.jar are not mentioned in the LICENSE Source archives === The following files and directories are present in SVN, but not in the source archive: demos/alert-aggregator-webapp/alert-aggregator.svg demos/bigbank-account/bigbank.svg demos/bigbank-calculator/src/test demos/secure-bigbank/secure-bigbank-account/bigbank.svg demos/secure-bigbank/secure-bigbank-calculator/src/test demos/xml-bigbank/xml-bigbank.svg itest/contribution-classloader/contribution-test/src/main itest/contribution-import-export/export-java/src/test itest/contribution-import-export/export-wsdl/src/test itest/contribution-import-export/export-wsdl/src/main/java itest/contribution-multiple/src/main itest/databindings/config.svg itest/databindings/databinding.svg itest/databindings/interop.svg itest/databindings/interop/src/test itest/databindings/jaxbgen/src/test itest/databindings/jaxbgen/src/main/java itest/databindings/sdogen/src/test itest/databindings/sdogen/src/main/java itest/domain/src/main/java/org itest/transaction/src/test/resources itest/wsdl2java/src/main itest/wsdl2java/src/test/java modules/binding-dwr/src/test modules/binding-ws-axis2/src/main/assembly modules/binding-ws/src/test modules/contribution-java/src/test/resources modules/contribution-namespace/src/test/resources modules/contribution-osgi/src/test modules/contribution/src/test modules/core-databinding/src/test/java/org/apache/tuscany/core modules/core-spi/src/test modules/databinding-saxon/src/test modules/definitions/src/test modules/definitions/src/main/resources modules/domain-api/src/test modules/domain/src/test modules/extension-helper/src/test modules/host-http/src/test modules/host-jms-activemq/src/test modules/host-jms/src/test modules/host-webapp/src/test modules/implementation-spring/src/test/java/org/apache/tuscany/implementation modules/implementation-xquery/src/test modules/implementation-xquery/src/main/java/org/apache/tuscany/implementation modules/interface-wsdl-java2wsdl/src/main/resources modules/interface-wsdl/src/test modules/node-api/src/test modules/node/src/test modules/node/src/main/resources modules/osgi-runtime/src/test/resources modules/policy-transaction/src/test/resources samples/binding-echo/binding-echo.svg samples/binding-notification-consumer/src/test/resources samples/binding-notification-producer/src/test/resources samples/calculator/calculator.svg samples/calculator-distributed/calculator-distributed.svg samples/calculator-implementation-policies/calculator.svg samples/calculator-rmi-reference/calculator-rmi-reference.svg samples/calculator-rmi-service/calculator-rmi-service.svg samples/calculator-script/calculator-script.svg samples/calculator-webapp/calculator-web.svg samples/calculator-ws-webapp/calculator-web.svg samples/callback-ws-client/callback-ws-client.svg samples/callback-ws-service/callback-ws-service.svg samples/chat-webapp/chat-webapp.svg samples/databinding-echo/databinding-echo.svg samples/databinding-echo/src/main/resources/META-INF samples/feed-aggregator/feed-aggregator.svg samples/feed-aggregator-webapp/feed-aggregator-webapp.svg samples/helloworld-bpel/helloworld-bpel.svg samples/helloworld-bpel/src/test/resources samples/helloworld-dojo-webapp/helloworld-jsonrpc.svg samples/helloworld-jsonrpc-webapp/helloworld-jsonrpc.svg samples/helloworld-ws-reference/helloworld-ws-reference.svg samples/helloworld-ws-reference-jms/helloworld-ws-reference.svg samples/helloworld-ws-reference-secure/helloworld-ws-reference-secure.svg samples/helloworld-ws-sdo/helloworld-ws-sdo.svg samples/helloworld-ws-sdo-webapp/helloworld-ws-sdo-webapp.svg samples/helloworld-ws-service/helloworld-ws-service.svg samples/helloworld-ws-service-jms/helloworld-ws-service.svg samples/helloworld-ws-service-secure/helloworld-ws-service-secure.svg samples/implementation-composite/implementation-composite.svg samples/implementation-crud/implementation-crud.svg samples/osgi-supplychain/osgi-supplychain.svg samples/quote-xquery/src/test/resources samples/simple-bigbank/simple-bigbank.svg samples/simple-bigbank-spring/simple-bigbank-spring.svg samples/simple-callback/simple-callback.svg samples/simple-callback-ws/simple-callback-ws.svg samples/store/store.svg samples/supplychain/supplychain.svg samples/web-resource/web-resource.svg tools/maven/maven-incremental-build/src I've not tried a build yet. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]