Bug #4351
closedant netbans fails due to missing file
0%
Description
During ant netbeans, exveption is thrown:
[netbeans] java.io.FileNotFoundException: /home/michalo/kepler/build-area/resources/netbeans/ProjectXmlMiddle (No such file or directory)
[netbeans] at java.io.FileInputStream.open(Native Method)
[netbeans] at java.io.FileInputStream.<init>(FileInputStream.java:106)
[netbeans] at java.io.FileReader.<init>(FileReader.java:55)
[netbeans] at org.kepler.build.ide.FileMerger.merge(FileMerger.java:51)
[netbeans] at org.kepler.build.ide.FileMerger.merge(FileMerger.java:85)
[netbeans] at org.kepler.build.ide.Netbeans.merge(Netbeans.java:61)
NOTE! file ProjectXmlMiddle is missing. There is, however, another file:
michalo@rhodiola:~/kepler/build-area$ find . -name "ProjectX*"
./resources/netbeans/ProjectXMLMiddle
To solve the issue:
shell> ~/kepler/build-area/resources/netbeans$ ln -s ProjectXMLMiddle ProjectXmlMiddle
Suggestion:
either ProjectXMLMiddle should be replaced with ProjectXmlMiddle within repository
or ProjectXmlMiddle references within build system should be replaced with ProjectXMLMiddle