The new 'additionalConfig' configuration doesn't create sub-directories
-----------------------------------------------------------------------
Key: MECLIPSE-193
URL: http://jira.codehaus.org/browse/MECLIPSE-193
Project: Maven 2.x Eclipse Plugin
Issue Type: Bug
Affects Versions: 2.3
Reporter: Maurice Zeijen
Fix For: 2.3, 2.4
The new configuration option 'additionalConfig' throws an exception when I set
a non existing sub-directory in the 'file' node. It would be better if the
subdirectory would be created if it doesn't exists.
Example:
A lot of eclipse configuration files are written in the '.settings' directory.
<configuration>
<additionalConfig>
<file>
<name>.settings/org.eclipse.jdt.core.prefs</name>
<content>
<![CDATA[
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.4
org.eclipse.jdt.core.compiler.compliance=1.4
org.eclipse.jdt.core.compiler.source=1.4
]]>
</content>
</file>
</additionalConfig>
</configuration>
The plugin should create the subdirectory '.settings' if it doesn't exist.
--
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