[
https://issues.apache.org/jira/browse/DERBY-3703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Knut Anders Hatlen updated DERBY-3703:
--------------------------------------
Attachment: d3703-buildbreak.diff
It looks like the problem with ant 1.6.5 is:
1) jsr169stubs is compiled before the setCompilerProperties target, hence the
compile.classpath property is not set (ant 1.7.0 seems to automatically use the
libraries in JAVA_HOME in this case)
2) if (1) is fixed, it fails because java.sql.Timestamp uses StringBuilder
(introduced in Java 1.5) internally.
The attached patch fixes (1) by ensuring that the jsr169stubs target is invoked
after setCompilerProperties, and (2) by using StringBuffer instead of
StringBuilder. (The implementation of the stub classes isn't important. We only
care about the signatures, so all methods could in fact have been empty.)
> Make it possible to build the JSR169 support with the jdk1.4 libraries
> ----------------------------------------------------------------------
>
> Key: DERBY-3703
> URL: https://issues.apache.org/jira/browse/DERBY-3703
> Project: Derby
> Issue Type: Improvement
> Components: Build tools
> Reporter: Rick Hillegas
> Attachments: d3703-buildbreak.diff,
> derby-3703-01-aa-moveJdbc3methods.diff,
> derby-3703-01-aa-moveJdbc3methods.diff, derby-3703-01-ab-jsr169stubs.diff,
> derby-3703-01-ac-jsr169stubsNoJar.diff,
> derby-3703-01-ad-jsr169stubsWithNotice.diff,
> derby-3703-02-aa-buildDiagnostic.diff
>
>
> It would be good to simplify the Derby build so that the whole product could
> be built out-of-the-box just from what's checked into the Derby repository.
> As a step toward this goal, it would be good to be able to build the jsr169
> support without having to download proprietary libraries.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.