Opened 10 years ago

Closed 9 years ago

#739 closed defect (worksforme)

IZ3171: Why not call ant directly in build.xml?

Reported by: opoplawski Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2u4
Severity: minor Keywords: build
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=3171]

        Issue #:      3171             Platform:     All      Reporter: opoplawski (opoplawski)
       Component:     gridengine          OS:        All
     Subcomponent:    build            Version:      6.2u4       CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    andreas (andreas)
      QA Contact:     andreas
          URL:
       * Summary:     Why not call ant directly in build.xml?
   Status whiteboard:
      Attachments:

     Issue 3171 blocks:
   Votes for issue 3171:


   Opened: Thu Oct 29 14:04:00 -0700 2009 
------------------------


While building 6.2u4 for fedora, I got build failures for various components because source/build.xml and soruce/libs/jgdi/build.xml run
"org.apache.tools.ant.launch.Launcher" directly rather than executing "ant" directly.  This fails on fedora, because the ant library is
installed in a non-standard (for ant) location.  I needed to add:

+               <jvmarg value="-Dant.library.dir=/usr/share/ant/lib"/>

to the tasks in the above build.xml files.  But why not just run "ant" directly?

Change History (1)

comment:1 Changed 9 years ago by dlove

  • Resolution set to worksforme
  • Severity set to minor
  • Status changed from new to closed

I can't see anything having been fixed specifically, but the build works for me on RedHat? 5 and Ubuntu 10.04 with /usr/share/ant.

Note: See TracTickets for help on using tickets.