[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [ajdt-dev] Problem with Project dependency / Aspect Path in Eclipse
|
- From: Andrew Eisenberg <andrew@xxxxxxxxxxxx>
- Date: Tue, 1 Sep 2009 09:17:57 -0700
- Delivered-to: ajdt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=AHJQPhMD2p5yWjPK46sPTnxd8a4+xr3DWtjk+of/LKo=; b=ayQd9j3m+YLiq2lpGH+Y/J3Y+wFIsMpV7n0FPL8lMZ/0sdaSIAgLB+2jsB2SMHOCHe NORQA2EnuAznXuqaFQ5Q1dMZElRJsuH8VG9vymo1PdY6DKpk7Tt9Dm5K2PBPBzAq5+Lv fCv+bl2RKDYtyDsgj/lVU9jjNKV6Fv/wmi47c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=PzjJIKSkHW09ux867CGP40ap2xqeVNC6fV6YTSSgl9njKY8/G6aJXxUUWdQNyb6vT9 2qM3P4BPQL1NfeYQ03C2Mv+OssqoV2AZRlVv9khWIWyIlW6AT4+Dit6nJ4ccvbDytvWF yShVAi0gJKu18dg0eH2Ix3/CW5Visu/FtoTQY=
Hi,
I don't know exactly what is going on here. It sounds like you may
have a circular dependency somewhere. Does Commons (transitively)
depend on Part1?
It is not best practice to depend on bin folders since doing that can
cause double builds (ie- the same project gets built twice).
Everything will compile properly, but it will take longer to do so.
Can you please send a more complete description of your project
dependencies and I will try to find out what is going on.
On Tue, Sep 1, 2009 at 9:03 AM, <prg@xxxxxxxxxxxxxxx> wrote:
> Hello all,
>
> just hit a strange behaviour; could you please tell me if I did something
> wrong or maybe if it's a known problem?
>
> Currently, I'm about to reorganise a huge (AspectJ) project in Eclipse,
> to split it into a series of dependent projects. Now, the very basic set
> "Commons" contains some Aspects, which need to be applied to the other parts.
>
> Thus, in the dependant project (lets call it "Part1", I went to AspectJ Build > Aspect Path. There I selected "Add Project" and checked my "Commons" project
>
> Anyhow, building Project "Part1" then caused the message "The project was not
> built since it depends on Part1, which has build path errors". After some
> tinkering I found out that I can use "Add class folder" to specify the
> bin folder of Project "Commons", which then yields the desired result.
>
> But this seems a bit of a hack, when actually what I want is to declare
> a first-class dependency on the "Commons" project. Am I missing something here?
>
> Cheers,
> Hermann Vosseler
> _______________________________________________
> ajdt-dev mailing list
> ajdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ajdt-dev
>