Catalogs?

View: New views
11 Messages — Rating Filter:   Alert me  

Catalogs?

by kbarlow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hiyas,

I added a new remote catalog to the list of catalogs in eclipse and now when I try to create a new module based on an archetype in that catalog, I get the following error:

eclipse.buildId=I20090611-1540
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product com.springsource.sts.ide
Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide -data c:\EclipseApps\springsource\sts-2.1.0.SR01\tutorial-workspace


Error
Mon Oct 05 16:51:10 EDT 2009
Unable to create project from archetype [org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse -> null]

org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype does not exist (org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse)
        at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
        at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
        at org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
        at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:457)
        at org.maven.ide.eclipse.wizards.MavenModuleWizard$5.runInWorkspace(MavenModuleWizard.java:253)
        at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


According to the documentation, maven should be sourcing the repository that hosts the archetype-catalog.xml file for the archetypes...

I do have m2eclipse configured to use my local maven install and I have tried to run this from the command line and get similar errors.

Is this a bug with maven or did I do something wrong?

Thanks.

Keith

Re: Catalogs?

by Igor Fedorenko-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What m2e version is this? This is expected to work in latest 0.9.9 dev
build, so please open new bugreport in m2e jira [1] and provide steps to
reproduce the problem.

--
Regards,
Igor

[1] https://issues.sonatype.org/browse/MNGECLIPSE


kbarlow wrote:

> Hiyas,
>
> I added a new remote catalog to the list of catalogs in eclipse and now when
> I try to create a new module based on an archetype in that catalog, I get
> the following error:
>
> eclipse.buildId=I20090611-1540
> java.version=1.6.0_15
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments:  -product com.springsource.sts.ide
> Command-line arguments:  -os win32 -ws win32 -arch x86 -product
> com.springsource.sts.ide -data
> c:\EclipseApps\springsource\sts-2.1.0.SR01\tutorial-workspace
>
>
> Error
> Mon Oct 05 16:51:10 EDT 2009
> Unable to create project from archetype
> [org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse
> -> null]
>
> org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype
> does not exist
> (org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse)
> at
> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
> at
> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
> at
> org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
> at
> org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:457)
> at
> org.maven.ide.eclipse.wizards.MavenModuleWizard$5.runInWorkspace(MavenModuleWizard.java:253)
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
> According to the documentation, maven should be sourcing the repository that
> hosts the archetype-catalog.xml file for the archetypes...
>
> I do have m2eclipse configured to use my local maven install and I have
> tried to run this from the command line and get similar errors.
>
> Is this a bug with maven or did I do something wrong?
>
> Thanks.
>
> Keith


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Catalogs?

by kbarlow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


kbarlow wrote:
Hiyas,

I added a new remote catalog to the list of catalogs in eclipse and now when I try to create a new module based on an archetype in that catalog, I get the following error:

eclipse.buildId=I20090611-1540
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product com.springsource.sts.ide
Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide -data c:\EclipseApps\springsource\sts-2.1.0.SR01\tutorial-workspace


Error
Mon Oct 05 16:51:10 EDT 2009
Unable to create project from archetype [org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse -> null]

org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype does not exist (org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse)
        at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
        at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
        at org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
        at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:457)
        at org.maven.ide.eclipse.wizards.MavenModuleWizard$5.runInWorkspace(MavenModuleWizard.java:253)
        at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


According to the documentation, maven should be sourcing the repository that hosts the archetype-catalog.xml file for the archetypes...

I do have m2eclipse configured to use my local maven install and I have tried to run this from the command line and get similar errors.

Is this a bug with maven or did I do something wrong?

Thanks.

Keith

Re: Catalogs?

by kbarlow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oops...

Perhaps I did something wrong... it works from the command line if I am make sure the artifactRepository is specified.  I am not sure about m2eclipse though.  That still doesn't seem to work.  Perhaps because the artifactRepository is not being declared?

Keith


kbarlow wrote:
Hiyas,

I added a new remote catalog to the list of catalogs in eclipse and now when I try to create a new module based on an archetype in that catalog, I get the following error:

eclipse.buildId=I20090611-1540
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product com.springsource.sts.ide
Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide -data c:\EclipseApps\springsource\sts-2.1.0.SR01\tutorial-workspace


Error
Mon Oct 05 16:51:10 EDT 2009
Unable to create project from archetype [org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse -> null]

org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype does not exist (org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse)
        at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
        at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
        at org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
        at org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:457)
        at org.maven.ide.eclipse.wizards.MavenModuleWizard$5.runInWorkspace(MavenModuleWizard.java:253)
        at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


According to the documentation, maven should be sourcing the repository that hosts the archetype-catalog.xml file for the archetypes...

I do have m2eclipse configured to use my local maven install and I have tried to run this from the command line and get similar errors.

Is this a bug with maven or did I do something wrong?

Thanks.

Keith

Re: Catalogs?

by kbarlow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was using the 0.9.8 build.  I just updated to the 0.9.9 build and it did not resolve the problem. (I also checked with both the external and embedded maven instances - same result.)

