Modify ↓
#73 closed enhancement (fixed)
configure JAVA_HOME setting for Ant task
Reported by: | Matthew Good <trac@…> | Owned by: | cmlenz |
---|---|---|---|
Priority: | major | Milestone: | 0.6 |
Component: | Recipe commands | Version: | dev |
Keywords: | Cc: | ||
Operating System: |
Description
This patch allows users to put the path of their JAVA_HOME in the slave config and sets it when running the ant task:
-
bitten/build/javatools.py
26 26 if ant_home: 27 27 executable = os.path.join(ant_home, 'bin', 'ant') 28 28 29 java_home = ctxt.config.get_dirpath('java.home') 30 if java_home: 31 os.environ['JAVA_HOME'] = java_home 32 29 33 logfile = tempfile.NamedTemporaryFile(prefix='ant_log', suffix='.xml') 30 34 if args: 31 35 args = shlex.split(args)
Attachments (0)
Change History (1)
comment:1 Changed 19 years ago by cmlenz
- Milestone set to 0.6
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Patch applied in [312].