You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/08/02 22:23:22 UTC

[jira] Created: (MPASPECTJ-12) Optional Aspects

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Mon, 2 Aug 2004 4:22 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Mark Proctor
    Created: Wed, 22 Sep 2004 9:00 AM
       Body:
I'm not sure how to unit test this, as part of the standard Maven UnitTest framework; as each test would require a "maven clean" and a "maven jar" for re-compilation. Any ideas?

Mark
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24413

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Wed, 22 Sep 2004 9:00 AM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Mark Proctor
    Created: Tue, 21 Sep 2004 2:59 PM
       Body:
Sorry about slacking on this one. I held off while I was looking into .ajproperties as that seemed the better way of doing it, rather than with .lst - do you know the status of this, do the current release versions use this, or is it still a dev feature?

Mark
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24333

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Tue, 21 Sep 2004 2:59 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Mark Proctor (mailto:m.proctor@bigfoot.com)
       Date: Sun, 3 Oct 2004 11:48 AM
    Comment:
This is an updated diff which includes unit testing of optional aspects.

It runs the unit test twice. The first time for the standard aspectsSourceDirectory, the second time using the given .list file. A system property is provided so that the unit test knows which mode its in, and thus which tests to run.
    Changes:
             Attachment changed to optional-aspects.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPASPECTJ-12?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Sun, 3 Oct 2004 11:48 AM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Mark Proctor
    Created: Mon, 2 Aug 2004 4:28 PM
       Body:
I have further enhanced this in drools and include for reference purposes.

So that users can specify features they want compiled in at runtime I create a file in src/aspects/conf that specifes the aspects to weave for that feature. That way I can just do the following to specify the features I want:
drools.aspects = event-model, trace

The code to achieve this is:

    <preGoal name="java:compile">
        <j:set var="droolsAspects" value="${drools.aspects}"/>

        <j:if test="${droolsAspects != null}">
            <util:tokenize var="tokens" delim="," trim="true">${droolsAspects}</util:tokenize>

            <j:forEach var="token" items="${tokens}">
              <j:set var="mavenAspects" value="${mavenAspects},src/aspects/conf/${token.trim()}.conf"/>
            </j:forEach>

            <j:if test="${mavenAspects != ''}">
               <j:set var="maven.aspectj.aspects" value="${mavenAspects}" />

               <attainGoal name="aspectj:compile"/>
            </j:if>
        </j:if>

    </preGoal>
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_22641

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Mon, 2 Aug 2004 4:28 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Carlos Sanchez
    Created: Tue, 21 Sep 2004 6:21 PM
       Body:
Documentation and automated tests (check src/plugin-test) are required to commit the changes.
If I have to do them myself the commit will be delayed.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24377

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Tue, 21 Sep 2004 6:21 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Mark Proctor
    Created: Tue, 5 Oct 2004 3:20 PM
       Body:
works great. Using the example goal above I can now specify my aspects to compile in project.properties as:
drools.aspects = event
#drools.aspects = profile
#drools.aspects = event, profile

This should make things a lot easier for everyone, 3.2 asap please :)
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24990

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin
   Fix Fors:
             3.2

   Assignee: Carlos Sanchez
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Tue, 5 Oct 2004 3:20 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Carlos Sanchez
    Created: Tue, 21 Sep 2004 3:48 PM
       Body:
No idea, you should ask in the aspectj mailing list
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24339

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Tue, 21 Sep 2004 3:48 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Mark Proctor (mailto:m.proctor@bigfoot.com)
       Date: Sun, 3 Oct 2004 11:50 AM
    Comment:
Incase there are any problems with the diff I have included the entire aspectj folder as a zip file.
    Changes:
             Attachment changed to aspectj.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPASPECTJ-12?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Sun, 3 Oct 2004 11:50 AM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Mark Proctor
    Created: Tue, 21 Sep 2004 4:20 PM
       Body:
It seems that ajproperties is not support by iajc yet, nor is it supported by the ant task AjcTask.

The docs in ajdt claims that you can use includes/excluds on the AjcTask, this is only ajc, iajc only supports SourceRoots and SourceRootsList.

For this reason I believe it makes sense to continue with the .lst format, untill ajproperties are better supported.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24349

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Tue, 21 Sep 2004 4:20 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Mark Proctor
    Created: Thu, 5 Aug 2004 2:26 PM
       Body:
ok I'll get that diff -U to you asap. do you still want the example, if so I'll try and knock up and something this weekend.

That link doesn't work.

Mark
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_22780

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Thu, 5 Aug 2004 2:26 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Carlos Sanchez
    Created: Thu, 5 Aug 2004 2:37 PM
       Body:
Ok, if you can make the example I'll thank you.

This link works for me
http://tinyurl.com/4boct 
else
http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/org.eclipse.ajdt/AJDT_30M9_src/org.eclipse.ajdt/doc/AJDTug/ajdt-newbuildconfigs.html

I think you'll find interesting the last section titled "Using .ajproperties files with Ant"

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_22782

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Thu, 5 Aug 2004 2:37 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Carlos Sanchez
    Created: Wed, 4 Aug 2004 6:28 PM
       Body:
