DO NOT REPLY [Bug 35877] - JUnit timeout description is not quite accurate

2005-07-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35877.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35877


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Java Development with Ant

2005-07-27 Thread Steve Loughran

Erik Hatcher wrote:


On Jul 26, 2005, at 5:30 AM, Steve Loughran wrote:

Actually, maybe we should put together some official ant team  
presentations, for use in in-house or external talks, something  like 
the following set. This could be something to get the user  community 
involved in too...


-intro to ant
-why testing matters more than you think
-whats new in ant1.7 (the apachecon slides are this)
-.net with ant
-C++ with ant
-Ant XML processing
-script in ant
-continuous integration



I'd be happy to contribute the slides I've done on Ant to various  
symposiums and conferences.  The thing is, though, that slides are  
mostly useless - it's the presenter that makes the difference :)


Where should these slides (in PDF format would probably be best) go?


open office format would be the one to use. That way they can be 
maintained, customised for individual presentations, etc. It also means 
that visio inserts (as I have been known to use) are out too.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35887] New: - ExitException exitcode is lost

2005-07-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35887.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35887

   Summary: ExitException exitcode is lost
   Product: Ant
   Version: 1.6.5
  Platform: All
OS/Version: All
Status: NEW
  Severity: minor
  Priority: P2
 Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


I am programmatically calling a java task, with fork set to false. The java
program I am calling ends with a System.exit(0), so an ExitException is being
thrown.

Ant is converting it in a BuildException with no cause, so it is difficult to
determine what happened.

Could this BuildException be constructed with the original ExitException as its
cause?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35891] New: - Task Javac doesn't include javac -X options of JDK 1.5

2005-07-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35891.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35891

   Summary: Task Javac doesn't include javac -X options of JDK 1.5
   Product: Ant
   Version: 1.6.5
  Platform: PC
OS/Version: Windows 2000
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


Task Javac doesn't include javac -X options of JDK 1.5,so I can't use 
-Xlint:unchecked param to examine my code

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35891] - Task Javac doesn't include javac -X options of JDK 1.5

2005-07-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35891.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35891


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME
Summary|Task Javac doesn't include  |Task Javac doesn't include
   |javac -X options of JDK 1.5 |javac -X options of JDK 1.5




--- Additional Comments From [EMAIL PROTECTED]  2005-07-27 13:07 ---
Task javac has compilerarg element precisely  because different compilers have
different options

compilerarg value=-Xlint:unchecked 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35887] - ExitException exitcode is lost

2005-07-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35887.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35887





--- Additional Comments From [EMAIL PROTECTED]  2005-07-27 13:13 ---
it looks like the exception is being turned into a return value, so the java
code hides whether something is forking/nonforking. That is, the logic that
creates a BuildException when failoneerror==true  returnCode!=0 doesnt see the
ExitException.

what about setting failoneerror=false and then naming a property from the exit 
code?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35906] New: - Preserve file permissions

2005-07-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35906.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35906

   Summary: Preserve file permissions
   Product: Ant
   Version: 1.6.5
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: major
  Priority: P1
 Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


Copy, tar and untar tasks work fine, but they don't preserve file permissions.
File permissions are critical on Unix platforms, so would it be possible to
preserve file permissions during copy, tar and untar?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35906] - Preserve file permissions

2005-07-27 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35906.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35906


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2005-07-28 04:29 ---
Until we get a JDK that contains JSR 203
(http://www.jcp.org/en/jsr/detail?id=203) it's going to be very difficult (if
not impossible) for a pure Java application to set file permissions.

I would suggest that if you _really_ need to preserve file attributes that you
exec the proper native applications instead of using the corresponding Ant 
tasks.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]