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

Key: IDEADEV-24420
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Nikolay Chashnikov
Reporter: Steve Hickson
Votes: 0
Watchers: 2
Operations

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

Autogenerated ants have incorrect web resource order

Created: 23 Jan 08 14:31   Updated: 23 Jan 08 15:07
Component/s: Ant Integration, J2EE
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: IDEA 7.0.2

Build: 7,590
Severity: High


 Description  « Hide
I have a module with two web facets A and B. Facet A contains all jsp files and a my.css file. Facet B is used for deploying the same jsps to a different server with different style so it contains only my.css file.

In the project options, facet options you can define Web Resource Directories. For facet B I have the following:
directory .../B, path relative to depl. root /
directory .../A, path relative to depl. root /

According to previous post in the forum
http://www.intellij.net/forums/thread.jspa?forumID=27&threadID=271788
IDEA follows the order of the directories defined in the Web Resource Directories when building the project. The .../B/my.css is copied first, the .../A is copied second and the existing files are not overwritten. This works OK.

Then I generate the ant files in menu Build, Generate Ant Build. In the generated file the B and A have incorrect order. The .../A is copied first and the .../B second. This behaviour effectively ruins my build.

Original report in forum
http://www.intellij.net/forums/thread.jspa?forumID=27&threadID=272456



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.