Skip to main content



      Home
Home » Language IDEs » AspectJ » Compiling to jar deletes all .class files?
Compiling to jar deletes all .class files? [message #48164] Tue, 15 February 2005 16:21 Go to next message
Eclipse UserFriend
Does this need to be the case? I cannot run my unit-tests because there are no
classes in the output dir. I would expect the jar to create /and/ the classes to
be left where they are built.

-barry
Re: Compiling to jar deletes all .class files? [message #48214 is a reply to message #48164] Tue, 15 February 2005 16:25 Go to previous messageGo to next message
Eclipse UserFriend
Barry Kaplan wrote:
> Does this need to be the case? I cannot run my unit-tests because there
> are no classes in the output dir. I would expect the jar to create /and/
> the classes to be left where they are built.

I added the aspectj generated jar explicity to the target, and this allows the
test to run. But it means I now need to create a target for every test (not too
back, just 300 targets ;-)

-barry
Re: Compiling to jar deletes all .class files? [message #48273 is a reply to message #48164] Wed, 16 February 2005 04:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: clemas.uk.ibm.com

Barry Kaplan wrote:
> Does this need to be the case? I cannot run my unit-tests because there
> are no classes in the output dir. I would expect the jar to create /and/
> the classes to be left where they are built.
>
> -barry

Why not add an ANT builder to the builder chain for that project and
have it do the packaging for you?

cheers,
Andy.
Re: Compiling to jar deletes all .class files? [message #48303 is a reply to message #48273] Wed, 16 February 2005 07:08 Go to previous message
Eclipse UserFriend
Andy Clement wrote:
> Why not add an ANT builder to the builder chain for that project and
> have it do the packaging for you?

Yes, I will. Thanks.

-barry
Re: Compiling to jar deletes all .class files? [message #586756 is a reply to message #48164] Tue, 15 February 2005 16:25 Go to previous message
Eclipse UserFriend
Barry Kaplan wrote:
> Does this need to be the case? I cannot run my unit-tests because there
> are no classes in the output dir. I would expect the jar to create /and/
> the classes to be left where they are built.

I added the aspectj generated jar explicity to the target, and this allows the
test to run. But it means I now need to create a target for every test (not too
back, just 300 targets ;-)

-barry
Re: Compiling to jar deletes all .class files? [message #586792 is a reply to message #48164] Wed, 16 February 2005 04:39 Go to previous message
Eclipse UserFriend
Barry Kaplan wrote:
> Does this need to be the case? I cannot run my unit-tests because there
> are no classes in the output dir. I would expect the jar to create /and/
> the classes to be left where they are built.
>
> -barry

Why not add an ANT builder to the builder chain for that project and
have it do the packaging for you?

cheers,
Andy.
Re: Compiling to jar deletes all .class files? [message #586801 is a reply to message #48273] Wed, 16 February 2005 07:08 Go to previous message
Eclipse UserFriend
Andy Clement wrote:
> Why not add an ANT builder to the builder chain for that project and
> have it do the packaging for you?

Yes, I will. Thanks.

-barry
Previous Topic:AspectJ Question
Next Topic:InPath 'Source attachment'?
Goto Forum:
  


Current Time: Thu May 08 15:06:39 EDT 2025

Powered by FUDForum. Page generated in 0.09119 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top