db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3700) Get rid of tools/java/empty.jar
Date Mon, 02 Jun 2008 11:53:45 GMT

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

Knut Anders Hatlen updated DERBY-3700:
--------------------------------------

    Attachment: d3700.diff

The attached patch (d3700.diff) makes the build scripts create an empty directory under classes
when the engine target is invoked, and changes the variable empty so that it points to the
directory instead of the jar. I'm able to build Derby with JAVA_HOME set to 1.5 or 1.6 with
these changes. I have also started the regression tests using both Java version 1.4.2  and
version 1.6 to see if this change introduces dependencies on a specific Java version.

Output from svn stat:

M      build.xml
D      tools/java/empty.jar
M      tools/ant/properties/compilepath.properties

> Get rid of tools/java/empty.jar
> -------------------------------
>
>                 Key: DERBY-3700
>                 URL: https://issues.apache.org/jira/browse/DERBY-3700
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Trivial
>         Attachments: d3700.diff
>
>
> empty.jar is used to prevent the Java compiler from putting the default Java runtime
libraries in the boot classpath. An empty directory would also work, so we could remove the
jar file from the source repository and instead let the build scripts create an empty directory
for us.

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