[ 
http://jira.codehaus.org/browse/MSQL-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195279#action_195279
 ] 

Felix Röthenbacher commented on MSQL-43:
----------------------------------------

> These can be passed directly on the commandline with -Dname=value

Though this is true I prefer using a simple and convenient 'mvn install' to 
build and run through all tests without having to fiddle with any command line 
options.

As the SQL plugin is quite often used for automated integration testing it 
would be nice to have this feature to keep things simple.

The Maven Surefire plugin offers the same functionality to pass system 
properties to unit tests.

> System properties configuration.
> --------------------------------
>
>                 Key: MSQL-43
>                 URL: http://jira.codehaus.org/browse/MSQL-43
>             Project: Maven 2.x SQL Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.4
>            Reporter: Felix Röthenbacher
>         Attachments: sql-maven-plugin.patch.txt
>
>
> Add configuration settings for adding system properties. This proves useful 
> for a database like Apache Derby which allows configuration of logs files 
> (derby.log) through system properties, e.g. derby.stream.error.file.
> A patch is provided.
> System properties are added in the configuration section, e.g.:
>         <configuration>
>           <...>
>           <systemProperties>
>             <property>
>               <name>derby.stream.error.file</name>
>               <value>${project.build.directory}/derby.log</value>
>             </property>
>           </systemProperties>
>         </configuration>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to