ivy

Why doesn't Google Eclipse Plugin GWT compiler recognise Ivy dependency classpathentry?

二次信任 提交于 2019-12-13 01:29:41
问题 At present, I have an ANT build which takes care of integrating Ivy dependency for both Javac and GWT compile very well. What puzzles me is, why doesn't the GPE GWT compiler recognise the eclipse classpathentry in the .classpath file? <classpathentry kind="con" path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=z.gwt.zebra&ivyXmlPath=ivy.xml&confs=*&ivySettingsPath=%24%7Bworkspace_loc%3Az.gwt.zebra%2Fivysettings.xml%7D&loadSettingsOnDemand=false&propertyFiles=%24%7Bworkspace

Exclude Ivy Dependencies in WAR File

断了今生、忘了曾经 提交于 2019-12-13 01:27:01
问题 I use Eclipse and the Ivy plugin IvyDE. I currently create a WAR file by using Eclipse's export to WAR functionality. I don't use an ANT build file - I let Eclipse handle that. When I export to war, all the dependencies in the ivy.xml file get copied to the war file's bin directory. I want to exclude one (or more) of them. How do I do that? What't the simplest way to accomplish this? If possible, I would like to avoid creating my own ANT build files and continue to use Eclipse's export tool

How can I include the Ivy dependency and none of its dependencies?

给你一囗甜甜゛ 提交于 2019-12-12 21:07:14
问题 I have spent the last few weeks in off-time trying to get Ivy going with Ant. I have it set up mostly but I've run into a road-block with depenencies. Because I was using Ant I had a /lib folder with the 32 jar files that my app used, some in-house, some proprietary (I've added both of these types to our Nexus) and some Open Source. Then I added 32 dependency lines to my Ivy.xml file. When I run, I get it trying to pull down LOTS of dependencies of those files from Nexus but I know I don't

Publish a Maven artifact to a local Ivy repository, recursively with its dependencies

心已入冬 提交于 2019-12-12 20:26:50
问题 I have to mirror a set of dependencies to my company-local Ivy repository. I currently need to publish Hibernate Spatial 4.0-M1 . From my Eclipse project, I can only resolve Ivy dependencies if I enable remote repository <ibiblio name="hibernate-spatial" m2compatible="true" root="http://www.hibernatespatial.org/repository"/> (and exclude a few dependencies from dependencies.xml ), which other developers don't have as they retrieve only from LAN. So I ended up putting the JAR into the publish

Ant Download a Jar at Build

我怕爱的太早我们不能终老 提交于 2019-12-12 19:29:33
问题 I'm trying to integrate forbiddenapis check into my project. I've defined that: <target name="forbidden-checks" depends="clean, runtime, test"> <ivy:cachepath organisation="de.thetaphi" module="forbiddenapis" revision="2.2" inline="true" pathid="classpath"/> <taskdef uri="antlib:de.thetaphi.forbiddenapis" classpathref="classpath"/> <forbiddenapis classpathref="all-lib-classpath" dir="${build.dir}" targetVersion="${javac.version}"> <bundledsignatures name="jdk-unsafe"/> <bundledsignatures name

How do I tell ivy4r to stay offline?

♀尐吖头ヾ 提交于 2019-12-12 10:03:01
问题 We recently switched from Ant to Buildr for building our projects. We use Ivy for dependency management, using the ivy4r Buildr extension. We have a local repository at the office which is used as a cache for public artifacts and in which we also publish our own artifacts. Now for the problem: I'd like to be able to build my project when I do not have access to the office repository. Buildr has a flag to tell it to work offline ( -o ), but ivy4r does not seem to take this into account. Is

Error in classpath generation from default-template ant

无人久伴 提交于 2019-12-12 04:47:21
问题 I am trying to use the default-template in my Java project to generate the launch script, based on the ivy dependencies specified in my project. The issue I am facing is that the ivy dependencies are getting picked up and put in the classpath but the main project jar is not getting included in the classpath.(Which gives a class not found exception while trying to run the script) On further investigation and comparison with other scripts I found that there is a line as. export RUNTIME

ivy jar located in my dep lib

拟墨画扇 提交于 2019-12-12 04:16:59
问题 how can I tell ant to find Ivy's jar in my own lib? ant just kept looking at it's home folder even when I've explicitly told it to find the jar somewhere else. 回答1: You can place Ivy binaries in some folder inside you project folder. For example, in my case, it's etc/build/. I put where ivy.jar and jsch.jar. After that provide the correct namespace in project defenfition and load Ivy. <project name="somename" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant"> <target name="ivy-load"> <path id

Ivy cannot download dependencies of artifact located in a local Maven repostiory

我只是一个虾纸丫 提交于 2019-12-12 04:03:36
问题 I have an artifact A installed in a local Maven repository. Artifact A has a number of dependencies - properly specified in its pom. If I set A as a dependency in a Maven project everything is ok - both A and its dependencies are correctly downloaded. This tells me that A is properly installed in the local Maven repo, and that its dependencies have been properly specified. I also have a Ant/Ivy project. I have configured ivysettings.xml in the following way (following advice taken from

filesystem resolver and transitive dependencies / master configurations

心已入冬 提交于 2019-12-12 02:27:12
问题 I have setup Ivy with a filesystem resolver as explained in this answer. I.e. placing my jars in a 'lib' directory and configuring a filesystem resolver to pick them up from there (instead of using the default ibiblio resolver). The file ivysettings.xml is as follows: <ivysettings> <caches defaultCacheDir="${ivy.settings.dir}/cache"/> <settings defaultResolver="local"/> <resolvers> <filesystem name="local"> <artifact pattern="${ivy.settings.dir}/lib/[artifact]-[revision].[ext]"/> </filesystem