You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vasily Chekalkin (JIRA)" <ji...@apache.org> on 2007/10/10 05:37:50 UTC

[jira] Created: (HARMONY-4915) [build] Undocumented dependecy from Eclipse.

[build] Undocumented dependecy from Eclipse.
--------------------------------------------

                 Key: HARMONY-4915
                 URL: https://issues.apache.org/jira/browse/HARMONY-4915
             Project: Harmony
          Issue Type: Bug
          Components: build - test - ci
         Environment:      [echo]                    Apache Harmony Federated Build
     [echo]             ==========================================
     [echo]             svn rev          :  583048
     [echo]             operating system :  linux
     [echo]             architecture     :  x86-32
     [echo]             ant os name/arch :  Linux/i386
     [echo]             hosting Java     :  1.6.0_02 (Sun Microsystems Inc.)
     [echo]             build mode       :  release
     [echo]             output location  :  target
     [echo]             DRLVM classlib   :  ../../../working_classlib
     [echo]             SVN root         :  http://svn.apache.org/repos/asf

            Reporter: Vasily Chekalkin
            Priority: Minor


Failed to build Harmony due unresolved dependency on Eclipse. However such dependency is not described on http://harmony.apache.org/quickhelp_contributors.html.

BUILD FAILED
/a/waters/nobackup/src/harmony/enhanced/trunk/build.xml:319: The following error occurred while executing this line:
/a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/build.xml:113: The following error occurred while executing this line:
/a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/make/build-java.xml:116: The Eclipse compiler class for Ant could not be found. Please place the ECJ JAR in ANT_HOME/lib. The JAR can be downloaded directly from eclipse.org or copied from COMMON_RESOURCES/depends/jars/ecj_3.x folder after the fetch-depends target for JDKTOOLS has been run.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-4915) [build] Undocumented dependecy from Eclipse.

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534228 ] 

Alexey Varlamov commented on HARMONY-4915:
------------------------------------------

Fixed the build at revision: 584052, now it accepts alternative compilers (found a few compilation errors in SWING when using javac, other than that build works fine).  Updated documentation on site at revision: 584063.
Please verify it fully solved the issue.

> [build] Undocumented dependecy from Eclipse.
> --------------------------------------------
>
>                 Key: HARMONY-4915
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4915
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment:      [echo]                    Apache Harmony Federated Build
>      [echo]             ==========================================
>      [echo]             svn rev          :  583048
>      [echo]             operating system :  linux
>      [echo]             architecture     :  x86-32
>      [echo]             ant os name/arch :  Linux/i386
>      [echo]             hosting Java     :  1.6.0_02 (Sun Microsystems Inc.)
>      [echo]             build mode       :  release
>      [echo]             output location  :  target
>      [echo]             DRLVM classlib   :  ../../../working_classlib
>      [echo]             SVN root         :  http://svn.apache.org/repos/asf
>            Reporter: Vasily Chekalkin
>            Assignee: Alexey Varlamov
>            Priority: Minor
>
> Failed to build Harmony due unresolved dependency on Eclipse. However such dependency is not described on http://harmony.apache.org/quickhelp_contributors.html.
> BUILD FAILED
> /a/waters/nobackup/src/harmony/enhanced/trunk/build.xml:319: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/build.xml:113: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/make/build-java.xml:116: The Eclipse compiler class for Ant could not be found. Please place the ECJ JAR in ANT_HOME/lib. The JAR can be downloaded directly from eclipse.org or copied from COMMON_RESOURCES/depends/jars/ecj_3.x folder after the fetch-depends target for JDKTOOLS has been run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-4915) [build] Undocumented dependecy from Eclipse.

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov reassigned HARMONY-4915:
----------------------------------------

    Assignee: Alexey Varlamov