I will file a bug report.  I am thinking it might be a problem with the archetype plugin as I seem to get the same problem when using maven from the command line.  Until I made sure to explicitly stated both the archetypeCatalog and archetypeRepository parameters, it did not work. (Even though the docs seem to suggest only the catalog parameter should be necessary.  The documentation for a catalog file says:

The repository where to find the archetype. OPTIONAL . When ommitted, the archetype is searched for in the repository where the catalog comes from.

which to me would imply that referencing that catalog should also indicate which repository to use.)

Something else to note too... when I upgraded to 0.9.9, I also started getting null pointer errors during the index update which, after switching between the embedded and external maven instances a few times, ultimately led to java heap space problems and a catastrophic workbench crash...

Keith


Igor Fedorenko-4 wrote:
What m2e version is this? This is expected to work in latest 0.9.9 dev
build, so please open new bugreport in m2e jira [1] and provide steps to
reproduce the problem.

--
Regards,
Igor

[1] https://issues.sonatype.org/browse/MNGECLIPSE


kbarlow wrote:
> Hiyas,
>
> I added a new remote catalog to the list of catalogs in eclipse and now when
> I try to create a new module based on an archetype in that catalog, I get
> the following error:
>
> eclipse.buildId=I20090611-1540
> java.version=1.6.0_15
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments:  -product com.springsource.sts.ide
> Command-line arguments:  -os win32 -ws win32 -arch x86 -product
> com.springsource.sts.ide -data
> c:\EclipseApps\springsource\sts-2.1.0.SR01\tutorial-workspace
>
>
> Error
> Mon Oct 05 16:51:10 EDT 2009
> Unable to create project from archetype
> [org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse
> -> null]
>
> org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype
> does not exist
> (org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse)
> at
> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
> at
> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
> at
> org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
> at
> org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:457)
> at
> org.maven.ide.eclipse.wizards.MavenModuleWizard$5.runInWorkspace(MavenModuleWizard.java:253)
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
> According to the documentation, maven should be sourcing the repository that
> hosts the archetype-catalog.xml file for the archetypes...
>
> I do have m2eclipse configured to use my local maven install and I have
> tried to run this from the command line and get similar errors.
>
> Is this a bug with maven or did I do something wrong?
>
> Thanks.
>
> Keith


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Re: Catalogs?

by kbarlow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Igor,

Since trying to install the 0.9.9 build this morning I have been getting out of memory errors from Maven when it tries to build the indexes.  This happens even in workspaces where there is only a single root project (pom type) and no modules.

I have done everything I can think of and cannot resolve the issue:

1.) Reinstalled my IDE to a clean folder
2.) Started a new workspace and rechecked out my projects.
3.) Set my MAVEN_OPTS environment variable to -Xmx512m and even as high as -Xmx768m
4.) Updated to maven 2.2.1 (with the MAVEN_OPTS set as stated)

Nothing seems to work.  How can I get maven back to running the way it was?

Thanks.

Keith


I was using the 0.9.8 build.  I just updated to the 0.9.9 build and it did not resolve the problem. (I also checked with both the external and embedded maven instances - same result.)

I will file a bug report.  I am thinking it might be a problem with the archetype plugin as I seem to get the same problem when using maven from the command line.  Until I made sure to explicitly stated both the archetypeCatalog and archetypeRepository parameters, it did not work. (Even though the docs seem to suggest only the catalog parameter should be necessary.  The documentation for a catalog file says:

The repository where to find the archetype. OPTIONAL . When ommitted, the archetype is searched for in the repository where the catalog comes from.

which to me would imply that referencing that catalog should also indicate which repository to use.)

Something else to note too... when I upgraded to 0.9.9, I also started getting null pointer errors during the index update which, after switching between the embedded and external maven instances a few times, ultimately led to java heap space problems and a catastrophic workbench crash...

Keith


Igor Fedorenko-4 wrote:
What m2e version is this? This is expected to work in latest 0.9.9 dev
build, so please open new bugreport in m2e jira [1] and provide steps to
reproduce the problem.

--
Regards,
Igor

[1] https://issues.sonatype.org/browse/MNGECLIPSE


kbarlow wrote:
> Hiyas,
>
> I added a new remote catalog to the list of catalogs in eclipse and now when
> I try to create a new module based on an archetype in that catalog, I get
> the following error:
>
> eclipse.buildId=I20090611-1540
> java.version=1.6.0_15
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments:  -product com.springsource.sts.ide
> Command-line arguments:  -os win32 -ws win32 -arch x86 -product
> com.springsource.sts.ide -data
> c:\EclipseApps\springsource\sts-2.1.0.SR01\tutorial-workspace
>
>
> Error
> Mon Oct 05 16:51:10 EDT 2009
> Unable to create project from archetype
> [org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse
> -> null]
>
> org.apache.maven.archetype.exception.UnknownArchetype: The desired archetype
> does not exist
> (org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse)
> at
> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
> at
> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
> at
> org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
> at
> org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:457)
> at
> org.maven.ide.eclipse.wizards.MavenModuleWizard$5.runInWorkspace(MavenModuleWizard.java:253)
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
> According to the documentation, maven should be sourcing the repository that
> hosts the archetype-catalog.xml file for the archetypes...
>
> I do have m2eclipse configured to use my local maven install and I have
> tried to run this from the command line and get similar errors.
>
> Is this a bug with maven or did I do something wrong?
>
> Thanks.
>
> Keith


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Catalogs?

