[
https://jira.jboss.org/jira/browse/JBIDE-3305?page=com.atlassian.jira.plu...
]
Rob Stryker resolved JBIDE-3305.
--------------------------------
Resolution: Done
Since we don't know what the error is, we'll focus this issue on making the
messaging more clear.
What more information would you like to see?
The current method is as follows:
public static boolean createFile(final IArchiveNode node, boolean sync) {
File f = getFile(node);
boolean b = false;
if( f != null ) {
b = f.mkdirs();
}
if( sync )
TrueZipUtil.sync();
return b;
}
It just returns whether the output folders were made or not. java.io.File does not go
throwing all sorts of things when folders / files can't be created. So all I have to
go by is that the file was not created. Once my code gets the 'false', I log it
as an error.
I'm committing a fix that will at least designate which file is unable to be created.
Hopefully that will help. Feel free to re-open if you have more thoughts.
Error building project archive but no clue which error
------------------------------------------------------
Key: JBIDE-3305
URL:
https://jira.jboss.org/jira/browse/JBIDE-3305
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Archives
Affects Versions: 3.0.0.beta1
Reporter: Galder Zamarreno
Assignee: Rob Stryker
Fix For: 3.0.0.cr1
I'm building a fairly large project archive, ~30MB compressed containing about 17.000
classes and
first time I tried building the jar, I got an error like this:
eclipse.buildId=M20080911-1700
java.version=1.6.0_0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
Error
Thu Nov 27 13:06:40 CET 2008
Error creating output file for node rt.jar
But it says nothing about the error itself! This needs to be improved.
2nd time I build the jar, it didn't give me any errors.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira