Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 21:21 Go to next message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
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 21:25 Go to previous messageGo to next message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
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 09: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 12:08 Go to previous message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
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 21:25 Go to previous message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
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 09:39 Go to previous message
Andrew Clement is currently offline Andrew ClementFriend
Messages: 162
Registered: July 2009
Senior Member
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 12:08 Go to previous message
Barry Kaplan is currently offline Barry KaplanFriend
Messages: 230
Registered: July 2009
Senior Member
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: Fri Apr 19 20:37:57 GMT 2024

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

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

Back to the top