Hi all,

I recently updated IvyDE from <http://hudson.zones.apache.org/hudson/view/Ant/job/IvyDE-updatesite/lastStableBuild/artifact/trunk/build> build 57 to build 106.

While launching an Ant build as external tool worked fine with build 57, I get a java.lang.NoClassDefFoundError when using build 106.

It looks like build 106 is adding ivy.jar to the classpath of the invoked ant. My build.xml contains a <taskdef> to load ivy.jar and the jsch-0.1.38.jar that is needed for the sftp resolver. With ivy.jar in the ant classpath, ant does not load the jsch-0.1.38.jar, which in turn causes the
 java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException
at org.apache.ivy.plugins.resolver.SFTPResolver.<init>(SFTPResolver.java:31)
upon the first resolve.

This is my taskdef to load Ivy:
    <taskdef resource="org/apache/ivy/ant/antlib.xml"
             uri="antlib:org.apache.ivy.ant">
      <classpath>
        <fileset dir="${generic.buildsys.dir}/lib-ivy">
          <include name="*.jar" /> <!-- ivy.jar and the jsch-0.1.38.jar -->
        </fileset>
      </classpath>
    </taskdef>

I think, IvyDE should not add ivy.jar to the classpath of the invoked ant.

BTW: My workaround was to uninstall ivy.ja from Eclipse (Help|About Eclipse|Installation Details|Installed Software|Apache Ivy).

Regards,
        Martin Weber



#-----------------
# output of ant -d with build 57
#-----------------
Apache Ant version 1.7.1 compiled on June 27 2008
Setting ro project property: ant.file -> U:\develop\TRM-3.x-src\server\build.xml
Buildfile: U:\develop\TRM-3.x-src\server\build.xml
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile U:\develop\TRM-3.x-src\server\build.xml with URI = file:/U:/develop/TRM-3.x-src/server/build.xml
Setting ro project property: ant.project.name -> trm_server
Adding reference: trm_server
Setting ro project property: ant.file.trm_server -> U:\develop\TRM-3.x-src\server\build.xml
Project base dir set to: U:\develop\TRM-3.x-src\server
 +Target:
 +Target: clean
[...]
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
Setting project property: master.project.home -> U:\develop\TRM-3.x-src
Importing file U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\build-JAR.xml from U:\develop\TRM-3.x-src\server\build.xml parsing buildfile U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\build-JAR.xml with URI = file:/U:/develop/TRM-3.x-src/Buildtools/generic-buildsys/build-JAR.xml Setting ro project property: ant.file.super -> U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\build-JAR.xml [...]Importing file U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\build-impl.xml from U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\build-JAR.xml parsing buildfile U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\build-impl.xml with URI = file:/U:/develop/TRM-3.x-src/Buildtools/generic-buildsys/build-impl.xml Setting ro project property: ant.file.build-impl -> U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\build-impl.xml
 +Target: -init-tools
[...]
 +Target: -init-ivy
[...]
Setting project property: generic.buildsys.dir -> U:\develop\TRM-3.x-src\Buildtools\generic-buildsys Importing file U:\develop\TRM-3.x-src\Buildtools\settings-master.xml from U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\build-impl.xml
[...]
 [property] Loading Environment env.