> [build] Undocumented dependecy from Eclipse.
> --------------------------------------------
>
>                 Key: HARMONY-4915
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4915
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment:      [echo]                    Apache Harmony Federated Build
>      [echo]             ==========================================
>      [echo]             svn rev          :  583048
>      [echo]             operating system :  linux
>      [echo]             architecture     :  x86-32
>      [echo]             ant os name/arch :  Linux/i386
>      [echo]             hosting Java     :  1.6.0_02 (Sun Microsystems Inc.)
>      [echo]             build mode       :  release
>      [echo]             output location  :  target
>      [echo]             DRLVM classlib   :  ../../../working_classlib
>      [echo]             SVN root         :  http://svn.apache.org/repos/asf
>            Reporter: Vasily Chekalkin
>            Assignee: Alexey Varlamov
>            Priority: Minor
>
> Failed to build Harmony due unresolved dependency on Eclipse. However such dependency is not described on http://harmony.apache.org/quickhelp_contributors.html.
> BUILD FAILED
> /a/waters/nobackup/src/harmony/enhanced/trunk/build.xml:319: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/build.xml:113: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/make/build-java.xml:116: The Eclipse compiler class for Ant could not be found. Please place the ECJ JAR in ANT_HOME/lib. The JAR can be downloaded directly from eclipse.org or copied from COMMON_RESOURCES/depends/jars/ecj_3.x folder after the fetch-depends target for JDKTOOLS has been run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-4915) [build] Undocumented dependecy from Eclipse.

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov resolved HARMONY-4915.
--------------------------------------

    Resolution: Fixed

> [build] Undocumented dependecy from Eclipse.
> --------------------------------------------
>
>                 Key: HARMONY-4915
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4915
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment:      [echo]                    Apache Harmony Federated Build
>      [echo]             ==========================================
>      [echo]             svn rev          :  583048
>      [echo]             operating system :  linux
>      [echo]             architecture     :  x86-32
>      [echo]             ant os name/arch :  Linux/i386
>      [echo]             hosting Java     :  1.6.0_02 (Sun Microsystems Inc.)
>      [echo]             build mode       :  release
>      [echo]             output location  :  target
>      [echo]             DRLVM classlib   :  ../../../working_classlib
>      [echo]             SVN root         :  http://svn.apache.org/repos/asf
>            Reporter: Vasily Chekalkin
>            Assignee: Alexey Varlamov
>            Priority: Minor
>
> Failed to build Harmony due unresolved dependency on Eclipse. However such dependency is not described on http://harmony.apache.org/quickhelp_contributors.html.
> BUILD FAILED
> /a/waters/nobackup/src/harmony/enhanced/trunk/build.xml:319: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/build.xml:113: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/make/build-java.xml:116: The Eclipse compiler class for Ant could not be found. Please place the ECJ JAR in ANT_HOME/lib. The JAR can be downloaded directly from eclipse.org or copied from COMMON_RESOURCES/depends/jars/ecj_3.x folder after the fetch-depends target for JDKTOOLS has been run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-4915) [build] Undocumented dependecy from Eclipse.

Posted by "Vasily Chekalkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533601 ] 

Vasily Chekalkin commented on HARMONY-4915:
-------------------------------------------

Actually it doesn't work.

$ ant -Dhy.javac.compiler=modern -Dauto.fetch=true
Buildfile: build.xml

-init-hdk:

build-java:
     [echo] 
     [echo] ========================================
     [echo] Building Java component archives...
     [echo] ========================================
     [echo]         

-prepare-depends:

-check:
     [echo] Checking for depends/jars/yoko_M2-20070130/yoko.jar
     [echo] Checking for depends/jars/yoko_M2-20070130/yoko-core.jar
     [echo] Checking for depends/jars/yoko_M2-20070130/yoko-rmi-impl.jar
     [echo] Checking for depends/jars/yoko_M2-20070130/yoko-rmi-spec.jar
     [echo] Checking for depends/jars/bcel-5.2/bcel-5.2.jar
     [echo] Checking for depends/jars/xalan-j_2.7.0/xalan.jar
     [echo] Checking for depends/jars/xerces_2.9.1/xerces.zip
     [echo] Checking for depends/jars/junit_3.8.2/junit.jar
     [echo] Checking for depends/jars/bcprov-jdk15-137/bcprov.jar
     [echo] Checking for depends/jars/icu4j_3.4.4/icu4j_3_4_4.jar
     [echo] Checking for depends/jars/mx4j_3.0.2/mx4j.zip
     [echo] Checking for depends/jars/jetty/jetty-6.0.0.jar
     [echo] Checking for depends/jars/jetty/jetty-util-6.0.0.jar
     [echo] Checking for depends/jars/jetty/servlet-api-2.5-6.0.0.jar
     [echo] Checking for depends/dejavu-fonts/dejavu-ttf-2.18-1.zip
     [echo] Checking for depends/jars/derby-10.3.1.4/derby.jar