I'm having trouble applying the patch, could you post it in unified diff format? (diff -u)
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_22758

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Wed, 4 Aug 2004 6:28 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Carlos Sanchez
    Created: Tue, 5 Oct 2004 3:33 PM
       Body:
You can also use 
maven whatever -Ddrools.aspects=event
maven whatever -Ddrools.aspects=profile 
maven whatever -Ddrools.aspects=event,profile 

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24991

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin
   Fix Fors:
             3.2

   Assignee: Carlos Sanchez
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Tue, 5 Oct 2004 3:33 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Mark Proctor
    Created: Tue, 21 Sep 2004 5:35 PM
       Body:
To execute the example type "maven clean run"
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24366

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Tue, 21 Sep 2004 5:35 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Mark Proctor (mailto:m.proctor@bigfoot.com)
       Date: Tue, 21 Sep 2004 5:28 PM
    Comment:
optional-aspects.diff
    Changes:
             Attachment changed to optional-aspects.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPASPECTJ-12?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Tue, 21 Sep 2004 5:28 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Mark Proctor (mailto:m.proctor@bigfoot.com)
       Date: Tue, 21 Sep 2004 5:29 PM
    Comment:
fully jelly file if problems with diff
    Changes:
             Attachment changed to plugin.jelly
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPASPECTJ-12?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Tue, 21 Sep 2004 5:29 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Mark Proctor (mailto:m.proctor@bigfoot.com)
       Date: Tue, 21 Sep 2004 5:31 PM
    Comment:
Example application. 

Change comments in project.properties file by uncommenting one of the maven.aspectj.aspects properties:
#maven.aspectj.aspects = hello.lst
maven.aspectj.aspects = goodbye.lst

Different message printed depending on which .lst file you specify
    Changes:
             Attachment changed to optional-aspects-test.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPASPECTJ-12?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Tue, 21 Sep 2004 5:31 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Mark Proctor
    Created: Wed, 22 Sep 2004 4:22 AM
       Body:
I'll update the property as you suggested and move the example I wrote to a unit test.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24392

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Wed, 22 Sep 2004 4:22 AM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

   Resolver: Carlos Sanchez
       Date: Sun, 3 Oct 2004 3:32 PM

Good work, thanks. I have changed a small thing, adding maven.aspectj.weaveAspectSources because argfiles can be used for other things than choosing aspects.

You can download it from http://cvs.apache.org/repository/maven/plugins/

If you check everything is correct I'll release the 3.2 version
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin
   Fix Fors:
             3.2

   Assignee: Carlos Sanchez
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Sun, 3 Oct 2004 3:32 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Mark Proctor (mailto:m.proctor@bigfoot.com)
       Date: Mon, 2 Aug 2004 4:25 PM
    Comment:
This diff allows optional aspects files to be included by specifying a comma delimited list in maven.aspectj.aspects. It uses the iajc argfiles propertly.

if you use maven.aspectj.aspects only those files are weaved, other aspects in your aspect source directory will be ignored.

The files specifed in maven.aspectj.aspects are line delimeted files either specifying the aspects to weave, or other line delimited files to process. Aspects are relative to the config file that specifies them.
    Changes:
             Attachment changed to optional-aspects.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPASPECTJ-12?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Mon, 2 Aug 2004 4:25 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Carlos Sanchez
    Created: Wed, 22 Sep 2004 11:31 AM
       Body:
You can add a new aspect to the test e.g. throwing an exception, a .lst to ignore that aspect and then you won't need to modify maven.xml
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24418

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Wed, 22 Sep 2004 11:31 AM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Carlos Sanchez
    Created: Tue, 21 Sep 2004 6:26 PM
       Body:
maven.aspectj.aspects should be renamed to maven.aspectj.argfiles, to be more exact.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24379

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Tue, 21 Sep 2004 6:26 PM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Carlos Sanchez
    Created: Wed, 4 Aug 2004 6:00 AM
       Body:
Here's more info from the AJDT project http://tinyurl.com/4boct
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_22714

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Wed, 4 Aug 2004 6:00 AM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPASPECTJ-12) Optional Aspects

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Mark Proctor
    Created: Wed, 22 Sep 2004 9:09 AM
       Body:
Just chatting on #maven on irc and think I can alter maven.xml to do this, although I think it might get a little messy:
  <goal name="testPlugin" prereqs="clean,test-aspectj-compile">
  </goal>
  
  <goal name="test-aspectj-compile">
    <attainGoal name="aspectj:test-compile"/>
    <attainGoal name="test:test"/>
    <attainGoal name="clean"/>
  </goal>

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPASPECTJ-12?page=comments#action_24414

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPASPECTJ-12

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPASPECTJ-12
    Summary: Optional Aspects
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-aspectj-plugin

   Assignee: 
   Reporter: Mark Proctor

    Created: Mon, 2 Aug 2004 4:22 PM
    Updated: Wed, 22 Sep 2004 9:09 AM

Description:
We need the ability to weave in optional aspects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org