[...]
-init-ivy:
[echoproperties] #Ant properties
[...]
[echoproperties] ant.core.lib=D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant.jar
[...]
[echoproperties] env.ANT_HOME=D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145
[...]
[echoproperties] java.class.path=D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-antlr.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-bcel.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-bsf.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-log4j.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-oro.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-regexp.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-resolver.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-commons-logging.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-commons-net.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-jai.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-javamail.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-jdepend.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-jmf.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-jsch.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-junit.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-launcher.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-netrexx.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-nodeps.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-starteam.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-stylebook.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-swing.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-trax.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-weblogic.jar;D\:\\mehr Programme\\eclipse\\configuration\\org.eclipse.osgi\\bundles\\15\\1\\.cp\\lib\\remoteAnt.jar;C\:\\Program Files\\Java\\jdk1.6.0_20\\lib\\tools.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.eclipse.swt.win32.win32.x86_64_3.5.2.v3557f.jar
[...]
[echoproperties] year=2010
fileset: Setup scanner in dir U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\lib-ivy with patternSet{ includes: [*.jar] excludes: [] } parsing buildfile jar:file:/U:/develop/TRM-3.x-src/Buildtools/generic-buildsys/lib-ivy/ivy-2.0.0.jar!/org/apache/ivy/ant/antlib.xml with URI = jar:file:/U:/develop/TRM-3.x-src/Buildtools/generic-buildsys/lib-ivy/ivy-2.0.0.jar!/org/apache/ivy/ant/antlib.xml
Finding class org.apache.ivy.ant.IvyAntSettings
Loaded from U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\lib-ivy\ivy-2.0.0.jar org/apache/ivy/ant/IvyAntSettings.class Class org.apache.tools.ant.types.DataType loaded from parent loader (parentFirst)
[...]
Finding class org.apache.ivy.ant.IvyConfigure
Loaded from U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\lib-ivy\ivy-2.0.0.jar org/apache/ivy/ant/IvyConfigure.class
[...]
Finding class org.apache.ivy.ant.IvyResolve
Loaded from U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\lib-ivy\ivy-2.0.0.jar org/apache/ivy/ant/IvyResolve.class
Finding class org.apache.ivy.ant.IvyTask
Loaded from U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\lib-ivy\ivy-2.0.0.jar org/apache/ivy/ant/IvyTask.class
[...]
Adding reference: ivy.instance
[...]
-init-tools:
[...]
[...]
Resource module.properties loaded from ant loader
Setting project property: ivy.version -> 2.0.0
[...]
Finding class org.apache.ivy.core.RelativeUrlResolver
Loaded from U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\lib-ivy\ivy-2.0.0.jar org/apache/ivy/core/RelativeUrlResolver.class Class org.apache.ivy.core.RelativeUrlResolver loaded from ant loader (parentFirst)
Finding class org.apache.ivy.core.NormalRelativeUrlResolver
Loaded from U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\lib-ivy\ivy-2.0.0.jar org/apache/ivy/core/NormalRelativeUrlResolver.class Class org.apache.ivy.core.NormalRelativeUrlResolver loaded from ant loader (parentFirst)
[...]
Finding class org.apache.ivy.plugins.resolver.URLResolver
Loaded from U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\lib-ivy\ivy-2.0.0.jar org/apache/ivy/plugins/resolver/URLResolver.class
[...]
Finding class org.apache.ivy.plugins.resolver.VsftpResolver
Loaded from U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\lib-ivy\ivy-2.0.0.jar org/apache/ivy/plugins/resolver/VsftpResolver.class Class org.apache.ivy.plugins.resolver.VsftpResolver loaded from ant loader (parentFirst)
[...]
Finding class org.apache.ivy.plugins.resolver.AbstractSshBasedResolver
Loaded from U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\lib-ivy\ivy-2.0.0.jar org/apache/ivy/plugins/resolver/AbstractSshBasedResolver.class Class org.apache.ivy.plugins.resolver.AbstractSshBasedResolver loaded from ant loader (parentFirst) Class org.apache.ivy.plugins.resolver.SshResolver loaded from ant loader (parentFirst)
[...]
[...]
:: loading settings :: file = U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\ivysettings.xml setting 'ivy.settings.dir' to 'U:\develop\TRM-3.x-src\Buildtools\generic-buildsys' setting 'ivy.conf.dir' to 'U:\develop\TRM-3.x-src\Buildtools\generic-buildsys' setting 'ivy.settings.file' to 'U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\ivysettings.xml' setting 'ivy.conf.file' to 'U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\ivysettings.xml'
Class java.net.URI loaded from parent loader (parentFirst)
setting 'ivy.settings.url' to 'file:/U:/develop/TRM-3.x-src/Buildtools/generic-buildsys/ivysettings.xml' setting 'ivy.conf.url' to 'file:/U:/develop/TRM-3.x-src/Buildtools/generic-buildsys/ivysettings.xml'
setting 'ivy.default.ivy.user.dir' to 'C:\Users\m.weber\.ivy2'
setting 'ivy.home' to 'C:\Users\m.weber\.ivy2'
no default ivy user dir defined: set to C:\Users\m.weber\.ivy2
Resource org/apache/ivy/core/settings/ivy.properties loaded from ant loader
[...]
[...]
[...]
Setting project property: java.class.path.ivy.instance -> D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-antlr.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-apache-bcel.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-apache-bsf.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-apache-log4j.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-apache-oro.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-apache-regexp.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-apache-resolver.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-commons-logging.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-commons-net.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-jai.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-javamail.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-jdepend.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-jmf.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-jsch.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-junit.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-launcher.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-netrexx.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-nodeps.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-starteam.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-stylebook.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-swing.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-trax.jar;D:\mehr Programme\eclipse\plugins\org.apache.ant_1.7.1.v20090120-1145\lib\ant-weblogic.jar;D:\mehr Programme\eclipse\configuration\org.eclipse.osgi\bundles\15\1\.cp\lib\remoteAnt.jar;C:\Program Files\Java\jdk1.6.0_20\lib\tools.jar;D:\mehr Programme\eclipse\plugins\org.eclipse.swt.win32.win32.x86_64_3.5.2.v3557f.jar
[...]
[ivy:resolve] parameter found as attribute value: ivy.configurations=default
[ivy:resolve] parameter found as ivy variable: ivy.resolve.default.type.filter=*
[...]
[ivy:resolve] :: resolving dependencies :: com.razorcat#generic_build_system;work...@odur
[ivy:resolve]   confs: [default]
[ivy:resolve]   validate = true
[ivy:resolve]   refresh = false
[...]
[ivy:resolve] == resolving dependencies com.razorcat#generic_build_system;work...@odur->net.sourceforge.antcontrib#ant-contrib;[1.0b2,2.0[ [default->*] [ivy:resolve] loadData of net.sourceforge.antcontrib#ant-contrib;[1.0b2,2.0[ of rootConf=default
[...]
[ivy:resolve] using default to resolve net.sourceforge.antcontrib#ant-contrib;[1.0b2,2.0[ [ivy:resolve] default: Checking cache for: dependency: net.sourceforge.antcontrib#ant-contrib;[1.0b2,2.0[ {*=[*]}
[...]
[ivy:resolve] [SUCCESSFUL ] net.sourceforge.antcontrib#ant-contrib;1.0b3!ant-contrib.jar (125ms)
[ivy:resolve] :: resolution report :: resolve 219ms :: artifacts dl 343ms
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   1   |   1   |   1   |   0   ||   3   |   3   |
        ---------------------------------------------------------------------

