ivyde

How to use Ivy + IvyDE in eclipse to put different jars in lib and web-inf/lib

£可爱£侵袭症+ 提交于 2019-12-08 01:24:37
问题 So, I'm trying to add Ivy to my project, which outputs a WAR file. Some dependencies, like RESTEasy and Jackson are available at runtime in JBoss, so I don't want those in my war/WEB-INF/lib folder. Others libraries are not available via JBoss modules, so I want to include those in my project. ** NOTE: In eclipse, I'm using the Dynamic Web Module facet. The idea is to get IvyDE to copy the desired runtime dependencies into war/WEB-INF/lib. Initially I created 2 ivy configuration files: ivy

resolving javadoc files with Ant and Ivy

北慕城南 提交于 2019-12-07 03:10:31
问题 I'd like Ivy to fetch both the log4j .jar and JavaDocs. Right now, I am at a dead end. When If I use this in my ivy.xml ... <dependency org="log4j" name="log4j" rev="1.2.16"/> ... then I just get the .jar file. But when using this ivysettings.xml ... <?xml version="1.0" encoding="UTF-8"?> <ivysettings> <settings defaultResolver="default" defaultConflictManager="all" /> <resolvers> <url name="default" m2compatible="true"> <artifact pattern="http://repo1.maven.org/maven2/[organisation]/[module]

Getting rid of org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 that cannot be casted to String

白昼怎懂夜的黑 提交于 2019-12-06 14:19:42
问题 I have just run into the Apache Ivy bug java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String (link) when performing Ant task ivy:config This morning I tried to install LibraryFolder ClasspathContainer plugin into my Eclipse (STS 3.6.1): installing it caused the above error every time I tried to perform ivy:retrieve . Even worse, I tried to install IvyDE plugin from Eclipse Marketplace and Eclipse started to crash at a

IvyDE + WTP: How to workaround that ivy library is ignored by WTP?

狂风中的少年 提交于 2019-12-06 07:24:06
问题 I have found IvyDE which allows me to solve an outstanding problem of having a frozen core version of a web application, which needs to be able to pull in extra code from an update library so it is on the classpath of the web application. For development speed I've found that the "Resolve in Workspace" facility allows Eclipse to put the folders of the update library project directly on the build path of the frozen core web application. Works well for normal Java applications. For Web

How to use Ivy + IvyDE in eclipse to put different jars in lib and web-inf/lib

假如想象 提交于 2019-12-06 07:20:27
So, I'm trying to add Ivy to my project, which outputs a WAR file. Some dependencies, like RESTEasy and Jackson are available at runtime in JBoss, so I don't want those in my war/WEB-INF/lib folder. Others libraries are not available via JBoss modules, so I want to include those in my project. ** NOTE: In eclipse, I'm using the Dynamic Web Module facet. The idea is to get IvyDE to copy the desired runtime dependencies into war/WEB-INF/lib. Initially I created 2 ivy configuration files: ivy.xml - runtime (not included in WAR) ivy_web.xml - include in war Then I used the GUI to configure the IDE

Getting a NoClassDefFoundError after installing Vaadin

牧云@^-^@ 提交于 2019-12-05 16:43:17
I want to do a project using Vaadin and am facing some issues. Here's what I did. I downloaded Eclipse and installed the Vaadin for Eclipse plugin. Then, I created a new Vaadin 7 project. It downloaded some Ivy dependencies but then, when I pressed Run, I get this error: java.lang.NoClassDefFoundError:com/vaadin/server/VaadinServlet. I searched a bit on the Internet but to no avail. One thing is that in the web-app's WEB-INF/lib folder, there are no jars. I have attached a screenshot of the error and also web.xml and ivy.xml. ivy.xml: <?xml version="1.0"?> <!DOCTYPE ivy-module [ <!ENTITY

resolving javadoc files with Ant and Ivy

坚强是说给别人听的谎言 提交于 2019-12-05 06:38:34
I'd like Ivy to fetch both the log4j .jar and JavaDocs. Right now, I am at a dead end. When If I use this in my ivy.xml ... <dependency org="log4j" name="log4j" rev="1.2.16"/> ... then I just get the .jar file. But when using this ivysettings.xml ... <?xml version="1.0" encoding="UTF-8"?> <ivysettings> <settings defaultResolver="default" defaultConflictManager="all" /> <resolvers> <url name="default" m2compatible="true"> <artifact pattern="http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/> <artifact pattern="http://repo2.maven.org/maven2/

Getting rid of org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 that cannot be casted to String

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 19:07:30
I have just run into the Apache Ivy bug java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String ( link ) when performing Ant task ivy:config This morning I tried to install LibraryFolder ClasspathContainer plugin into my Eclipse (STS 3.6.1): installing it caused the above error every time I tried to perform ivy:retrieve . Even worse, I tried to install IvyDE plugin from Eclipse Marketplace and Eclipse started to crash at a multitude of errors, including JVM crash. Uninstalling both plugins didn't fix. I tried with a new

IvyDE + WTP: How to workaround that ivy library is ignored by WTP?

人走茶凉 提交于 2019-12-04 11:49:31
I have found IvyDE which allows me to solve an outstanding problem of having a frozen core version of a web application, which needs to be able to pull in extra code from an update library so it is on the classpath of the web application. For development speed I've found that the "Resolve in Workspace" facility allows Eclipse to put the folders of the update library project directly on the build path of the frozen core web application. Works well for normal Java applications. For Web Applications, however, it seems that WTP (the Eclipse Java EE module) does not deploy the folders denoted by

How to attach sources to SBT managed dependencies in Scala IDE?

守給你的承諾、 提交于 2019-11-30 08:09:48
I'm using Scala IDE 2.0.1 and SBT 0.11.2 to start with Akka 2.0.1. My build.sbt looks like this: name := "akka" version := "0.1" scalaVersion := "2.9.2" resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/" libraryDependencies += "com.typesafe.akka" % "akka-actor" % "2.0.1" As you can see, there's nothing spectacular. Now how can I tell Eclipse to use the artifact with the sources classifier for the akka-actor library? In SBT, I can use update-classifiers to download sources and Javadocs to the Ivy repository, but even if I do this before running the eclipse