Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 13 years ago

#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

     
    2626    if ant_home:
    2727        executable = os.path.join(ant_home, 'bin', 'ant')
    2828
     29    java_home = ctxt.config.get_dirpath('java.home')
     30    if java_home:
     31        os.environ['JAVA_HOME'] = java_home
     32
    2933    logfile = tempfile.NamedTemporaryFile(prefix='ant_log', suffix='.xml')
    3034    if args:
    3135        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

Patch applied in [312].

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.