Surely the problem is that the file does not exist? See below.
D:\tuscany-sca-1.1-incubating-src>dir /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\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 > >> >> >> > 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] > >> >> >> > > >> >> >> > > >> >> >> > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> Luciano Resende > >> >> >> Apache Tuscany Committer > >> >> >> http://people.apache.org/~lresende > >> >> >> http://lresende.blogspot.com/ > >> >> >> > >> >> >> --------------------------------------------------------------------- > >> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> >> For additional commands, e-mail: [EMAIL PROTECTED] > >> >> >> > >> >> >> > >> >> > > >> >> > --------------------------------------------------------------------- > >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> >> > > >> >> > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> For additional commands, e-mail: [EMAIL PROTECTED] > >> >> > >> >> > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> > > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]