by Igor Fedorenko-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can increase Eclipse heap size in eclipse.ini file found in the root
of eclipse installation. I am not aware of significant changes in 0.9.9
memory footprint compared to 0.9.8, so I'd be interested to see hprof or
even better yourkit [2] memory dump of eclipse JVM when it ran out of
memory.

If you can't get 0.9.9 working, you can always always reinstall 0.9.8
from regular update site [1].

[1] http://m2eclipse.sonatype.org/update/
[2] http://www.yourkit.com/

--
Regards,
Igor

kbarlow wrote:

> Igor,
>
> Since trying to install the 0.9.9 build this morning I have been getting out
> of memory errors from Maven when it tries to build the indexes.  This
> happens even in workspaces where there is only a single root project (pom
> type) and no modules.
>
> I have done everything I can think of and cannot resolve the issue:
>
> 1.) Reinstalled my IDE to a clean folder
> 2.) Started a new workspace and rechecked out my projects.
> 3.) Set my MAVEN_OPTS environment variable to -Xmx512m and even as high as
> -Xmx768m
> 4.) Updated to maven 2.2.1 (with the MAVEN_OPTS set as stated)
>
> Nothing seems to work.  How can I get maven back to running the way it was?
>
> Thanks.
>
> Keith
>
>
> kbarlow wrote:
>> I was using the 0.9.8 build.  I just updated to the 0.9.9 build and it did
>> not resolve the problem. (I also checked with both the external and
>> embedded maven instances - same result.)
>>
>> I will file a bug report.  I am thinking it might be a problem with the
>> archetype plugin as I seem to get the same problem when using maven from
>> the command line.  Until I made sure to explicitly stated both the
>> archetypeCatalog and archetypeRepository parameters, it did not work.
>> (Even though the docs seem to suggest only the catalog parameter should be
>> necessary.  The documentation for a catalog file says:
>>
>> The repository where to find the archetype. OPTIONAL . When ommitted, the
>> archetype is searched for in the repository where the catalog comes from.
>>
>> which to me would imply that referencing that catalog should also indicate
>> which repository to use.)
>>
>> Something else to note too... when I upgraded to 0.9.9, I also started
>> getting null pointer errors during the index update which, after switching
>> between the embedded and external maven instances a few times, ultimately
>> led to java heap space problems and a catastrophic workbench crash...
>>
>> Keith
>>
>>
>>
>> Igor Fedorenko-4 wrote:
>>> What m2e version is this? This is expected to work in latest 0.9.9 dev
>>> build, so please open new bugreport in m2e jira [1] and provide steps to
>>> reproduce the problem.
>>>
>>> --
>>> Regards,
>>> Igor
>>>
>>> [1] https://issues.sonatype.org/browse/MNGECLIPSE
>>>
>>>
>>> kbarlow wrote:
>>>> Hiyas,
>>>>
>>>> I added a new remote catalog to the list of catalogs in eclipse and now
>>>> when
>>>> I try to create a new module based on an archetype in that catalog, I
>>>> get
>>>> the following error:
>>>>
>>>> eclipse.buildId=I20090611-1540
>>>> java.version=1.6.0_15
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>>>> Framework arguments:  -product com.springsource.sts.ide
>>>> Command-line arguments:  -os win32 -ws win32 -arch x86 -product
>>>> com.springsource.sts.ide -data
>>>> c:\EclipseApps\springsource\sts-2.1.0.SR01\tutorial-workspace
>>>>
>>>>
>>>> Error
>>>> Mon Oct 05 16:51:10 EDT 2009
>>>> Unable to create project from archetype
>>>> [org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse
>>>> -> null]
>>>>
>>>> org.apache.maven.archetype.exception.UnknownArchetype: The desired
>>>> archetype
>>>> does not exist
>>>> (org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse)
>>>> at
>>>> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
>>>> at
>>>> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
>>>> at
>>>> org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
>>>> at
>>>> org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:457)
>>>> at
>>>> org.maven.ide.eclipse.wizards.MavenModuleWizard$5.runInWorkspace(MavenModuleWizard.java:253)
>>>> at
>>>> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>
>>>>
>>>> According to the documentation, maven should be sourcing the repository
>>>> that
>>>> hosts the archetype-catalog.xml file for the archetypes...
>>>>
>>>> I do have m2eclipse configured to use my local maven install and I have
>>>> tried to run this from the command line and get similar errors.
>>>>
>>>> Is this a bug with maven or did I do something wrong?
>>>>
>>>> Thanks.
>>>>
>>>> Keith
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>>
>>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Catalogs?

by kbarlow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Igor,

