You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/10/10 17:22:56 UTC
DO NOT REPLY [Bug 43586] New: - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
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=43586>.
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=43586
Summary: java.io.FileNotFoundException: /home/***/apache-ant-
1.7.0/junitvmwatcher *** .properties
Product: Ant
Version: 1.7.0
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P1
Component: Optional Tasks
AssignedTo: dev@ant.apache.org
ReportedBy: rahul.mahboobani@atosorigin.com
I am unable to run my JUNIT tests in a forked ANT v1.7.0 I am running on Linux.
It keeps crashing with ->
java.io.FileNotFoundException: /home/PRTI/apache-ant-
1.7.0/junitvmwatcher527107969.properties
I have read a "fix" in the fixed list
(http://apache.mirrormax.net/ant/README.html) saying ->
<junittask/> created junitvmwatcher*.properties files but did not close and
delete them.
I cannot find any nightly builds at all on
http://people.apache.org/builds/ant/nightly/
Is there any build of ant v1.7.0 that FIXES this bug, please?
Please help, this is a blocker.
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
peterreilly@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
rahul.mahboobani@atosorigin.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
------- Additional Comments From rahul.mahboobani@atosorigin.com 2007-10-11 03:23 -------
I am running on Linux, and I assure you I have no other versions of ant, I
just took the 1.7.0 tar.gz from apache and installed it. I have checked
thoroughly but this vmwatcher thing is blocking me entirely.
Please could you suggest a workaround?
I have run out of time, this is urgent, please help.
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
------- Additional Comments From stevel@apache.org 2007-10-11 03:58 -------
funnily enough, I had to track down duplicate classes in a different program
last week, and now know how to do it. It's pretty easy.
If you add the jvm option -verbose:class to <junit> you can find where classes
get loaded on; capture the output and search through it for
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner
<junit fork="yes">
<jvmarg value="-verbose:class"/>
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
------- Additional Comments From rahul.mahboobani@atosorigin.com 2007-10-11 06:59 -------
Well, I reverted back to Ant v1.6.5 and everything works fine.
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
------- Additional Comments From rahul.mahboobani@atosorigin.com 2007-10-11 04:54 -------
Thanks for your advice, but the output only shows the following once ->
[junit] [Loaded
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner]
[junit] [Loaded
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner$TeeOutputStream]
I do not see any duplicate classes, neither does the above say which jar its
loaded from.
I do have junit/swingui/TestRunner.class in junit.jar, which is in my
classpath. (if I remove junit.jar, ant junit task cannot find
junit.framework.Test so it fails)
I do not see any other duplicate classes related to ant, all the classes are
coming from my apache-ant-1.7.0/lib.
Please could you advise some more, there has to be something! I am thinking of
deleting everything and starting from scratch, but I don't see how that could
help.
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
------- Additional Comments From jaikumar.sharma@barco.com 2007-10-11 09:32 -------
Yes, if you are still using JUnit 3.x, but my tests are using JUnit 4.x, so for
me there is no option but to use Ant 1.7. I am facing this problem on Windows
XP.
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
rahul.mahboobani@atosorigin.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |
------- Additional Comments From rahul.mahboobani@atosorigin.com 2007-10-11 03:00 -------
There are no ant 1.6.x jars in my classpath. But, I have lots of jars
(commons, jboss, axis, etc.etc.), could it be that one of these is carrying
old version ant classes inside, causing this?
It will be very very tedious for me to look into each and every jar and find
out, so any advice greatly appreciated
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
stevel@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From stevel@apache.org 2007-10-11 02:29 -------
this isnt a bug in ant; I can assure you it isnt possible for ant to be released
with junit not working on linux, as it would fail its own tests.
you are mixing ant versions.
-Look at the classpath you run the tests on, make sure there arent ant 1.6.x
jars on there
-delete any RPM/deb installed ant versions
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
jaikumar.sharma@barco.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jaikumar.sharma@barco.com
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
------- Additional Comments From jaikumar.sharma@barco.com 2007-10-11 06:38 -------
(In reply to comment #5)
I also have the same issue, followed the advice on mailing list, but problem is
not solved.
I also built new version of Ant from SVN repository ANT_17_BRANCH (revision no.
583390), now using new version of Ant junitvmwatcherxxx.properties error is
gone, but it hangs while running junit tests unless I terminate jave.exe using
takmanager.
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 43586] - java.io.FileNotFoundException: /home/***/apache-ant-1.7.0/junitvmwatcher *** .properties
Posted by bu...@apache.org.
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=43586>.
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=43586
jwbrown@tibco.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan_w_brown@hotmail.com
------- Additional Comments From jwbrown@tibco.com 2007-11-27 09:12 -------
I too ran into this problem and did a bit of digging.
As Steve pointed out, the source of the problem is having an older version of
the Ant libraries in the classpath.
I ran my tests with Ant's debug switch [-d] and noticed that the
Java13CommandLauncher is constructing a classpath with the Ant 1.7 libraries
appended to the classpath as opposed to being prepended. That is a [relatively
minor] bug IMHO.
Unless there is a valid use case I am overlooking, I believe it would make the
tool a bit more robust to promote the ant libs to the front of the list.
Regards,
jb
--
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org