#-----------------
# END output of ant -d with build 57
#-----------------

#-----------------
# output of ant -d with build 106
#-----------------
Apache Ant version 1.7.1 compiled on June 27 2008
Setting ro project property: ant.file -> U:\develop\TRM-3.x-src\server\build.xml
Buildfile: U:\develop\TRM-3.x-src\server\build.xml
 +Datatype convertpom org.apache.ivy.ant.IvyConvertPom
 +Datatype install org.apache.ivy.ant.IvyInstall
 +Datatype resolve org.apache.ivy.ant.IvyResolve
 +Datatype check org.apache.ivy.ant.IvyCheck
 +Datatype artifactproperty org.apache.ivy.ant.IvyArtifactProperty
 +Datatype repreport org.apache.ivy.ant.IvyRepositoryReport
 +Datatype var org.apache.ivy.ant.IvyVar
 +Datatype cachepath org.apache.ivy.ant.IvyCachePath
Trying to override old definition of task buildnumber
 +Datatype buildnumber org.apache.ivy.ant.IvyBuildNumber
 +Datatype findrevision org.apache.ivy.ant.IvyFindRevision
 +Datatype artifactreport org.apache.ivy.ant.IvyArtifactReport
 +Datatype extract org.apache.ivy.ant.IvyExtractFromSources
 +Datatype info org.apache.ivy.ant.IvyInfo
 +Datatype addpath org.apache.ivy.ant.AddPathTask
 +Datatype makepom org.apache.ivy.ant.IvyMakePom
 +Datatype deliver org.apache.ivy.ant.IvyDeliver
 +Datatype retrieve org.apache.ivy.ant.IvyRetrieve
 +Datatype report org.apache.ivy.ant.IvyReport
 +Datatype cleancache org.apache.ivy.ant.IvyCleanCache
 +Datatype publish org.apache.ivy.ant.IvyPublish
 +Datatype cachefileset org.apache.ivy.ant.IvyCacheFileset
 +Datatype buildlist org.apache.ivy.ant.IvyBuildList
 +Datatype configure org.apache.ivy.ant.IvyConfigure
 +Datatype listmodules org.apache.ivy.ant.IvyListModules
 +Datatype settings org.apache.ivy.ant.IvyAntSettings
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile U:\develop\TRM-3.x-src\server\build.xml with URI = file:/U:/develop/TRM-3.x-src/server/build.xml
Setting ro project property: ant.project.name -> trm_server
Adding reference: trm_server
Setting ro project property: ant.file.trm_server -> U:\develop\TRM-3.x-src\server\build.xml
Project base dir set to: U:\develop\TRM-3.x-src\server
 +Target:
 +Target: clean