I have to figure out how to get you the yourkit profile... I have never used that before but here is the eclipse .log file.  Maybe this will shed some light on the situation.  I actually already have 0.9.8 installed in this version so I am truely baffled as to what is going on here.

I should probably clarify that I am using the SpringSource Tool Suite 2.1.0 SR01 which is based on Eclipse 3.5.  (What really aggravates me is that I have been using this setup for a few months now without a problem - the STS even ships with M2E installed - and only since yesterday has this problem emerged.)

Hopefully this log might shed some light on the problem.  The JUNIT_SRC_HOME variable mentioned is a null variable but it also an unmodifiable one that was preconfigured in the IDE.

The STS also appears to have increased memory settings already... I do not believe more than 768m should be required especially since the workspace only contains a single empty project.  I think the stack trace is showing another problem but I am not sure what it means:

-vm
C:/Program Files/Java/jdk1.6.0_15/bin/javaw.exe
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
com.springsource.sts.ide
--launcher.XXMaxPermSize
256m
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx768m

Thanks for your help.

Keith

eclipse.log

Igor Fedorenko-4 wrote:
You can increase Eclipse heap size in eclipse.ini file found in the root
of eclipse installation. I am not aware of significant changes in 0.9.9
memory footprint compared to 0.9.8, so I'd be interested to see hprof or
even better yourkit [2] memory dump of eclipse JVM when it ran out of
memory.

If you can't get 0.9.9 working, you can always always reinstall 0.9.8
from regular update site [1].

[1] http://m2eclipse.sonatype.org/update/
[2] http://www.yourkit.com/

--
Regards,
Igor

kbarlow wrote:
> Igor,
>
> Since trying to install the 0.9.9 build this morning I have been getting out
> of memory errors from Maven when it tries to build the indexes.  This
> happens even in workspaces where there is only a single root project (pom
> type) and no modules.
>
> I have done everything I can think of and cannot resolve the issue:
>
> 1.) Reinstalled my IDE to a clean folder
> 2.) Started a new workspace and rechecked out my projects.
> 3.) Set my MAVEN_OPTS environment variable to -Xmx512m and even as high as
> -Xmx768m
> 4.) Updated to maven 2.2.1 (with the MAVEN_OPTS set as stated)
>
> Nothing seems to work.  How can I get maven back to running the way it was?
>
> Thanks.
>
> Keith
>
>
> kbarlow wrote:
>> I was using the 0.9.8 build.  I just updated to the 0.9.9 build and it did
>> not resolve the problem. (I also checked with both the external and
>> embedded maven instances - same result.)
>>
>> I will file a bug report.  I am thinking it might be a problem with the
>> archetype plugin as I seem to get the same problem when using maven from
>> the command line.  Until I made sure to explicitly stated both the
>> archetypeCatalog and archetypeRepository parameters, it did not work.
>> (Even though the docs seem to suggest only the catalog parameter should be
>> necessary.  The documentation for a catalog file says:
>>
>> The repository where to find the archetype. OPTIONAL . When ommitted, the
>> archetype is searched for in the repository where the catalog comes from.
>>
>> which to me would imply that referencing that catalog should also indicate
>> which repository to use.)
>>
>> Something else to note too... when I upgraded to 0.9.9, I also started
>> getting null pointer errors during the index update which, after switching
>> between the embedded and external maven instances a few times, ultimately
>> led to java heap space problems and a catastrophic workbench crash...
>>
>> Keith
>>
>>
>>
>> Igor Fedorenko-4 wrote:
>>> What m2e version is this? This is expected to work in latest 0.9.9 dev
>>> build, so please open new bugreport in m2e jira [1] and provide steps to
>>> reproduce the problem.
>>>
>>> --
>>> Regards,
>>> Igor
>>>
>>> [1] https://issues.sonatype.org/browse/MNGECLIPSE
>>>
>>>
>>> kbarlow wrote:
>>>> Hiyas,
>>>>
>>>> I added a new remote catalog to the list of catalogs in eclipse and now
>>>> when
>>>> I try to create a new module based on an archetype in that catalog, I
>>>> get
>>>> the following error:
>>>>
>>>> eclipse.buildId=I20090611-1540
>>>> java.version=1.6.0_15
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>>>> Framework arguments:  -product com.springsource.sts.ide
>>>> Command-line arguments:  -os win32 -ws win32 -arch x86 -product
>>>> com.springsource.sts.ide -data
>>>> c:\EclipseApps\springsource\sts-2.1.0.SR01\tutorial-workspace
>>>>
>>>>
>>>> Error
>>>> Mon Oct 05 16:51:10 EDT 2009
>>>> Unable to create project from archetype
>>>> [org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse
>>>> -> null]
>>>>
>>>> org.apache.maven.archetype.exception.UnknownArchetype: The desired
>>>> archetype
>>>> does not exist
>>>> (org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse)
>>>> at
>>>> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
>>>> at
>>>> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
>>>> at
>>>> org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
>>>> at
>>>> org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:457)
>>>> at
>>>> org.maven.ide.eclipse.wizards.MavenModuleWizard$5.runInWorkspace(MavenModuleWizard.java:253)
>>>> at
>>>> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>
>>>>
>>>> According to the documentation, maven should be sourcing the repository
>>>> that
>>>> hosts the archetype-catalog.xml file for the archetypes...
>>>>
>>>> I do have m2eclipse configured to use my local maven install and I have
>>>> tried to run this from the command line and get similar errors.
>>>>
>>>> Is this a bug with maven or did I do something wrong?
>>>>
>>>> Thanks.
>>>>
>>>> Keith
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>>
>>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Re: Catalogs?

