Community
Participate
Working Groups
This bug affects all versions of Acceleo, on all released versions of Luna. Though standalone generations will still function as expected, all other uses will run into unspecified exceptions since some of the eclipse-specific code itself does not compile. What no longer compiles are the accesses to restricted code documented on bug 271761. There still is no open API to properly deploy (and uninstall) workspace projects in the current Eclipse instance. Acceleo needs to alter the project's classpath at deployment time so that the corresponding deployed bundle knows that its classes are located in the java output folders ("bin" by default). This cannot be done by modifying the MANIFEST.MF on disk, and there is no longer a means, even restricted, to change it transparently before deployment.
- set the standalone launch by default - add an error message on Luna and newer when the plugin launch is selected see https://git.eclipse.org/r/28098
Validated with Build 3.5.0.201406101309
(In reply to Laurent Goubet from comment #0) > This bug affects all versions of Acceleo, on all released versions of Luna. > The problem seems to be with Acceleo 3.5.0, not specific to Luna. I'm experiencing this bug affecting Acceleo 3.5.0 on Kepler and Juno as well. I follow these steps: 1. Fresh install of Luna, Kepler or Juno 2. Install Acceleo 3.5.0 3. Install UML2 Extender SDK 4. Create new Acceleo project 5. Create new UML Example model 6. Select Runner: Acceleo Plugin Application 7. Run... Results: On Luna I confirm I see the error message Yvan cites on the run configuration On Eclipse Juno, Kepler and Luna I get exactly the same 3 error/warning messages when I launch the Acceleo Plugin Application runner: - Couldn't load class org.eclipse.acceleo.module.sample.main.Generate from project org.eclipse.acceleo.module.sample - Couldn't load class org.eclipse.acceleo.module.sample.main.Generate. Check that its containing package is exported. - The activator org.eclipse.acceleo.module.sample.Activator for bundle org.eclipse.acceleo.module.sample is invalid Environment is MacOs/JDK-1.6.
(In reply to Matt Potter from comment #3) > (In reply to Laurent Goubet from comment #0) > > This bug affects all versions of Acceleo, on all released versions of Luna. > > > > The problem seems to be with Acceleo 3.5.0, not specific to Luna. I'm > experiencing this bug affecting Acceleo 3.5.0 on Kepler and Juno as well. I > follow these steps: > 1. Fresh install of Luna, Kepler or Juno > 2. Install Acceleo 3.5.0 > 3. Install UML2 Extender SDK > 4. Create new Acceleo project > 5. Create new UML Example model > 6. Select Runner: Acceleo Plugin Application > 7. Run... > > Results: > On Luna I confirm I see the error message Yvan cites on the run configuration > On Eclipse Juno, Kepler and Luna I get exactly the same 3 error/warning > messages when I launch the Acceleo Plugin Application runner: > > - Couldn't load class org.eclipse.acceleo.module.sample.main.Generate from > project org.eclipse.acceleo.module.sample > - Couldn't load class org.eclipse.acceleo.module.sample.main.Generate. Check > that its containing package is exported. > - The activator org.eclipse.acceleo.module.sample.Activator for bundle > org.eclipse.acceleo.module.sample is invalid > > Environment is MacOs/JDK-1.6. The issue that you are reporting is a different one. Your issues is known, the problem comes from the fact that we can't find the classloader of your plugin. Try to clean your project, close it and reopn it, or re-import it in Eclipse.
(In reply to Stephane Begaudeau from comment #4) > (In reply to Matt Potter from comment #3) > > (In reply to Laurent Goubet from comment #0) > > > This bug affects all versions of Acceleo, on all released versions of Luna. > > > > > > > The problem seems to be with Acceleo 3.5.0, not specific to Luna. I'm > > experiencing this bug affecting Acceleo 3.5.0 on Kepler and Juno as well. I > > follow these steps: > > 1. Fresh install of Luna, Kepler or Juno > > 2. Install Acceleo 3.5.0 > > 3. Install UML2 Extender SDK > > 4. Create new Acceleo project > > 5. Create new UML Example model > > 6. Select Runner: Acceleo Plugin Application > > 7. Run... > > > > Results: > > On Luna I confirm I see the error message Yvan cites on the run configuration > > On Eclipse Juno, Kepler and Luna I get exactly the same 3 error/warning > > messages when I launch the Acceleo Plugin Application runner: > > > > - Couldn't load class org.eclipse.acceleo.module.sample.main.Generate from > > project org.eclipse.acceleo.module.sample > > - Couldn't load class org.eclipse.acceleo.module.sample.main.Generate. Check > > that its containing package is exported. > > - The activator org.eclipse.acceleo.module.sample.Activator for bundle > > org.eclipse.acceleo.module.sample is invalid > > > > Environment is MacOs/JDK-1.6. > > The issue that you are reporting is a different one. Your issues is known, > the problem comes from the fact that we can't find the classloader of your > plugin. Try to clean your project, close it and reopn it, or re-import it in > Eclipse. Confirmed. It looks exactly like this issue. Here's what worked: Using fresh install of Kepler w/Acceleo 3.5.0 - Clean (no change) - Close all files and projects & reopen (no change) - Startup Eclipse in a fresh workspace and import projects into it (WORKED!, no errors)
(In reply to Matt Potter from comment #5) > (In reply to Stephane Begaudeau from comment #4) > > (In reply to Matt Potter from comment #3) > > > (In reply to Laurent Goubet from comment #0) > > > > This bug affects all versions of Acceleo, on all released versions of Luna. > > > > > > > > > > The problem seems to be with Acceleo 3.5.0, not specific to Luna. I'm > > > experiencing this bug affecting Acceleo 3.5.0 on Kepler and Juno as well. I > > > follow these steps: > > > 1. Fresh install of Luna, Kepler or Juno > > > 2. Install Acceleo 3.5.0 > > > 3. Install UML2 Extender SDK > > > 4. Create new Acceleo project > > > 5. Create new UML Example model > > > 6. Select Runner: Acceleo Plugin Application > > > 7. Run... > > > > > > Results: > > > On Luna I confirm I see the error message Yvan cites on the run configuration > > > On Eclipse Juno, Kepler and Luna I get exactly the same 3 error/warning > > > messages when I launch the Acceleo Plugin Application runner: > > > > > > - Couldn't load class org.eclipse.acceleo.module.sample.main.Generate from > > > project org.eclipse.acceleo.module.sample > > > - Couldn't load class org.eclipse.acceleo.module.sample.main.Generate. Check > > > that its containing package is exported. > > > - The activator org.eclipse.acceleo.module.sample.Activator for bundle > > > org.eclipse.acceleo.module.sample is invalid > > > > > > Environment is MacOs/JDK-1.6. > > > > The issue that you are reporting is a different one. Your issues is known, > > the problem comes from the fact that we can't find the classloader of your > > plugin. Try to clean your project, close it and reopn it, or re-import it in > > Eclipse. > > Confirmed. It looks exactly like this issue. Here's what worked: > Using fresh install of Kepler w/Acceleo 3.5.0 > - Clean (no change) > - Close all files and projects & reopen (no change) > - Startup Eclipse in a fresh workspace and import projects into it (WORKED!, > no errors) I failed to noticed that Acceleo 3.5.0 defaulted to 'Java Application' instead of 'Acceleo Plugin Application' when I did my experiment so my results posted above are invalid. Since you are telling me this issue is known and different from the bug here, I'll take this up in the appropriate forum/bug thread and try to find a way to use 3.5.0 under Kepler. Thanks.
Closing resolved bugs