Bugs item #1936496, was opened at 2008-04-07 00:23
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1020092&aid=1936496&group_id=212019

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: maven-jsmooth-plugin
Group: maven-jsmooth-plugin-v0.1.0
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: OMax (omax3)
Assigned to: Bindul Bhowmik (bindul)
Summary: Unable to determine the source of this jar and hence cannot 

Initial Comment:
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)

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-04-17 02:15

Message:
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] :
[EMAIL PROTECTED]
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

----------------------------------------------------------------------

Comment By: Bindul Bhowmik (bindul)
Date: 2008-04-17 01:32

Message:
Logged In: YES 
user_id=1127769
Originator: NO

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

----------------------------------------------------------------------

Comment By: Bindul Bhowmik (bindul)
Date: 2008-04-07 08:21

Message:
Logged In: YES 
user_id=1127769
Originator: NO

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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1020092&aid=1936496&group_id=212019

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
mindtreeinsight-devel mailing list
mindtreeinsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mindtreeinsight-devel

Reply via email to