importing the project has some dangling errors.  I've tried both 
kitchensink and a new hello world project
[image: err.jpg]

On Tuesday, March 30, 2021 at 5:50:15 PM UTC-7 Steve Hannah wrote:

> I haven't gotten to eclipse yet.  I've been working with IntelliJ, 
> NetBeans, and CLI so far.  Will be attacking Eclipse soon.
> What errors are you getting, and in response to what commands?
>
> On Tue, Mar 30, 2021 at 5:48 PM Dave Dyer <[email protected]> wrote:
>
>> And what about the errors in the project produced when importing into 
>> eclipse?
>>
>>
>> On Tuesday, March 30, 2021 at 5:46:25 PM UTC-7 Steve Hannah wrote:
>>
>>> Thanks.  Update your build.bat to this version.
>>>
>>> https://github.com/shannah/cn1-maven-archetypes/blob/master/cn1app-archetype/src/main/resources/archetype-resources/build.bat
>>>
>>> Update your run.bat to this version.
>>>
>>> https://github.com/shannah/cn1-maven-archetypes/blob/master/cn1app-archetype/src/main/resources/archetype-resources/run.bat
>>>
>>>
>>> On Tue, Mar 30, 2021 at 5:22 PM Dave Dyer <[email protected]> wrote:
>>>
>>>> run the run.bat produced by maven
>>>>
>>>>
>>>> On Tuesday, March 30, 2021 at 5:13:00 PM UTC-7 Steve Hannah wrote:
>>>>
>>>>> What exact command are you running?  I'll try it on my Windows 
>>>>> machine.  The example working fine for me on Windows 10.  Might be some 
>>>>> differences in our commands.
>>>>>
>>>>> On Tue, Mar 30, 2021 at 5:05 PM Dave Dyer <[email protected]> wrote:
>>>>>
>>>>>> I missed sticking a windows path into the command structure, with 
>>>>>> that converting
>>>>>> kitchen sink runs, but the other 2 complaints stand.   The project 
>>>>>> produced has errors.
>>>>>>
>>>>>> On Tuesday, March 30, 2021 at 4:49:10 PM UTC-7 Steve Hannah wrote:
>>>>>>
>>>>>>>
>>>>>>> Use the latest version.  7.0.17
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Mar 30, 2021 at 4:38 PM Dave Dyer <[email protected]> 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Well for a start then, sample "converting kitch sink" doesn't work
>>>>>>>>
>>>>>>>>
>>>>>>>> Running the example from 
>>>>>>>> https://shannah.github.io/codenameone-maven-manual/#migrate-existing-project
>>>>>>>>
>>>>>>>>
>>>>>>>> [INFO] Parameter: artifactId, Value: kitchensink
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Total time:  2.995 s
>>>>>>>> [INFO] Finished at: 2021-03-30T15:08:19-07:00
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [ERROR] Failed to execute goal 
>>>>>>>> org.apache.maven.plugins:maven-archetype-plugin:3.2.0:generate 
>>>>>>>> (default-cli) on project standalone-pom: A Maven project already 
>>>>>>>> exists in 
>>>>>>>> the directory C:\Users\Ddyer\Downloads\kitchensink -> [Help 1]
>>>>>>>> [ERROR]
>>>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven 
>>>>>>>> with the -e switch.
>>>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug 
>>>>>>>> logging.
>>>>>>>> [ERROR]
>>>>>>>> [ERROR] For more information about the errors and possible 
>>>>>>>> solutions, please read the following articles:
>>>>>>>> [ERROR] [Help 1] 
>>>>>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [INFO] Total time:  5.815 s
>>>>>>>> [INFO] Finished at: 2021-03-30T15:08:19-07:00
>>>>>>>> [INFO] 
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>> [ERROR] Failed to execute goal 
>>>>>>>> com.codenameone:codenameone-maven-plugin:7.0.13:generate-app-project 
>>>>>>>> (default-cli) on project standalone-pom: Failed to generate project 
>>>>>>>> using 
>>>>>>>> cn1app-archetype.  Exit code 1 -> [Help 1]
>>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to 
>>>>>>>> execute goal 
>>>>>>>> com.codenameone:codenameone-maven-plugin:7.0.13:generate-app-project 
>>>>>>>> (default-cli) on project standalone-pom: Failed to generate project 
>>>>>>>> using 
>>>>>>>> cn1app-archetype.  Exit code 1
>>>>>>>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
>>>>>>>> (MojoExecutor.java:215)
>>>>>>>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
>>>>>>>> (MojoExecutor.java:156)
>>>>>>>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
>>>>>>>> (MojoExecutor.java:148)
>>>>>>>>     at 
>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>>>>>>>>  
>>>>>>>> (LifecycleModuleBuilder.java:117)
>>>>>>>>     at 
>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>>>>>>>>  
>>>>>>>> (LifecycleModuleBuilder.java:81)
>>>>>>>>     at 
>>>>>>>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>>>>>>>>  
>>>>>>>> (SingleThreadedBuilder.java:56)
>>>>>>>>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
>>>>>>>> (LifecycleStarter.java:128)
>>>>>>>>     at org.apache.maven.DefaultMaven.doExecute 
>>>>>>>> (DefaultMaven.java:305)
>>>>>>>>     at org.apache.maven.DefaultMaven.doExecute 
>>>>>>>> (DefaultMaven.java:192)
>>>>>>>>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>>>>>>>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>>>>>>>>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>>>>>>>>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>>>>>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>>>>>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke 
>>>>>>>> (NativeMethodAccessorImpl.java:62)
>>>>>>>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke 
>>>>>>>> (DelegatingMethodAccessorImpl.java:43)
>>>>>>>>     at java.lang.reflect.Method.invoke (Method.java:497)
>>>>>>>>     at 
>>>>>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
>>>>>>>> (Launcher.java:282)
>>>>>>>>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
>>>>>>>> (Launcher.java:225)
>>>>>>>>     at 
>>>>>>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
>>>>>>>> (Launcher.java:406)
>>>>>>>>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
>>>>>>>> (Launcher.java:347)
>>>>>>>> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed 
>>>>>>>> to generate project using cn1app-archetype.  Exit code 1
>>>>>>>>     at com.codename1.maven.GenerateAppProjectMojo.generateProject 
>>>>>>>> (GenerateAppProjectMojo.java:105)
>>>>>>>>     at com.codename1.maven.GenerateAppProjectMojo.execute 
>>>>>>>> (GenerateAppProjectMojo.java:839)
>>>>>>>>     at 
>>>>>>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
>>>>>>>> (DefaultBuildPluginManager.java:137)
>>>>>>>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
>>>>>>>> (MojoExecutor.java:210)
>>>>>>>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
>>>>>>>> (MojoExecutor.java:156)
>>>>>>>>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
>>>>>>>> (MojoExecutor.java:148)
>>>>>>>>     at 
>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>>>>>>>>  
>>>>>>>> (LifecycleModuleBuilder.java:117)
>>>>>>>>     at 
>>>>>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>>>>>>>>  
>>>>>>>> (LifecycleModuleBuilder.java:81)
>>>>>>>>     at 
>>>>>>>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>>>>>>>>  
>>>>>>>> (SingleThreadedBuilder.java:56)
>>>>>>>>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
>>>>>>>> (LifecycleStarter.java:128)
>>>>>>>>     at org.apache.maven.DefaultMaven.doExecute 
>>>>>>>> (DefaultMaven.java:305)
>>>>>>>>     at org.apache.maven.DefaultMaven.doExecute 
>>>>>>>> (DefaultMaven.java:192)
>>>>>>>>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>>>>>>>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
>>>>>>>>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
>>>>>>>>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
>>>>>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>>>>>>>>     at sun.reflect.NativeMethodAccessorImpl.invoke 
>>>>>>>> (NativeMethodAccessorImpl.java:62)
>>>>>>>>     at sun.reflect.DelegatingMethodAccessorImpl.invoke 
>>>>>>>> (DelegatingMethodAccessorImpl.java:43)
>>>>>>>>     at java.lang.reflect.Method.invoke (Method.java:497)
>>>>>>>>     at 
>>>>>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
>>>>>>>> (Launcher.java:282)
>>>>>>>>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
>>>>>>>> (Launcher.java:225)
>>>>>>>>     at 
>>>>>>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
>>>>>>>> (Launcher.java:406)
>>>>>>>>     at org.codehaus.plexus.classworlds.launcher.Launcher.main 
>>>>>>>> (Launcher.java:347)
>>>>>>>> [ERROR]
>>>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug 
>>>>>>>> logging.
>>>>>>>> [ERROR]
>>>>>>>> [ERROR] For more information about the errors and possible 
>>>>>>>> solutions, please read the following articles:
>>>>>>>> [ERROR] [Help 1] 
>>>>>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>>>>>>>
>>>>>>>> C:\Users\Ddyer\Downloads> 
>>>>>>>>
>>>>>>>> Also, the "create skeleton" produces a skeleton which has errors
>>>>>>>> [image: err.jpg]
>>>>>>>>
>>>>>>>> and a .bat file for windows which doesn't run:
>>>>>>>>
>>>>>>>> G:\share\projects\eclipse\mtest>.\run.bat
>>>>>>>> The syntax of the command is incorrect.
>>>>>>>>
>>>>>>>> G:\share\projects\eclipse\mtest>
>>>>>>>> On Tuesday, March 30, 2021 at 3:39:19 PM UTC-7 Steve Hannah wrote:
>>>>>>>>
>>>>>>>>> Use the usual channels you would use for any issue.  Questions in 
>>>>>>>>> forum or stack overflow.  If you have a pro account, then you can use 
>>>>>>>>> email 
>>>>>>>>> support.  Bugs in issue tracker (Just use main Codenameone One github 
>>>>>>>>> repo 
>>>>>>>>> issue tracker.. easier to keep track of them then).
>>>>>>>>>
>>>>>>>>> Best regards
>>>>>>>>>
>>>>>>>>> Steve
>>>>>>>>>
>>>>>>>>> On Tue, Mar 30, 2021 at 2:04 PM Dave Dyer <[email protected]> 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> What is your preferred forum for issues related to mavin?  Here? 
>>>>>>>>>> StackOverflow? Github?
>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>> Google Groups "CodenameOne Discussions" group.
>>>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>>>> send an email to [email protected].
>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>> https://groups.google.com/d/msgid/codenameone-discussions/a5366caa-4d55-4fcd-8259-580372640f6fn%40googlegroups.com
>>>>>>>>>>  
>>>>>>>>>> <https://groups.google.com/d/msgid/codenameone-discussions/a5366caa-4d55-4fcd-8259-580372640f6fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>> .
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> Steve Hannah
>>>>>>>>> Software Developer
>>>>>>>>> Codename One
>>>>>>>>> http://www.codenameone.com
>>>>>>>>>
>>>>>>>> -- 
>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>> Groups "CodenameOne Discussions" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>> send an email to [email protected].
>>>>>>>>
>>>>>>> To view this discussion on the web visit 
>>>>>>>> https://groups.google.com/d/msgid/codenameone-discussions/544eb6fe-6541-465e-b4cd-4346714f31a1n%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/codenameone-discussions/544eb6fe-6541-465e-b4cd-4346714f31a1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>> -- 
>>>>>>> Steve Hannah
>>>>>>> Software Developer
>>>>>>> Codename One
>>>>>>> http://www.codenameone.com
>>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "CodenameOne Discussions" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected].
>>>>>>
>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/codenameone-discussions/c08c6078-919e-4300-984f-9e1381e617f3n%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/codenameone-discussions/c08c6078-919e-4300-984f-9e1381e617f3n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Steve Hannah
>>>>> Software Developer
>>>>> Codename One
>>>>> http://www.codenameone.com
>>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "CodenameOne Discussions" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>>
>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/codenameone-discussions/1f776d35-3e6a-4413-a13d-33f47100bb9cn%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/codenameone-discussions/1f776d35-3e6a-4413-a13d-33f47100bb9cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> -- 
>>> Steve Hannah
>>> Software Developer
>>> Codename One
>>> http://www.codenameone.com
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/814e5ef9-782d-46aa-a58c-7d35bc872d0dn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/814e5ef9-782d-46aa-a58c-7d35bc872d0dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/afd18f36-18f9-486f-9ed3-ce0fc082d5d2n%40googlegroups.com.

Reply via email to