[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-dev
Subject:    DO NOT REPLY [Bug 34681]  New:  -
From:       bugzilla () apache ! org
Date:       2005-04-29 18:12:17
Message-ID: 20050429181217.7164229C () ajax ! apache ! org
[Download RAW message or body]

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=34681>.
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=34681

           Summary: javah task fails with java.lang.NoClassDefFoundError
           Product: Ant
           Version: 1.6.3
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: maurice.feskanich@sun.com
                CC: maurice.feskanich@sun.com


The javah task fails with the following message:

[javah] Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/tools/javah/oldjavah/Main

The following build file will reproduce the error:

<?xml version="1.0"?>
<project name="javah.bug" default="produce.bug" basedir=".">

  <target name="produce.bug">
    <javah class="doesntmatter" />
  </target>

</project>


I am running Solaris 9 on a Sun Ultra 60, using JDK 1.5.0.

I posted a question about this to user@ant.apache.org, and Antoine Levy-Lambert
responded with:

"The class which is trying to use com.sun.tools.javah.oldjavah.Main is
src/main/org/apache/tools/ant/taskdefs/optional/javah/SunJavah.java
http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs/optional/javah/SunJavah.java

I guess the problem is that the changes done in revision 1.2 and maybe 
1.3 too should have been merged to the ant 1.6.3 branch, but were not."


This problem makes Ant 1.6.3 unusable for any project that requires javah.

-- 
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic