History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-24379
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Anton Makeev
Reporter: Irina Petrovskaya
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Maven: extra src/target pathss specified via build-helper plugin should be added as paths relative to $MODULE_DIR$

Created: 21 Jan 08 16:25   Updated: 06 Feb 08 12:28
Component/s: Maven Integration
Fix Version/s: Selena 7.0.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 8,113
Fixed in build: 7,686


 Description  « Hide

if the extra source/test paths added via build-helper plugin are specified as paths under the module dir (i.e. no ".." are used in path), then the project can be opened by IDEA, but the path is not resolved anyway.
For example see the following snippet:

<configuration>
                            <sources>
                                <source>sources_to_add/src</source>
                                <!--source>../../sources_to_add/src</source--> <!--cannot be opened - see 24337-->
                            </sources>
</configuration>

for the commented out path - IDEADEV-24337;
for the not commented one the project is normally created, but the extra path is added to module incorrectly:
in iml file:
<content url="file://sources_to_add/src">
<sourceFolder url="file://sources_to_add/src" isTestSource="false" />
</content>



 All   Comments   Work Log   Change History      Sort Order:
Anton Makeev - 06 Feb 08 12:28
all the paths are now stored as relative (the corresponding option is set on the module settings dialog).