by kbarlow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok... for arguments sake I bumped the memory to 1024m and the problem seems to be resolved...  All I can say is wow...  

Thanks again.

Keith


Igor,

I have to figure out how to get you the yourkit profile... I have never used that before but here is the eclipse .log file.  Maybe this will shed some light on the situation.  I actually already have 0.9.8 installed in this version so I am truely baffled as to what is going on here.

I should probably clarify that I am using the SpringSource Tool Suite 2.1.0 SR01 which is based on Eclipse 3.5.  (What really aggravates me is that I have been using this setup for a few months now without a problem - the STS even ships with M2E installed - and only since yesterday has this problem emerged.)

Hopefully this log might shed some light on the problem.  The JUNIT_SRC_HOME variable mentioned is a null variable but it also an unmodifiable one that was preconfigured in the IDE.

The STS also appears to have increased memory settings already... I do not believe more than 768m should be required especially since the workspace only contains a single empty project.  I think the stack trace is showing another problem but I am not sure what it means:

-vm
C:/Program Files/Java/jdk1.6.0_15/bin/javaw.exe
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
com.springsource.sts.ide
--launcher.XXMaxPermSize
256m
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx768m

Thanks for your help.

Keith

eclipse.log

Igor Fedorenko-4 wrote:
You can increase Eclipse heap size in eclipse.ini file found in the root
of eclipse installation. I am not aware of significant changes in 0.9.9
memory footprint compared to 0.9.8, so I'd be interested to see hprof or
even better yourkit [2] memory dump of eclipse JVM when it ran out of
memory.

If you can't get 0.9.9 working, you can always always reinstall 0.9.8
from regular update site [1].

[1] http://m2eclipse.sonatype.org/update/
[2] http://www.yourkit.com/

--
Regards,
Igor

kbarlow wrote:
> Igor,
>
> Since trying to install the 0.9.9 build this morning I have been getting out
> of memory errors from Maven when it tries to build the indexes.  This
> happens even in workspaces where there is only a single root project (pom
> type) and no modules.
>
> I have done everything I can think of and cannot resolve the issue:
>
> 1.) Reinstalled my IDE to a clean folder
> 2.) Started a new workspace and rechecked out my projects.
> 3.) Set my MAVEN_OPTS environment variable to -Xmx512m and even as high as
> -Xmx768m
> 4.) Updated to maven 2.2.1 (with the MAVEN_OPTS set as stated)
>
> Nothing seems to work.  How can I get maven back to running the way it was?
>
> Thanks.
>
> Keith
>
>
> kbarlow wrote:
>> I was using the 0.9.8 build.  I just updated to the 0.9.9 build and it did
>> not resolve the problem. (I also checked with both the external and
>> embedded maven instances - same result.)
>>
>> I will file a bug report.  I am thinking it might be a problem with the
>> archetype plugin as I seem to get the same problem when using maven from
>> the command line.  Until I made sure to explicitly stated both the
>> archetypeCatalog and archetypeRepository parameters, it did not work.
>> (Even though the docs seem to suggest only the catalog parameter should be
>> necessary.  The documentation for a catalog file says:
>>
>> The repository where to find the archetype. OPTIONAL . When ommitted, the
>> archetype is searched for in the repository where the catalog comes from.
>>
>> which to me would imply that referencing that catalog should also indicate
>> which repository to use.)
>>
>> Something else to note too... when I upgraded to 0.9.9, I also started
>> getting null pointer errors during the index update which, after switching
>> between the embedded and external maven instances a few times, ultimately
>> led to java heap space problems and a catastrophic workbench crash...
>>
>> Keith
>>
>>
>>
>> Igor Fedorenko-4 wrote:
>>> What m2e version is this? This is expected to work in latest 0.9.9 dev
>>> build, so please open new bugreport in m2e jira [1] and provide steps to
>>> reproduce the problem.
>>>
>>> --
>>> Regards,
>>> Igor
>>>
>>> [1] https://issues.sonatype.org/browse/MNGECLIPSE
>>>
>>>
>>> kbarlow wrote:
>>>> Hiyas,
>>>>
>>>> I added a new remote catalog to the list of catalogs in eclipse and now
>>>> when
>>>> I try to create a new module based on an archetype in that catalog, I
>>>> get
>>>> the following error:
>>>>
>>>> eclipse.buildId=I20090611-1540
>>>> java.version=1.6.0_15
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>>>> Framework arguments:  -product com.springsource.sts.ide
>>>> Command-line arguments:  -os win32 -ws win32 -arch x86 -product
>>>> com.springsource.sts.ide -data
>>>> c:\EclipseApps\springsource\sts-2.1.0.SR01\tutorial-workspace
>>>>
>>>>
>>>> Error
>>>> Mon Oct 05 16:51:10 EDT 2009
>>>> Unable to create project from archetype
>>>> [org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse
>>>> -> null]
>>>>
>>>> org.apache.maven.archetype.exception.UnknownArchetype: The desired
>>>> archetype
>>>> does not exist
>>>> (org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse)
>>>> at
>>>> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
>>>> at
>>>> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
>>>> at
>>>> org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
>>>> at
>>>> org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:457)
>>>> at
>>>> org.maven.ide.eclipse.wizards.MavenModuleWizard$5.runInWorkspace(MavenModuleWizard.java:253)
>>>> at
>>>> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>
>>>>
>>>> According to the documentation, maven should be sourcing the repository
>>>> that
>>>> hosts the archetype-catalog.xml file for the archetypes...
>>>>
>>>> I do have m2eclipse configured to use my local maven install and I have
>>>> tried to run this from the command line and get similar errors.
>>>>
>>>> Is this a bug with maven or did I do something wrong?
>>>>
>>>> Thanks.
>>>>
>>>> Keith
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>>
>>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Catalogs?