-select-win-deps-x86_64:

-select-win-deps-x86:

-really-check-win:

-check-win:

-check-unix-common:
     [echo] Checking for depends/libs/build/lcms/icc34.h

-really-link:
     [echo] Checking for depends/libs/build/lcms/lcms.h

-really-link:
     [echo] Checking for depends/libs/build/png/pngconf.h

-really-link:
     [echo] Checking for depends/libs/build/png/png.h

-really-link:
     [echo] Checking for depends/libs/build/jpeg/jconfig.lnx

-really-link:
     [echo] Checking for depends/libs/build/jpeg/jpeglib.h

-really-link:
     [echo] Checking for depends/libs/build/jpeg/jmorecfg.h

-really-link:
     [echo] Checking for depends/libs/build/jpeg/jerror.h

-really-link:

-check-unix-x86:
     [echo] Checking for depends/libs/build/lcms/liblcms.linux.x86

-really-link:
     [echo] Checking for depends/libs/build/png/libpng.linux.x86

-really-link:
     [echo] Checking for depends/libs/build/jpeg/libjpeg.linux.x86

-really-link:

-check-unix-x86_64:

-check-unix-ia64:

-check-unix:

-extract-props:

-extract-mx4j:

-extract-dejavu-fonts:
    [unzip] Expanding: /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/depends/dejavu-fonts/dejavu-ttf-2.18-1.zip into /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/depends/dejavu-fonts

-extract-xerces:

-extract-idea-from-bcprov:

-extract:

check:

-layout:
     [copy] Copying 1 file to /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/deploy/jdk/jre/lib/ext
     [copy] Copying /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/depends/jars/bcprov-jdk15-137/bcprov.noidea.jar to /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/deploy/jdk/jre/lib/ext/bcprov.jar

-compile:

BUILD FAILED
/a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/build.xml:113: The following error occurred while executing this line:
/a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/make/build-java.xml:116: The Eclipse compiler class for Ant could not be found. Please place the ECJ JAR in ANT_HOME/lib. The JAR can be downloaded directly from eclipse.org or copied from COMMON_RESOURCES/depends/jars/ecj_3.x folder after the fetch-depends target for JDKTOOLS has been run.

Total time: 4 seconds


> [build] Undocumented dependecy from Eclipse.
> --------------------------------------------
>
>                 Key: HARMONY-4915
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4915
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment:      [echo]                    Apache Harmony Federated Build
>      [echo]             ==========================================
>      [echo]             svn rev          :  583048
>      [echo]             operating system :  linux
>      [echo]             architecture     :  x86-32
>      [echo]             ant os name/arch :  Linux/i386
>      [echo]             hosting Java     :  1.6.0_02 (Sun Microsystems Inc.)
>      [echo]             build mode       :  release
>      [echo]             output location  :  target
>      [echo]             DRLVM classlib   :  ../../../working_classlib
>      [echo]             SVN root         :  http://svn.apache.org/repos/asf
>            Reporter: Vasily Chekalkin
>            Priority: Minor
>
> Failed to build Harmony due unresolved dependency on Eclipse. However such dependency is not described on http://harmony.apache.org/quickhelp_contributors.html.
> BUILD FAILED
> /a/waters/nobackup/src/harmony/enhanced/trunk/build.xml:319: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/build.xml:113: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/make/build-java.xml:116: The Eclipse compiler class for Ant could not be found. Please place the ECJ JAR in ANT_HOME/lib. The JAR can be downloaded directly from eclipse.org or copied from COMMON_RESOURCES/depends/jars/ecj_3.x folder after the fetch-depends target for JDKTOOLS has been run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-4915) [build] Undocumented dependecy from Eclipse.

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533670 ] 

