You are not logged in.
Pages: 1
Hi,
I followed exactly steps in "Using an Ametys component in the Eclipse IDE" of
1. I exported
and do setting in Window > Preferences menu of eclipse
2.I exported , for compile web component
but when I right click on the ivy.xml file in the component's project and choose Add Ivy Library
eclipse get this error:
'IvyDE resolve' has encountered a problem.
Some projects fail to be resolved
Impossible to resolve dependencies of org.ametys.web#web#3.6.x;working@fahime-EX460-EX461
unresolved dependency: org.ametys.tools#tools;1.1.8: not found
unresolved dependency: org.ametys.plugins#explorer#2.6.x;2.6.0.20140625-0347-b1093-SNAPSHOT: not found
unresolved dependency: org.ametys.plugins#repository#2.6.x;2.6.0.20140625-0300-b1159-SNAPSHOT: not found
unresolved dependency: org.ametys.plugins#workflow#1.3.x;1.3.0: not found
Last edited by fahime (26/07/2014 07:28:36)
Offline
Your ivyrep seems to be missconfigured ; because as you can see here it should load tool 1.1.8 here :
Can you bring screenshot of your ivy configuration in Eclipse (general conf and project conf)
Raphael Franchet
Expert Ametys
Offline
I exported ivyrep from svn and my ivysettings.xml file is exactly
I exported web component from ,so my ivy.xml file is exactly
when I build web component with command:
$ ant -Divy.settings=/path/to/locally/checked-out/ivyrep/ivysettings.xml
build is successful,
then I add builded web component as a new Java project in eclipse,then right click on the ivy.xml file in the component's project and choose Add Ivy Library.in this step I get reported error.
Thank you very much,
Last edited by fahime (29/07/2014 09:55:31)
Offline
So it shows that it is an Eclipse configuration problem as I suspected before.
Can you show me with screenshots your Eclipse ivy configuration (in Window/Preference/Ivy) and in the project properties in the java classpath.
Raphael Franchet
Expert Ametys
Offline
Thanks for your reply.
I can't add my screenshots to post,img icon in toolbar just add a tag and don't show browse window
Last edited by fahime (30/07/2014 13:32:54)
Offline
Instead of using the fast reply under the post, click on the link "Answer to this post" : this will redirect to a new window where you will be able to add attachments
Raphael Franchet
Expert Ametys
Offline
Hi,
ا've attached my Eclipse screenshots to this post,
thanks in advance
Offline
Parameters seems to be correct.
Is the computer with eclipse connected to internet?
I can see you did add manually "cocoon-2.2.0" jars ; but all dependencies will be retrived by ivy. so remove all manual dependencies.
Can you give me your .classpath file please.
Raphael Franchet
Expert Ametys
Offline
I deleted old web project from Eclipse,then export in web folder (I've attached screenshots of my folders)
then I edited <property name="common-build" location="../deliver/common-build.xml"/> in build.xml file,because my deliver project and web project are in the same level.
after that I build web project with command prompt ant tool and add it as a new java project to Eclipse
my computer is connected to internet, I deleted manually "cocoon-2.2.0" jars and now I have errors like 'org.apache can not be resolved'
I've attached my screenshots and .classpath file
thanks in advance
Offline
In your classpath I can see this
<classpathentry kind="lib" path="target/ivy/jars/ametys-web-resources.jar"/>
<classpathentry kind="lib" path="target/ivy/jars/ametys-web.jar"/>
<classpathentry kind="lib" path="target/ivy/javadocs/ametys-web.jar"/>
<classpathentry kind="lib" path="target/ivy/sources/ametys-web.jar"/>
1) do not manually add any lib
2) your ivyrep is configured in your project "target" dir ?! It should be located to Home>Documents>Ametys>ivyrep>ivysettings.xml
Raphael Franchet
Expert Ametys
Offline
Pages: 1