by kbarlow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I spoke too soon...

All this adjustment did was give it more running room which ended up utilizing all resources on my machine.

However,  I think I have a better indication as to the problem:

As indicated earlier, I am using STS which is based on eclipse but has many of its own customizations.  For whatever reason, the STS update site appears to be down this week (and the project owner is at SpringOne). After reinstalling the IDE I had to reinstall Subclipse which I think, since the update site is down, caused the update system to resolve dependencies from the Eclipse Galileo site instead of the Spring STS update site.  (My splash screen changed from the STS slashscreen to the Eclipse splash screen and I have no idea what else changed.)  I think this intermixing of components is what is causing the problem.  I was able to successfully get the new install of STS up and running untill I had installed subclipse which caused whatever dependencies to be resolved via the eclipse site...  after that, everything started crashing again.  I will just switch to Eclipse until STS comes back online.

Thanks for you help.

Keith


Ok... for arguments sake I bumped the memory to 1024m and the problem seems to be resolved...  All I can say is wow...  

Thanks again.

Keith

kbarlow wrote:
Igor,

I have to figure out how to get you the yourkit profile... I have never used that before but here is the eclipse .log file.  Maybe this will shed some light on the situation.  I actually already have 0.9.8 installed in this version so I am truely baffled as to what is going on here.

I should probably clarify that I am using the SpringSource Tool Suite 2.1.0 SR01 which is based on Eclipse 3.5.  (What really aggravates me is that I have been using this setup for a few months now without a problem - the STS even ships with M2E installed - and only since yesterday has this problem emerged.)

Hopefully this log might shed some light on the problem.  The JUNIT_SRC_HOME variable mentioned is a null variable but it also an unmodifiable one that was preconfigured in the IDE.

The STS also appears to have increased memory settings already... I do not believe more than 768m should be required especially since the workspace only contains a single empty project.  I think the stack trace is showing another problem but I am not sure what it means:

-vm
C:/Program Files/Java/jdk1.6.0_15/bin/javaw.exe
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
com.springsource.sts.ide
--launcher.XXMaxPermSize
256m
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx768m

Thanks for your help.

Keith

eclipse.log

Igor Fedorenko-4 wrote:
You can increase Eclipse heap size in eclipse.ini file found in the root
of eclipse installation. I am not aware of significant changes in 0.9.9
memory footprint compared to 0.9.8, so I'd be interested to see hprof or
even better yourkit [2] memory dump of eclipse JVM when it ran out of
memory.

If you can't get 0.9.9 working, you can always always reinstall 0.9.8
from regular update site [1].

[1] http://m2eclipse.sonatype.org/update/
[2] http://www.yourkit.com/

--
Regards,
Igor