Alexey Varlamov commented on HARMONY-4915:
------------------------------------------

Ouch, this check for ECJ presence is hardcoded unconditionally, this should be fixed. Sorry for confusion, yet this is useful experience anyway ;)

> [build] Undocumented dependecy from Eclipse.
> --------------------------------------------
>
>                 Key: HARMONY-4915
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4915
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment:      [echo]                    Apache Harmony Federated Build
>      [echo]             ==========================================
>      [echo]             svn rev          :  583048
>      [echo]             operating system :  linux
>      [echo]             architecture     :  x86-32
>      [echo]             ant os name/arch :  Linux/i386
>      [echo]             hosting Java     :  1.6.0_02 (Sun Microsystems Inc.)
>      [echo]             build mode       :  release
>      [echo]             output location  :  target
>      [echo]             DRLVM classlib   :  ../../../working_classlib
>      [echo]             SVN root         :  http://svn.apache.org/repos/asf
>            Reporter: Vasily Chekalkin
>            Priority: Minor
>
> Failed to build Harmony due unresolved dependency on Eclipse. However such dependency is not described on http://harmony.apache.org/quickhelp_contributors.html.
> BUILD FAILED
> /a/waters/nobackup/src/harmony/enhanced/trunk/build.xml:319: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/build.xml:113: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/make/build-java.xml:116: The Eclipse compiler class for Ant could not be found. Please place the ECJ JAR in ANT_HOME/lib. The JAR can be downloaded directly from eclipse.org or copied from COMMON_RESOURCES/depends/jars/ecj_3.x folder after the fetch-depends target for JDKTOOLS has been run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-4915) [build] Undocumented dependecy from Eclipse.

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533595 ] 

Alexey Varlamov commented on HARMONY-4915:
------------------------------------------

Thanks for pointing this out, doc should be updated.
In fact this is not a strong dependency, supposed you should be able to build with standard javac as well. 
To do so just supply -Dhy.javac.compiler=modern option when running build, like this:
>ant -Dhy.javac.compiler=modern -Dauto.fetch=true

Well, to be honest I did not test this with federated build, though it works with classlib and drlvm for sure.

> [build] Undocumented dependecy from Eclipse.
> --------------------------------------------
>
>                 Key: HARMONY-4915
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4915
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment:      [echo]                    Apache Harmony Federated Build
>      [echo]             ==========================================
>      [echo]             svn rev          :  583048
>      [echo]             operating system :  linux
>      [echo]             architecture     :  x86-32
>      [echo]             ant os name/arch :  Linux/i386
>      [echo]             hosting Java     :  1.6.0_02 (Sun Microsystems Inc.)
>      [echo]             build mode       :  release
>      [echo]             output location  :  target
>      [echo]             DRLVM classlib   :  ../../../working_classlib
>      [echo]             SVN root         :  http://svn.apache.org/repos/asf
>            Reporter: Vasily Chekalkin
>            Priority: Minor
>
> Failed to build Harmony due unresolved dependency on Eclipse. However such dependency is not described on http://harmony.apache.org/quickhelp_contributors.html.
> BUILD FAILED
> /a/waters/nobackup/src/harmony/enhanced/trunk/build.xml:319: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/build.xml:113: The following error occurred while executing this line:
> /a/waters/nobackup/src/harmony/enhanced/trunk/working_classlib/make/build-java.xml:116: The Eclipse compiler class for Ant could not be found. Please place the ECJ JAR in ANT_HOME/lib. The JAR can be downloaded directly from eclipse.org or copied from COMMON_RESOURCES/depends/jars/ecj_3.x folder after the fetch-depends target for JDKTOOLS has been run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.