harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3429) [jdktools] support debug and release build modes in jdktools
Date Mon, 19 Mar 2007 19:15:32 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan Popov updated HARMONY-3429:
--------------------------------

    Attachment: jdktools_build.patch

This patch "jdktools_build.patch" updates build scripts in jdktools component to build in
release or debug mode according to property "hy.cfg", which can be set to "release" or "debug"
value. By default "debug" value is used, similar to classlib.

Mostly make files for building native code were changed, and they now support similar set
of compiler options according to chosen build mode. To check updated build run jdktools tests
for both release and debug binaries, you should get the similar results (all tests passed):

  cd working_jdktools
  ant build -Dhy.cfg=release
  ant test

  cd working_jdktools
  ant build -Dhy.cfg=debug
  ant test

Before applying this patch on Linux one needs to fix CR-LF problems in a few build files:

  cd working_jdktools
  cd make
  dos2unix defines.mak defines.mk rules.mak rules.mk

Otherwise, patch may be rejected. Anyway, it makes sense CR-LF problems in these files and
set native line end property for them.


> [jdktools] support debug and release build modes in jdktools
> ------------------------------------------------------------
>
>                 Key: HARMONY-3429
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3429
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>         Environment: Windows, Linux
>            Reporter: Ivan Popov
>         Attachments: jdktools_build.patch
>
>
> Currently build infrastructure for jdktools component does not support debug and release
builds on both java and native code. Different modules build native code in a different ways
with different compiler options. This makes it difficult to debug native code and fix bugs.

> Build scripts of jdktools component should be updated to support debug and release build
modes according to "hy.cfg" property, similar to classlib component.

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


Mime
View raw message