kbarlow wrote:
> Igor,
>
> Since trying to install the 0.9.9 build this morning I have been getting out
> of memory errors from Maven when it tries to build the indexes.  This
> happens even in workspaces where there is only a single root project (pom
> type) and no modules.
>
> I have done everything I can think of and cannot resolve the issue:
>
> 1.) Reinstalled my IDE to a clean folder
> 2.) Started a new workspace and rechecked out my projects.
> 3.) Set my MAVEN_OPTS environment variable to -Xmx512m and even as high as
> -Xmx768m
> 4.) Updated to maven 2.2.1 (with the MAVEN_OPTS set as stated)
>
> Nothing seems to work.  How can I get maven back to running the way it was?
>
> Thanks.
>
> Keith
>
>
> kbarlow wrote:
>> I was using the 0.9.8 build.  I just updated to the 0.9.9 build and it did
>> not resolve the problem. (I also checked with both the external and
>> embedded maven instances - same result.)
>>
>> I will file a bug report.  I am thinking it might be a problem with the
>> archetype plugin as I seem to get the same problem when using maven from
>> the command line.  Until I made sure to explicitly stated both the
>> archetypeCatalog and archetypeRepository parameters, it did not work.
>> (Even though the docs seem to suggest only the catalog parameter should be
>> necessary.  The documentation for a catalog file says:
>>
>> The repository where to find the archetype. OPTIONAL . When ommitted, the
>> archetype is searched for in the repository where the catalog comes from.
>>
>> which to me would imply that referencing that catalog should also indicate
>> which repository to use.)
>>
>> Something else to note too... when I upgraded to 0.9.9, I also started
>> getting null pointer errors during the index update which, after switching
>> between the embedded and external maven instances a few times, ultimately
>> led to java heap space problems and a catastrophic workbench crash...
>>
>> Keith
>>
>>
>>
>> Igor Fedorenko-4 wrote:
>>> What m2e version is this? This is expected to work in latest 0.9.9 dev
>>> build, so please open new bugreport in m2e jira [1] and provide steps to
>>> reproduce the problem.
>>>
>>> --
>>> Regards,
>>> Igor
>>>
>>> [1] https://issues.sonatype.org/browse/MNGECLIPSE
>>>
>>>
>>> kbarlow wrote:
>>>> Hiyas,
>>>>
>>>> I added a new remote catalog to the list of catalogs in eclipse and now
>>>> when
>>>> I try to create a new module based on an archetype in that catalog, I
>>>> get
>>>> the following error:
>>>>
>>>> eclipse.buildId=I20090611-1540
>>>> java.version=1.6.0_15
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>>>> Framework arguments:  -product com.springsource.sts.ide
>>>> Command-line arguments:  -os win32 -ws win32 -arch x86 -product
>>>> com.springsource.sts.ide -data
>>>> c:\EclipseApps\springsource\sts-2.1.0.SR01\tutorial-workspace
>>>>
>>>>
>>>> Error
>>>> Mon Oct 05 16:51:10 EDT 2009
>>>> Unable to create project from archetype
>>>> [org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse
>>>> -> null]
>>>>
>>>> org.apache.maven.archetype.exception.UnknownArchetype: The desired
>>>> archetype
>>>> does not exist
>>>> (org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse)
>>>> at
>>>> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
>>>> at
>>>> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
>>>> at
>>>> org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
>>>> at
>>>> org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:457)
>>>> at
>>>> org.maven.ide.eclipse.wizards.MavenModuleWizard$5.runInWorkspace(MavenModuleWizard.java:253)
>>>> at
>>>> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>
>>>>
>>>> According to the documentation, maven should be sourcing the repository
>>>> that
>>>> hosts the archetype-catalog.xml file for the archetypes...
>>>>
>>>> I do have m2eclipse configured to use my local maven install and I have
>>>> tried to run this from the command line and get similar errors.
>>>>
>>>> Is this a bug with maven or did I do something wrong?
>>>>
>>>> Thanks.
>>>>
>>>> Keith
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>>
>>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Re: Catalogs?

by kbarlow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Igor,

I should add one more thing...  I just checked the problem I originally reported - not being able to source archetypes from a catalog - in Eclipse Galileo 3.5 SR01 and it worked with m2eclipse 0.9.8.  The problem I experienced may be specific to SpringSource Tool Suite 2.1 SR01.

Thanks.

Keith


I spoke too soon...

All this adjustment did was give it more running room which ended up utilizing all resources on my machine.

However,  I think I have a better indication as to the problem:

As indicated earlier, I am using STS which is based on eclipse but has many of its own customizations.  For whatever reason, the STS update site appears to be down this week (and the project owner is at SpringOne). After reinstalling the IDE I had to reinstall Subclipse which I think, since the update site is down, caused the update system to resolve dependencies from the Eclipse Galileo site instead of the Spring STS update site.  (My splash screen changed from the STS slashscreen to the Eclipse splash screen and I have no idea what else changed.)  I think this intermixing of components is what is causing the problem.  I was able to successfully get the new install of STS up and running untill I had installed subclipse which caused whatever dependencies to be resolved via the eclipse site...  after that, everything started crashing again.  I will just switch to Eclipse until STS comes back online.

Thanks for you help.

Keith


Ok... for arguments sake I bumped the memory to 1024m and the problem seems to be resolved...  All I can say is wow...  

Thanks again.

Keith

kbarlow wrote:
Igor,

I have to figure out how to get you the yourkit profile... I have never used that before but here is the eclipse .log file.  Maybe this will shed some light on the situation.  I actually already have 0.9.8 installed in this version so I am truely baffled as to what is going on here.

I should probably clarify that I am using the SpringSource Tool Suite 2.1.0 SR01 which is based on Eclipse 3.5.  (What really aggravates me is that I have been using this setup for a few months now without a problem - the STS even ships with M2E installed - and only since yesterday has this problem emerged.)

Hopefully this log might shed some light on the problem.  The JUNIT_SRC_HOME variable mentioned is a null variable but it also an unmodifiable one that was preconfigured in the IDE.

The STS also appears to have increased memory settings already... I do not believe more than 768m should be required especially since the workspace only contains a single empty project.  I think the stack trace is showing another problem but I am not sure what it means:

