You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Jon Barber (JIRA)" <ji...@apache.org> on 2011/09/22 17:26:26 UTC
[jira] [Created] (ARIES-749) Unable to create AriesTrader database
tables on Windows based OS
Unable to create AriesTrader database tables on Windows based OS
----------------------------------------------------------------
Key: ARIES-749
URL: https://issues.apache.org/jira/browse/ARIES-749
Project: Aries
Issue Type: Bug
Components: Samples
Affects Versions: 0.3
Environment: MS Windows family
Reporter: Jon Barber
When running the AriesTrader sample on Windows (any variant) invoking the "(Re)-create AriesTrader Database Tables and Indexes" operation results in an error : "TradeBuildDB: **** Unable to parse DDL file for the specified database ****"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ARIES-749) Unable to create AriesTrader database
tables on Windows based OS
Posted by "Jon Barber (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jon Barber updated ARIES-749:
-----------------------------
Attachment: Set_the_path_separator_for_the_DDL_file_resource_to_be_____regardless_of_underlying_OS.patch
Patch to set the DDL path separator to '/' for all platforms
> Unable to create AriesTrader database tables on Windows based OS
> ----------------------------------------------------------------
>
> Key: ARIES-749
> URL: https://issues.apache.org/jira/browse/ARIES-749
> Project: Aries
> Issue Type: Bug
> Components: Samples
> Affects Versions: 0.3
> Environment: MS Windows family
> Reporter: Jon Barber
> Attachments: Set_the_path_separator_for_the_DDL_file_resource_to_be_____regardless_of_underlying_OS.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When running the AriesTrader sample on Windows (any variant) invoking the "(Re)-create AriesTrader Database Tables and Indexes" operation results in an error : "TradeBuildDB: **** Unable to parse DDL file for the specified database ****"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ARIES-749) Unable to create AriesTrader
database tables on Windows based OS
Posted by "Jon Barber (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112652#comment-13112652 ]
Jon Barber commented on ARIES-749:
----------------------------------
This is due to using File.separatorChar to create the name of the DDL resource, so on Windows the name generated is something like "\\dbscripts\\derby\\Table.ddl". In fact the path separator is always '/' regardless of the underlying OS.
> Unable to create AriesTrader database tables on Windows based OS
> ----------------------------------------------------------------
>
> Key: ARIES-749
> URL: https://issues.apache.org/jira/browse/ARIES-749
> Project: Aries
> Issue Type: Bug
> Components: Samples
> Affects Versions: 0.3
> Environment: MS Windows family
> Reporter: Jon Barber
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When running the AriesTrader sample on Windows (any variant) invoking the "(Re)-create AriesTrader Database Tables and Indexes" operation results in an error : "TradeBuildDB: **** Unable to parse DDL file for the specified database ****"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira