Bug 24103 - edit the Windows registry
Summary: edit the Windows registry
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.5.4
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-24 14:19 UTC by Giorgio
Modified: 2008-11-24 03:57 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giorgio 2003-10-24 14:19:08 UTC
Is there a task for reading values from the windows registry ?
Comment 1 Jose Alberto Fernandez 2003-10-24 15:57:11 UTC
I think one such task could be written, by interfacing with the
Preferences API that is in jdk1.4. I think it comes with a provider
for the Windows registry.
Comment 2 Steve Loughran 2003-10-24 19:00:56 UTC
An undocumented interface to the windows registry; the preferences API only gets
at a small subset of the registry HKCU/Software/Sun/ or some such, and
escapes/unescapes text strings.

You'd need to step into the java source to find the JNI calls they make,
replicate them and hope that sun never move them from version to version. 
Comment 3 Jan Mat 2003-11-03 10:31:43 UTC
Much easier would it be using one of the many java libraries for accessing the 
Windows registry.