On 23.03.20 18:50, JCR wrote:
On 23.03.2020 16:24, Robert Munteanu wrote:
Hello Juerg,
On Mon, 2020-03-23 at 16:16 +0100, JCR wrote:
Hello
I installed the Sling IDE Tools V. 1.2.2 on Eclipse build 2019-03.
Trying to create a new bundle, I did --> File--> New --> Other -->
Sling --> Sling Bundle Project
In the wizard, I press Next> and the next page comes up with message
"No suitable archetypes found. Please make sure
that the proper maven repositories are configured and indexes are up
to date." The respective Archetype dropdown in the
wizard is empty.
Do you have any custom settings in $HOME/.m2/settings.xml?
Do you have anything that stands out in the Eclipse Error Log view?
Thanks,
Robert
Hi Robert
No, no error log entries present and I cannot find a $HOME/.m2
directory at all. What is $HOME referfing to? Workspace root? There
are settings.xml only in the file vaults.
Perhaps additional info: both, the Sling11 and the Eclipse
installation run on Ubuntu V18.04. May be an installation issue?
Thanks,
Juerg
Hi Robert
I found something suspicious when starting up Eclipse (before I checked
errors from the wizard only):
!ENTRY org.eclipse.equinox.p2.metadata.repository 4 1000 2020-03-23
19:33:09.453
!MESSAGE No repository found at
jar:file:/home/juerg/Downloads/sling-maven-plugin-2.4.2.jar!/.
!ENTRY org.eclipse.equinox.p2.repository 2 0 2020-03-23 19:34:00.220
!MESSAGE Server returned lastModified <= 0 for
http://pirbot.com/mirrors/apache/sling/eclipse/1.2.2/content.jar
!ENTRY org.eclipse.equinox.p2.metadata.repository 4 1002 2020-03-23
19:34:01.859
!MESSAGE Unable to read repository at
http://pirbot.com/mirrors/apache/sling/eclipse/1.2.2/.
!STACK 0
java.io.IOException:
http://pirbot.com/mirrors/apache/sling/eclipse/1.2.2/ is not a valid
repository location.
at
org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:103)
at
org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:63)
at
org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:770)
at jdk.internal.reflect.GeneratedMethodAccessor42.invoke(Unknown
Source)
Well, the sling-maven-plugin-2.4.2 is actually at that location
(downloads-dir) but Eclipse does not seem to be happy with it.
-Juerg