Bug 132409
Summary: | Classic-ant causes gij to abort | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | W. Michael Petullo <redhat> |
Component: | ant | Assignee: | Gary Benson <gbenson> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | marius.andreiana |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | powerpc | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-11-20 21:23:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 123268, 136451 | ||
Attachments: |
Description
W. Michael Petullo
2004-09-12 20:15:52 UTC
Created attachment 103769 [details]
Backtrace of gij abort following execution of gij by classic-ant
Created attachment 103770 [details]
The build.xml used
Created attachment 104361 [details]
Like classic-ant, the natively compiled ant causes ecj to fail. This is the output ant gives.
Don't know if related: I'm trying to compile an application using ant. Installed jdk 1.5.0 from sun, set JAVA_HOME and replaced /etc/alternatives: [root@marte alternatives]# l j* lrwxrwxrwx 1 root root 26 Oct 3 15:38 jar - > /usr/java/jdk1.5.0/bin/jar lrwxrwxrwx 1 root root 27 Oct 3 15:38 java - > /usr/java/jdk1.5.0/bin/java lrwxrwxrwx 1 root root 28 Oct 3 15:38 javac - > /usr/java/jdk1.5.0/bin/javac lrwxrwxrwx 1 root root 30 Oct 3 15:38 javadoc - > /usr/java/jdk1.5.0/bin/javadoc lrwxrwxrwx 1 root root 28 Oct 3 15:38 javah - > /usr/java/jdk1.5.0/bin/javah Also set JAVA_HOME in /etc/ant.conf However, ant insists on using ecj although it's not referenced in build.xml: Apache Ant version 1.5.2 compiled on June 23 2004 Buildfile: build.xml Detected Java version: 1.4 in: /usr Detected OS: Linux file:/my/deja_vu/2compile/ofbiz/base/build.xml:83: Error starting ecj compiler Using classic-ant works. Is this correct? It doesn't seem correct to me hardcoding ecj. This looks fixed in recent versions. I am using ant-1.6.1-1jpp_6fc and gcc-java-3.4.3-2. I also replaced JPackage's classpathx-jaxp with xerces-j2. This may have been what got this to work. Thanks! |