You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jim Bethancourt <ji...@gmail.com> on 2006/06/28 22:16:53 UTC
Help generating/packaging an SWT/JFace app
Hello all,
I've written an SWT/JFace app using Maven 2 (with the 0.05 Eclipse
Maven plugin) as the build/dependency management tool instead of
listing the JARs by hand in the build path. The application has been
compiling and running just fine inside of the Eclipse environment, but
I'm trying to generate it as a Jar and running into a little bit of
difficulty - the "common code" shared by multiple apps is not yet in
Maven 2, so I can't use the jar:jar or deploy targets. I've tried
exporting the project as a jar in Eclipse with the Maven libraries in
the export list, and also just listing the SWT/JFace jars in the
classpath as well, both with no luck (I get a NoClassDefFoundError
that it can't find ApplicationWindow in both situations).
I realize that this could have several causes, but I thougt I would
post here first to see if anyone had any thoughts.
On a separate note, I've noticed that the SWT/JFace jars on ibiblio
are out of date. Is anyone in charge of posting the SWT/JFace jars on
ibiblio? The 3.1.x jars have been available for quite a while.
Thanks so much,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Help generating/packaging an SWT/JFace app
Posted by Jim Bethancourt <ji...@gmail.com>.
Oops... It turned out I was getting the same errors without using the
Maven 2 project plugin as well. Sorry for not checking that first.
Thanks,
Jim
On 6/28/06, Jim Bethancourt <ji...@gmail.com> wrote:
> Hello all,
> I've written an SWT/JFace app using Maven 2 (with the 0.05 Eclipse
> Maven plugin) as the build/dependency management tool instead of
> listing the JARs by hand in the build path. The application has been
> compiling and running just fine inside of the Eclipse environment, but
> I'm trying to generate it as a Jar and running into a little bit of
> difficulty - the "common code" shared by multiple apps is not yet in
> Maven 2, so I can't use the jar:jar or deploy targets. I've tried
> exporting the project as a jar in Eclipse with the Maven libraries in
> the export list, and also just listing the SWT/JFace jars in the
> classpath as well, both with no luck (I get a NoClassDefFoundError
> that it can't find ApplicationWindow in both situations).
>
> I realize that this could have several causes, but I thougt I would
> post here first to see if anyone had any thoughts.
>
> On a separate note, I've noticed that the SWT/JFace jars on ibiblio
> are out of date. Is anyone in charge of posting the SWT/JFace jars on
> ibiblio? The 3.1.x jars have been available for quite a while.
>
> Thanks so much,
> Jim
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org