Issues building simply from Ant (java build)

Bug #732483 reported by Gilles Gaillard on 2011-03-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
New
Undecided
Neil Soman

Bug Description

Performing a simple build with Ant should be possible for clc, even
on a machine where Eucalyptus is not installed (right ?).
For now, there is a lack of documentation and a bug for windows users.

1. Documentation should explain how to do that.

 - if eucalyptus is not installed on the dev machine:
   o Get the file /var/lib/eucalyptus/keys/euca.p12 from the Eucalyptus install
   o Create an 'eucalyptus' folder and copy this euca.p12 file in a sub folder with the same path.

   For example, on my machine, the makes:
   F:\java\S3\Eucalyptus\eucalyptus-2.0.2\bin_dist\opt\eucalyptus
   F:\java\S3\Eucalyptus\eucalyptus-2.0.2\bin_dist\opt\eucalyptus\var\lib\eucalyptus\keys\euca.p12

 - set an environment variable EUCALYPTUS pointing to the above eucalyptus folder and launch your regular Ant.
   The snippet below shows that in Windows idiom.

@setlocal
@set EUCALYPTUS=path_to_eucalyptus_folder
@set ANT_HOME=path_to_ant_install
@%ANT_HOME%\bin\ant %*
@endlocal

2. For windows users, there is a bug in class com.eucalyptus.binding.BuildBindings in places where regular expression replacement are expecting '/' as path separator.
The failing methods are paths() and execute().
The attached patch is a fix for this.

Daniel Nurmi (nurmi) on 2011-03-21
Changed in eucalyptus:
assignee: nobody → chris grzegorczyk (chris-grze)
assignee: chris grzegorczyk (chris-grze) → Neil Soman (neilsoman)
Andy Grimm (agrimm) wrote :

This issue is now being tracked upstream at http://eucalyptus.atlassian.net/browse/EUCA-2759

Please watch that issue for further updates.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers