I had Ivy-2.1.0.jar in my %USER_HOME%/.ant/lib directory, so the ivy taskdefs 
were using the ant parent classloader not the sigil plugin path.  I was able to 
circumvent this problem by executing ant with the '-nouserlib' switch.

Also, because I am building this on Windows the 'symlink="true"' attribute on 
the ivy:retrive entity (bldcommon/common.xml - line: 88) caused javac errors.  
Changing this to false allowed me to execute a full and complete build of Sigil.

Best,
Chris


+++++++++++++++++++++++++
Christopher Farnham
Senior Software Engineer
Decision Management Systems
Government Services
Charles River Analytics Inc.
617.491.3474 x562
www.cra.com





THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS ADDRESSED. IT 
MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM 
DISCLOSURE UNDER APPLICABLE LAW. If you are not the intended recipient, your 
use of this message for any purpose is strictly prohibited. If you have 
received this communication in error, please delete the message and notify the 
sender so that we may correct our records.



From: Chris Farnham
Sent: Thursday, April 15, 2010 11:08 AM
To: '[email protected]'
Subject: Problem building from a fresh checkout of sigil

$ ant clean dist
Buildfile: build.xml

clean-list:

ident:
     [echo] sigil

check-sigil:

init-sigil:

download-deps:
      [get] Getting: 
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.0.0/ivy-2.0.0.jar
      [get] To: C:\java\sigil-trunk\cache\ant\lib\ivy.jar
      [get] local file date : Mon Jan 19 17:10:38 EST 2009
      [get] Not modified - so not downloaded
      [get] Getting: 
http://people.apache.org/~dsavage/sigil/sigil-ivy-plugin.jar
      [get] To: C:\java\sigil-trunk\cache\ant\lib\sigil-ivy-plugin.jar
      [get] local file date : Mon Oct 26 06:41:16 EDT 2009
      [get] Not modified - so not downloaded
      [get] Getting: 
http://www.aQute.biz/repo/biz/aQute/bndlib/0.0.312/bndlib-0.0.312.jar
      [get] To: C:\java\sigil-trunk\cache\ant\lib\bndlib.jar
      [get] local file date : Mon Feb 16 14:03:59 EST 2009
      [get] Not modified - so not downloaded
      [get] Getting: 
http://download.eclipse.org/releases/ganymede/plugins/org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
      [get] To: C:\java\sigil-trunk\cache\ant\lib\equinox.common.jar
      [get] local file date : Fri Feb 27 19:40:19 EST 2009
      [get] Not modified - so not downloaded

load-ivy:
     [echo] Loading Ivy ... C:\java\sigil-trunk\bldcommon/ivysettings.xml

load-groovy:
[ivy:cachepath] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:cachepath] :: loading settings :: file = 
C:\java\sigil-trunk\bldcommon\ivysettings.xml

BUILD FAILED
C:\java\sigil-trunk\bldcommon\common.xml:303: The following error occurred 
while executing this line:
C:\java\sigil-trunk\bldcommon\common.xml:65: impossible to configure 
ivy:settings with given file: C:\java\sigil-trunk\bldcommon\ivysettings
.xml : java.text.ParseException: failed to load settings from 
file:/C:/java/sigil-trunk/bldcommon/ivysettings.xml: impossible to define new
type: class not found: org.apache.felix.sigil.ivy.SigilParser in [] nor Ivy 
classloader

Total time: 0 seconds

cfarn...@cfarnham-dt1 /java/sigil-trunk
$

+++++++++++++++++++++++++
Christopher Farnham
Senior Software Engineer
Decision Management Systems
Government Services
Charles River Analytics Inc.
617.491.3474 x562
www.cra.com

Reply via email to