Did that, too, with identical results.

On 4/13/07, Jerome Lacoste <[EMAIL PROTECTED]> wrote:

On 4/13/07, Mykel Alvis <[EMAIL PROTECTED]> wrote:
> Using 1.0-alpha-2-SNAPSHOT  of webstart-maven-plugin, I have the
following
> error.
>
> ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] didn't find artifact with main class:
> com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI. Did
> you specify it?
>
>
> Just to check and see that the artifact that includes that class, I did
> [INFO] snapshot
> com.dsths.integration:IntegrationUI:1.0.0-SNAPSHOT:
> checking for updates from integration
> [DEBUG] IntegrationUI: using locally installed snapshot
> [DEBUG] Retrieving parent-POM:
> com.dsths.integration:DSTIntegrationBasicParentPOM::2 for
> project: null:IntegrationUI:jar: 1.0.0-SNAPSHOT from the repository.
> [DEBUG]
> com.dsths.integration:IntegrationUI:jar:1.0.0-SNAPSHOT:compile
> (selected for compile)
> [DEBUG] IntegrationUI: using locally installed snapshot
> [DEBUG]   (s) mainClass =
> com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI
> [ERROR] BUILD ERROR
> [INFO] didn't find artifact with main class:
> com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI. Did
> you specify it?
> org.apache.maven.lifecycle.LifecycleExecutionException :
> didn't find artifact with main class:
> com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI. Did
> you specify it?
> Caused by: org.apache.maven.plugin.MojoExecutionException:
> didn't find artifact with main class:
> com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI. Did
> you specify it?
>
> So the artifact is available.  I looked at the local repo and into the
jar
> and that class is definitely in the specified jar, so the jar SHOULD be
> available.
> Since it can't find the class, it doesn't proceed any farther so the
> target/jnlp directory is empty.
>
> Is there some additional configuration I need to do besides the
following?

* Is the class you're looking for in the same project as your project ?
* is there a typo (one space too much in the config ?) I doubt it is
that but... :

>                         <mainClass>
> com.dst.hps.common.framework.crosswalk.ui.CrossWalkUI</mainClass>
>                     </jnlp>


* try removing the whole <dependencies> section in the plugin
configuration.

Cheers,

Jerome

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

    http://xircles.codehaus.org/manage_email




--
I'm just an unfrozen caveman software developer.  I don't understand your
strange, "modern" ways.

Reply via email to