Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361438

Summary: [catalog] AspectJ configurator
Product: z_Archived Reporter: Andrew Eisenberg <andrew.eisenberg>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: igor, matthew
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Andrew Eisenberg CLA 2011-10-19 13:06:25 EDT
Since it doesn't look like the m2e team will be putting out an AJDT configurator for m2e, here is the one that I put out.  I am not sure what should go where the ??? are, so please help me fill in with something reasonable.

    <catalogItem>
      <categoryId>???</categoryId>
      <description>AspectJ m2e configurator</description>
      <groupId>???</groupId>
      <id>org.maven.ide.eclipse.ajdt</id>
      <kind>???</kind>
      <license>EPL</license>
      <name>AspectJ</name>
      <provider>SpringSource</provider>
      <p2>
      
<repositoryUrl>http://dist.springsource.org/release/AJDT/configurator/</repositoryUrl>
        <iuId>org.maven.ide.eclipse.ajdt.feature.group</iuId>
        <lifecycleMappingIU>
          <iuId>org.maven.ide.eclipse.ajdt</iuId>
        </lifecycleMappingIU>
      </p2>
      <overview>
        <summary>Maven Integration for AspectJ Development Tools</summary>
      
<url>http://eclipse.org/ajdt</url>
      </overview>
    </catalogItem>
Comment 1 Igor Fedorenko CLA 2011-11-15 18:20:30 EST
Oops, forgot about this one, sorry.

I am not able to install AspectJ m2e from provided update site on fresh/clean m2e installation (see error message below). The idea is to enable Maven import project wizard to automatically find and install all additional software required to work on the project. It should be enough to reference AJDT update site as associateSite as I believe is explained here http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/update_sitemap.html (help seems to be down atm, so apologies if the url is stale).


Cannot complete the install because one or more required items could not be found.
  Software being installed: Maven Integration for AJDT (Optional) 0.13.0.201107281640 (org.maven.ide.eclipse.ajdt.feature.feature.group 0.13.0.201107281640)
  Missing requirement: Maven Integration for AJDT (Optional) 0.13.0.201107281640 (org.maven.ide.eclipse.ajdt.feature.feature.group 0.13.0.201107281640) requires 'org.eclipse.ajdt.feature.group 1.5.0' but it could not be found
Comment 2 Andrew Eisenberg CLA 2011-11-16 14:44:01 EST
The link that you provided is currently hanging.  Also, this page does not seem to be available on more recent versions of the Eclipse documentation for Galileo, Helios, and Indigo.  Is there anywhere else I could find this information?

And besides, it looks like you are talking about associateSites, which is now deprecated since p2 has come out.  I am trying to augment the content.xml of the update site.  I think I need to do something like this to add the extra update sites, but this is not yet working:


  <references size="2">
    <repository uri="http://download.eclipse.org/tools/ajdt/37/update" url="http://download.eclipse.org/tools/ajdt/37/update" type="1" options="0"/>
    <repository uri="http://download.eclipse.org/tools/ajdt/37/update" url="http://download.eclipse.org/tools/ajdt/37/update" type="1" options="1"/>
  </references>

Does this look right to you?  Any ideas?
Comment 4 Matthew Piggott CLA 2011-11-16 14:50:06 EST
My bad, that link isn't quite what I thought it was ;)
Comment 5 Andrew Eisenberg CLA 2011-11-16 14:51:25 EST
Thanks for the link.  I saw it too, but it didn't really help.
Comment 6 Igor Fedorenko CLA 2011-11-16 15:27:01 EST
(In reply to comment #2)
> The link that you provided is currently hanging.  Also, this page does not seem
> to be available on more recent versions of the Eclipse documentation for
> Galileo, Helios, and Indigo.  Is there anywhere else I could find this
> information?
> 
> And besides, it looks like you are talking about associateSites, which is now
> deprecated since p2 has come out.  I am trying to augment the content.xml of
> the update site.  I think I need to do something like this to add the extra
> update sites, but this is not yet working:
> 
> 
>   <references size="2">
>     <repository uri="http://download.eclipse.org/tools/ajdt/37/update"
> url="http://download.eclipse.org/tools/ajdt/37/update" type="1" options="0"/>
>     <repository uri="http://download.eclipse.org/tools/ajdt/37/update"
> url="http://download.eclipse.org/tools/ajdt/37/update" type="1" options="1"/>
>   </references>
> 
> Does this look right to you?  Any ideas?

yes, right, something like this. associateSites just a way to get tycho generate this during the build (assuming you use tycho to build m2e.ajdt of course).
Comment 7 Andrew Eisenberg CLA 2011-11-17 14:43:56 EST
I decided to go with a composite update site.  It is more predictable than the associate sites, and I don't need to rebuild the update site.

Here is the composite site url.  Please use this url instead of the other one.  It should work on e36 and e37.

http://dist.springsource.org/release/AJDT/composite
Comment 8 Igor Fedorenko CLA 2011-11-21 21:05:27 EST
added to m2e discovery catalog
Comment 9 Denis Roy CLA 2021-04-19 13:24:06 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/