A NOTE has been added to this issue. ====================================================================== https://sourceforge.net/apps/mantisbt/mvn-infix/view.php?id=8 ====================================================================== Reported By: Bindul Assigned To: Bindul ====================================================================== Project: JSmooth Plug-in Issue ID: 8 Category: plug-in Reproducibility: random Severity: minor Priority: normal Status: assigned Target Version: 0.3.0 ====================================================================== Date Submitted: 2010-11-20 01:21 UTC Last Modified: 2010-11-20 01:24 UTC ====================================================================== Summary: [Tracker 1936496] Unable to determine the source of this jar and hence cannot Description: Executing maven plugin gives the following error, which doens't provide information what should be corrected. I just tried to use config files from:
http://mindtreeinsight.sourceforge.net/releng/maven-jsmooth-plugin/insight-jsmooth-conf.html Please help. [INFO] Unable to determine the source of this jar and hence cannot extract skeletons [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: Unable to determine the source of this jar and hence cannot extract skeletons at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) 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) Caused by: org.apache.maven.plugin.MojoFailureException: Unable to determine the source of this jar and hence cannot extract skeleton at com.mindtree.techworks.insight.releng.mvn.jsmooth.JSmoothCompileMojo.writeSkeletons(JSmoothCompileMojo.java:287) at com.mindtree.techworks.insight.releng.mvn.jsmooth.JSmoothCompileMojo.execute(JSmoothCompileMojo.java:185) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ====================================================================== ---------------------------------------------------------------------- (0000007) Bindul (administrator) - 2010-11-20 01:22 https://sourceforge.net/apps/mantisbt/mvn-infix/view.php?id=8#c7 ---------------------------------------------------------------------- Date: 2008-04-07 09:21:35 MDT Sender: bindul Hello, Please execute your build with the mvn -X option and post (atleast the relevant) output from the debug to help us identify the problem. Bindul ---------------------------------------------------------------------- (0000008) Bindul (administrator) - 2010-11-20 01:22 https://sourceforge.net/apps/mantisbt/mvn-infix/view.php?id=8#c8 ---------------------------------------------------------------------- Date: 2008-04-17 02:32:38 MDT Sender: bindul Omax, This is indeed a defect, thanks for identifying it. The defect in in the way we convert URL to file object. See http://news.java-virtual-machine.net/news/25-april-2007-kohsuke-kawaguchi-how-to-convert-javaneturl-to-javaiofile.html. The defect has been fixed, and a new release 0.2.0 is now available. Please test and let us know if this is still an issue. Regards, Bindul ---------------------------------------------------------------------- (0000009) Bindul (administrator) - 2010-11-20 01:23 https://sourceforge.net/apps/mantisbt/mvn-infix/view.php?id=8#c9 ---------------------------------------------------------------------- Date: 2008-04-17 03:15:05 MDT Sender: nobody Logged In: NO Unfortunately some other error still occurs. I wanted to try this plugin only to see if it really allows single instance, as current plugin I use (launch4j) doesn't do it for me although works for all other things pretty well. I already resolved single instance problem using Sockets workaround directly java, so can't invest much time to investigate issue with jsmooth plugin, but would be happy to test it. # mvn package -P executable -e Downloading: http://mindtreeinsight.svn.sourceforge.net/svnroot/mindtreeinsight/maven-repo/trunk/release/com/mindtree/techworks/insight/releng/maven -jsmooth-plugin/0.2.0/maven-jsmooth-plugin-0.2.0.jar 852K downloaded ... [INFO] [jsmooth:jsmoothcompile {execution: default}] [INFO] Using jsmooth file... ...\tool\src\assembly\insight.jsmooth [INFO] Setting Icon location to ...\tool\src\assembly\resources\de\phase6\icons\p6.ico [INFO] Setting final output name to :tool-1.0-SNAPSHOT.exe [INFO] Setting jar name to :tool-1.0-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] : com.mindtree.techworks.insight.releng.mvn.jsmooth.jsmoothcompilem...@14e40da Error building the jsmooth wrapper [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error building the jsmooth wrapper at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) 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) Caused by: org.apache.maven.plugin.MojoExecutionException: Error building the jsmooth wrapper at com.mindtree.techworks.insight.releng.mvn.jsmooth.JSmoothCompileMojo.compileJSmooth(JSmoothCompileMojo.java:235) at com.mindtree.techworks.insight.releng.mvn.jsmooth.JSmoothCompileMojo.execute(JSmoothCompileMojo.java:188) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 16 more ---------------------------------------------------------------------- (0000010) Bindul (administrator) - 2010-11-20 01:24 https://sourceforge.net/apps/mantisbt/mvn-infix/view.php?id=8#c10 ---------------------------------------------------------------------- Date: 2008-04-17 03:18:19 MDT Sender: omax3 Let me know if I need to open another bug if it's not connected to the original one. ---------------------------------------------------------------------- (0000011) Bindul (administrator) - 2010-11-20 01:24 https://sourceforge.net/apps/mantisbt/mvn-infix/view.php?id=8#c11 ---------------------------------------------------------------------- Date: 2008-04-20 18:33:59 MDT Sender: bindul Hello Omax, This seems to be a new issue. Anyways, I noticed that we did not have enough debug statements to identify what is causing the problem. I have put out a snapshot release of the plug-in (0.3.0-SNAPSHOT) on the insight snapshot repository (http://mindtreeinsight.svn.sourceforge.net/svnroot/mindtreeinsight/maven-repo/trunk/snapshot/). Could you please give that a try and post the output. Please use the mvn -X option to get the debug statements. BTW - the plugin from Insight is only a maven plug-in to wrap java applications around jsmooth (http://jsmooth.sourceforge.net/) which provides the actual executable wrapper. So, single instance issues are unfortunately beyond the scope of this plugin. Appreciate your help with the plug-in. Regards, Bindul Issue History Date Modified Username Field Change ====================================================================== 2010-11-20 01:21 Bindul New Issue 2010-11-20 01:21 Bindul Assigned To => Bindul 2010-11-20 01:22 Bindul Note Added: 0000007 2010-11-20 01:22 Bindul Status new => assigned 2010-11-20 01:22 Bindul Resolution open => fixed 2010-11-20 01:22 Bindul Note Added: 0000008 2010-11-20 01:23 Bindul Note Added: 0000009 2010-11-20 01:24 Bindul Note Added: 0000010 2010-11-20 01:24 Bindul Note Added: 0000011 ====================================================================== ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ mvn-Infix-devel mailing list mvn-Infix-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mvn-infix-devel