I think i found the problem here, this should be fixed under r698358.
On Tue, Aug 19, 2008 at 10:41 AM, Luciano Resende <[EMAIL PROTECTED]> wrote:
> Looks like this sample was using an old version of derby when creating the
> dbs.
> Please try revision #687104 and let me know if you still see any issues.
>
> On Tue, Aug 19, 2008 at 10:18 AM, Jean-Sebastien Delfino
> <[EMAIL PROTECTED]> wrote:
>> Every other time I run mvn -Peclipse eclipse:eclipse from java/sca I get the
>> following error:
>>
>> ...
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache Tuscany SCA Customer DOJO Sample WebApp
>> [INFO] task-segment: [eclipse:eclipse]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Preparing eclipse:eclipse
>> [INFO] [antrun:run {execution: install-dojo}]
>> [INFO] Executing tasks
>>
>> check-dojo-installed:
>>
>> install-dojo:
>> [INFO] Executed tasks
>> [INFO] [tuscanyant-generator:generate {execution: default}]
>> [INFO] Generating
>> /mnt/ultrabay/delfinoj/SCA-dev/dev-repos.git/sca/samples/customer-dojo/build-dependency.xml
>> [INFO] [antrun:run {execution: copy-dojo-files}]
>> [INFO] Executing tasks
>>
>> check-dojo-installed:
>>
>> check-dojo-unpacked:
>>
>> unpack-dojo-files:
>> [mkdir] Created dir:
>> /mnt/ultrabay/delfinoj/SCA-dev/dev-repos.git/sca/samples/customer-dojo/target/dojo-unpack-temp
>> [unzip] Expanding:
>> /home/delfinoj/.m2/repository/dojo/dojo/1.0.0/dojo-1.0.0.zip into
>> /mnt/ultrabay/delfinoj/SCA-dev/dev-repos.git/sca/samples/customer-dojo/target/dojo-unpack-temp
>> [move] Attempting to rename dir:
>> /mnt/ultrabay/delfinoj/SCA-dev/dev-repos.git/sca/samples/customer-dojo/target/dojo-unpack-temp/dojo-release-1.0.0
>> to
>> /mnt/ultrabay/delfinoj/SCA-dev/dev-repos.git/sca/samples/customer-dojo/target/classes/content/dojo
>> [delete] Deleting directory
>> /mnt/ultrabay/delfinoj/SCA-dev/dev-repos.git/sca/samples/customer-dojo/target/dojo-unpack-temp
>> [INFO] Executed tasks
>> [INFO] [sql:execute {execution: create-db}]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to create database
>> '/mnt/ultrabay/delfinoj/SCA-dev/dev-repos.git/sca/samples/customer-dojo/target/classes/customer',
>> see the next exception for details.
>>
>> Directory
>> /mnt/ultrabay/delfinoj/Tuscany/dev-repos.git/samples/customer-dojo/target/classes/customer
>> already exists.
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 1 minute 23 seconds
>> [INFO] Finished at: Tue Aug 19 10:08:57 PDT 2008
>> [INFO] Final Memory: 67M/163M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>> An mvn clean install in samples/customer-dojo seems to temporarily clean it
>> and then the next mvn -Peclipse eclipse:eclipse works... but just once or
>> twice, and then the error comes back again :(
>>
>> There must be a problem in the build script in that customer-dojo project.
>> Any idea?
>> --
>> Jean-Sebastien
>>
>
>
>
> --
> Luciano Resende
> Apache Tuscany Committer
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/