[jira] Commented: (GERONIMODEVTOOLS-649) Can't build GEP trunk on 32-bit Mac
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918934#action_12918934 ] Ted Kirby commented on GERONIMODEVTOOLS-649: I tried to build on Mac yesterday, and had issues, like you describe. I fixed it in trunk with GERONIMODEVTOOLS-674, before I found this JIRA. In 674, I upgraded to Helios SR1, and allowed for 32 and 64 bit mac versions, including a tweak to maven-eclipsepde-plugin. To build, extract and build geronimo/devtools/maven-plugins/trunk with mvn clean install. This will put version 1.2-SNAPSHOT of the maven-eclipsepde-plugin in your repo, which the subsequent build of the gep can use to build on mac with Helios SR1. > Can't build GEP trunk on 32-bit Mac > > > Key: GERONIMODEVTOOLS-649 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-649 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Reporter: Delos Dai >Assignee: Delos Dai > Fix For: 3.0_M1, 3.0 > > Attachments: maven-eclipsepde-plugin-2.0.jar > > > Need to update eclipse/build.xml to make GEP build successfully on 32-bit > Mac. Eclipse 3.6 has dropped support for Mac carbon. The script should change > to Mac cocoa. > From Donald, > Could not build on MacOSX, as the referenced file no longer exists - > file=/technology/epp/downloads/release/helios/R/eclipse-jee-helios-macosx-carbon.tar.gz > Looks like we need to use the following 32bit Mac download instead in > eclipse/build.xml - >value="eclipse-jee-helios-macosx-cocoa.tar"/> >value="eclipse-jee-helios-macosx-cocoa-x86_64.tar"/> > Also, I had to specify specific mirrors to use (like AWS) as the local > mirror didn't have the Helios files on it yet -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-649) Can't build GEP trunk on 32-bit Mac
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905551#action_12905551 ] Tim Almdal commented on GERONIMODEVTOOLS-649: - For what it's worth I'm getting this issue with a version of the source downloaded from trunk yesterday(Sept. 01, 2010): Where was I supposed to put the updated maven-eclipsepde-plugin.jar file. In the maven repository/eclipse plugin directory? [INFO] [ERROR] FATAL ERROR [INFO] [INFO] An invalid artifact was detected. This artifact might be in your project's POM, or it might have been included transitively during the resolution process. Here is the information we do have for this artifact: o GroupID: org.eclipse.plugins o ArtifactID: org.apache.geronimo.st.core o Version: <<< MISSING >>> o Type:jar [INFO] [INFO] Trace org.apache.maven.artifact.InvalidArtifactRTException: For artifact {org.eclipse.plugins:org.apache.geronimo.st.core:null:jar}: The version cannot be empty. at org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:147) at org.apache.maven.artifact.DefaultArtifact.(DefaultArtifact.java:122) at org.apache.maven.artifact.factory.DefaultArtifactFactory.createArtifact(DefaultArtifactFactory.java:158) at org.apache.maven.artifact.factory.DefaultArtifactFactory.createDependencyArtifact(DefaultArtifactFactory.java:70) at org.apache.maven.project.artifact.MavenMetadataSource.createArtifacts(MavenMetadataSource.java:439) at org.apache.maven.project.MavenProject.createArtifacts(MavenProject.java:1651) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1489) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Can't build GEP trunk on 32-bit Mac > > > Key: GERONIMODEVTOOLS-649 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-649 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Reporter: Delos Dai >Assignee: Delos Dai > Fix For: 3.0_M1, 3.0 > > Attachments: maven-eclipsepde-plugin-2.0.jar > > > Need to update eclipse/build.xml to make GEP build successfully on 32-bit > Mac. Eclipse 3.6 has dropped support for Mac carbon. The script should change > to Mac cocoa. > From Donald, > Could not build on MacOSX, as the referenced file no longer exists - > file=/technology/epp/downloads/release/helios/R/eclipse-jee-helios-macosx-carbon.tar.gz > Looks like we need to use the following 32bit Mac download instead in > eclipse/build.xml - >value="eclipse-jee-helios-macosx-cocoa.tar"/> >value="eclipse-jee-helios-macosx-cocoa-x86_64.tar"/> > Also, I had to specify specific mirrors to use (like AWS) as the local > mirror didn't have the Helios files on it yet -- This message is automatically generated by
[jira] Commented: (GERONIMODEVTOOLS-649) Can't build GEP trunk on 32-bit Mac
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12892782#action_12892782 ] Delos Dai commented on GERONIMODEVTOOLS-649: This issue may be resolved once GERONIMODEVTOOLS-658 is fixed. > Can't build GEP trunk on 32-bit Mac > > > Key: GERONIMODEVTOOLS-649 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-649 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Reporter: Delos Dai >Assignee: Delos Dai > Fix For: 3.0_M1, 3.0 > > Attachments: maven-eclipsepde-plugin-2.0.jar > > > Need to update eclipse/build.xml to make GEP build successfully on 32-bit > Mac. Eclipse 3.6 has dropped support for Mac carbon. The script should change > to Mac cocoa. > From Donald, > Could not build on MacOSX, as the referenced file no longer exists - > file=/technology/epp/downloads/release/helios/R/eclipse-jee-helios-macosx-carbon.tar.gz > Looks like we need to use the following 32bit Mac download instead in > eclipse/build.xml - >value="eclipse-jee-helios-macosx-cocoa.tar"/> >value="eclipse-jee-helios-macosx-cocoa-x86_64.tar"/> > Also, I had to specify specific mirrors to use (like AWS) as the local > mirror didn't have the Helios files on it yet -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-649) Can't build GEP trunk on 32-bit Mac
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884696#action_12884696 ] Delos Dai commented on GERONIMODEVTOOLS-649: After investigation, I'm afraid it's not easier to fix this problem,unless we release a new version of maven-eclipsepde-plugin. As Donald said, although build.xml has been updated, build script will download eclipse for Mac cocoa. But on Mac, build process still needs org.eclipse.swt.carbon.macosx plugins, which is used by Mac carbon. The reason is getSWTFragmentDependency() method in maven-eclipsepde-plugin. maven-eclipsepde-plugin will analyze required plugins listed in MANIFEST.MF and add them into maven project dependencies list. Besides the plugins in MANIFEST.MF, for native UI implementation, maven-eclipsepde-plugin will force to add a eclipse plugin specific for the UI implementation of OS. Eg. on Linux, it's org.eclipse.swt.gtk.linux_x86_3.6.0;on windows, it's org.eclipse.swt.win32.win32.x86_3.6.0;on Mac, it's org.eclipse.swt.carbon.macosx for carbon or org.eclipse.swt.cocoa.macosx for cocoa. Unfortunately, maven-eclipsepde-plugin currently only recognize org.eclipse.swt.carbon.macosx. That's why I said we have to release a new version of maven-eclipsepde-plugin. Donald, Although maven-eclipsepde-plugin is released by GEP, a new release still needs a long process. Since it's not a big problem, I think we can defer this JIRA without blocking GEP 3.0 M1 release. Anyway, I will provide an updated maven-eclipsepde-plugin in attachment. You can install it manually into your maven repo and update the version of maven-eclipsepde-plugin to 2.0 in GEP source. Have a try and let me know your result! > Can't build GEP trunk on 32-bit Mac > > > Key: GERONIMODEVTOOLS-649 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-649 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Reporter: Delos Dai >Assignee: Delos Dai > Fix For: 3.0_M1, 3.0 > > > Need to update eclipse/build.xml to make GEP build successfully on 32-bit > Mac. Eclipse 3.6 has dropped support for Mac carbon. The script should change > to Mac cocoa. > From Donald, > Could not build on MacOSX, as the referenced file no longer exists - > file=/technology/epp/downloads/release/helios/R/eclipse-jee-helios-macosx-carbon.tar.gz > Looks like we need to use the following 32bit Mac download instead in > eclipse/build.xml - >value="eclipse-jee-helios-macosx-cocoa.tar"/> >value="eclipse-jee-helios-macosx-cocoa-x86_64.tar"/> > Also, I had to specify specific mirrors to use (like AWS) as the local > mirror didn't have the Helios files on it yet -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-649) Can't build GEP trunk on 32-bit Mac
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884513#action_12884513 ] Delos Dai commented on GERONIMODEVTOOLS-649: >From Donald, Also, the build ended up failing after I patched my local eclipse/build.xml - [INFO] [INFO] Building org.apache.geronimo.st.ui [INFO]task-segment: [clean, install] [INFO] . . . [INFO] Installing /Users/drwoods/.m2/repository/eclipse/eclipse/plugins/org.eclipse.wst.server.ui_1.1.203.v20100601.jar to /Users/drwoods/.m2/repository/org/eclipse/plugins/org.eclipse.wst.server.ui/1.1.203-v20100601/org.eclipse.wst.server.ui-1.1.203-v20100601.jar [INFO] SWTFragment: Dependency {groupId=org.eclipse.plugins, artifactId=org.eclipse.swt.carbon.macosx, version=null, type=jar} [ERROR] Bundle for dependency not found: org.eclipse.swt.carbon.macosx . . . [INFO] [ERROR] FATAL ERROR [INFO] [INFO] An invalid artifact was detected. This artifact might be in your project's POM, or it might have been included transitively during the resolution process. Here is the information we do have for this artifact: o GroupID: org.eclipse.plugins o ArtifactID: org.eclipse.swt.carbon.macosx o Version: <<< MISSING >>> o Type:jar [INFO] [INFO] Trace org.apache.maven.artifact.InvalidArtifactRTException: For artifact {org.eclipse.plugins:org.eclipse.swt.carbon.macosx:null:jar}: The version cannot be empty. at org.apache.maven.artifact.DefaultArtifact.validateIdentity(DefaultArtifact.java:147) at org.apache.maven.artifact.DefaultArtifact.(DefaultArtifact.java:122) > Can't build GEP trunk on 32-bit Mac > > > Key: GERONIMODEVTOOLS-649 > URL: > https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-649 > Project: Geronimo-Devtools > Issue Type: Bug > Components: eclipse-plugin >Reporter: Delos Dai >Assignee: Delos Dai > Fix For: 3.0_M1, 3.0 > > > Need to update eclipse/build.xml to make GEP build successfully on 32-bit > Mac. > From Donald, > Could not build on MacOSX, as the referenced file no longer exists - > file=/technology/epp/downloads/release/helios/R/eclipse-jee-helios-macosx-carbon.tar.gz > Looks like we need to use the following 32bit Mac download instead in > eclipse/build.xml - >value="eclipse-jee-helios-macosx-cocoa.tar"/> >value="eclipse-jee-helios-macosx-cocoa-x86_64.tar"/> > Also, I had to specify specific mirrors to use (like AWS) as the local > mirror didn't have the Helios files on it yet -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.