-vm
C:/Program Files/Java/jdk1.6.0_15/bin/javaw.exe
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
com.springsource.sts.ide
--launcher.XXMaxPermSize
256m
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx768m

Thanks for your help.

Keith

eclipse.log

Igor Fedorenko-4 wrote:
You can increase Eclipse heap size in eclipse.ini file found in the root
of eclipse installation. I am not aware of significant changes in 0.9.9
memory footprint compared to 0.9.8, so I'd be interested to see hprof or
even better yourkit [2] memory dump of eclipse JVM when it ran out of
memory.

If you can't get 0.9.9 working, you can always always reinstall 0.9.8
from regular update site [1].

[1] http://m2eclipse.sonatype.org/update/
[2] http://www.yourkit.com/

--
Regards,
Igor

kbarlow wrote:
> Igor,
>
> Since trying to install the 0.9.9 build this morning I have been getting out
> of memory errors from Maven when it tries to build the indexes.  This
> happens even in workspaces where there is only a single root project (pom
> type) and no modules.
>
> I have done everything I can think of and cannot resolve the issue:
>
> 1.) Reinstalled my IDE to a clean folder
> 2.) Started a new workspace and rechecked out my projects.
> 3.) Set my MAVEN_OPTS environment variable to -Xmx512m and even as high as
> -Xmx768m
> 4.) Updated to maven 2.2.1 (with the MAVEN_OPTS set as stated)
>
> Nothing seems to work.  How can I get maven back to running the way it was?
>
> Thanks.
>
> Keith
>
>
> kbarlow wrote:
>> I was using the 0.9.8 build.  I just updated to the 0.9.9 build and it did
>> not resolve the problem. (I also checked with both the external and
>> embedded maven instances - same result.)
>>
>> I will file a bug report.  I am thinking it might be a problem with the
>> archetype plugin as I seem to get the same problem when using maven from
>> the command line.  Until I made sure to explicitly stated both the
>> archetypeCatalog and archetypeRepository parameters, it did not work.
>> (Even though the docs seem to suggest only the catalog parameter should be
>> necessary.  The documentation for a catalog file says:
>>
>> The repository where to find the archetype. OPTIONAL . When ommitted, the
>> archetype is searched for in the repository where the catalog comes from.
>>
>> which to me would imply that referencing that catalog should also indicate
>> which repository to use.)
>>
>> Something else to note too... when I upgraded to 0.9.9, I also started
>> getting null pointer errors during the index update which, after switching
>> between the embedded and external maven instances a few times, ultimately
>> led to java heap space problems and a catastrophic workbench crash...
>>
>> Keith
>>
>>
>>
>> Igor Fedorenko-4 wrote:
>>> What m2e version is this? This is expected to work in latest 0.9.9 dev
>>> build, so please open new bugreport in m2e jira [1] and provide steps to
>>> reproduce the problem.
>>>
>>> --
>>> Regards,
>>> Igor
>>>
>>> [1] https://issues.sonatype.org/browse/MNGECLIPSE
>>>
>>>
>>> kbarlow wrote:
>>>> Hiyas,
>>>>
>>>> I added a new remote catalog to the list of catalogs in eclipse and now
>>>> when
>>>> I try to create a new module based on an archetype in that catalog, I
>>>> get
>>>> the following error:
>>>>
>>>> eclipse.buildId=I20090611-1540
>>>> java.version=1.6.0_15
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>>>> Framework arguments:  -product com.springsource.sts.ide
>>>> Command-line arguments:  -os win32 -ws win32 -arch x86 -product
>>>> com.springsource.sts.ide -data
>>>> c:\EclipseApps\springsource\sts-2.1.0.SR01\tutorial-workspace
>>>>
>>>>
>>>> Error
>>>> Mon Oct 05 16:51:10 EDT 2009
>>>> Unable to create project from archetype
>>>> [org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse
>>>> -> null]
>>>>
>>>> org.apache.maven.archetype.exception.UnknownArchetype: The desired
>>>> archetype
>>>> does not exist
>>>> (org.apache.servicemix.tooling:servicemix-http-provider-service-unit:2009.01.0.1-fuse)
>>>> at
>>>> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:114)
>>>> at
>>>> org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:290)
>>>> at
>>>> org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:75)
>>>> at
>>>> org.maven.ide.eclipse.internal.project.ProjectConfigurationManager.createArchetypeProject(ProjectConfigurationManager.java:457)
>>>> at
>>>> org.maven.ide.eclipse.wizards.MavenModuleWizard$5.runInWorkspace(MavenModuleWizard.java:253)
>>>> at
>>>> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>
>>>>
>>>> According to the documentation, maven should be sourcing the repository
>>>> that
>>>> hosts the archetype-catalog.xml file for the archetypes...
>>>>
>>>> I do have m2eclipse configured to use my local maven install and I have
>>>> tried to run this from the command line and get similar errors.
>>>>
>>>> Is this a bug with maven or did I do something wrong?
>>>>
>>>> Thanks.
>>>>
>>>> Keith
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>>
>>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email