[...]
-init-ivy:
[echoproperties] #Ant properties
[...]
[echoproperties] ant.core.lib=D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant.jar
[...]
[echoproperties] java.class.path=D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-antlr.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-bcel.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-bsf.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-log4j.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-oro.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-regexp.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-apache-resolver.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-commons-logging.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-commons-net.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-jai.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-javamail.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-jdepend.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-jmf.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-jsch.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-junit.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-launcher.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-netrexx.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-nodeps.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-starteam.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-stylebook.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-swing.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-trax.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ant_1.7.1.v20090120-1145\\lib\\ant-weblogic.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.apache.ivy.eclipse.ant_2.2.0.20100527220137\\ivy.jar;D\:\\mehr Programme\\eclipse\\configuration\\org.eclipse.osgi\\bundles\\15\\1\\.cp\\lib\\remoteAnt.jar;C\:\\Program Files\\Java\\jdk1.6.0_20\\lib\\tools.jar;D\:\\mehr Programme\\eclipse\\plugins\\org.eclipse.swt.win32.win32.x86_64_3.5.2.v3557f.jar
[...]
[echoproperties] year=2010

/* the following is the output of the taskdef for ivy
*/
fileset: Setup scanner in dir U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\lib-ivy with patternSet{ includes: [*.jar] excludes: [] }
/* this is where things start to go wrong
*/
parsing buildfile jar:file:/D:/mehr%20Programme/eclipse/plugins
/org.apache.ivy.eclipse.ant_2.2.0.20100527220137/ivy.jar!/org/apache/ivy/ant/antlib.xml with URI = jar:file:/D:/mehr%20Programme/eclipse/plugins/org.apache.ivy.eclipse.ant_2.2.0.20100527220137/ivy.jar!/org/apache/ivy/ant/antlib.xml

Class org.apache.ivy.ant.IvyAntSettings loaded from parent loader (parentFirst) +Datatype antlib:org.apache.ivy.ant:settings org.apache.ivy.ant.IvyAntSettings
[...]
parsing buildfile jar:file:/U:/develop/TRM-3.x-src/Buildtools/generic-buildsys/lib-ivy/ivy-2.0.0.jar!/org/apache/ivy/ant/antlib.xml with URI = jar:file:/U:/develop/TRM-3.x-src/Buildtools/generic-buildsys/lib-ivy/ivy-2.0.0.jar!/org/apache/ivy/ant/antlib.xml
Setting project property: ivy.log.module.when.found -> false
parsing buildfile jar:file:/D:/mehr%20Programme/eclipse/plugins/org.apache.ivy.eclipse.ant_2.2.0.20100527220137/ivy.jar!/org/apache/ivy/ant/antlib.xml with URI = jar:file:/D:/mehr%20Programme/eclipse/plugins/org.apache.ivy.eclipse.ant_2.2.0.20100527220137/ivy.jar!/org/apache/ivy/ant/antlib.xml Class org.apache.ivy.ant.IvyAntSettings loaded from parent loader (parentFirst)
[...]

BUILD FAILED
U:\develop\TRM-3.x-src\Buildtools\generic-buildsys\build-impl.xml:117: java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
Caused by: java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException
at org.apache.ivy.plugins.resolver.SFTPResolver.<init>(SFTPResolver.java:31)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

#-----------------
# output of ant -d with build 106
#-----------------

Reply via email to