I've fixed this and deployed a snapshot.

2008/7/23 nicolas de loof <[EMAIL PROTECTED]>:

> It seems maven uses the ajc MessageHandler API to get logs. The
> implementation uses maven log to output messages, but matches ajc
> IMessage.WEAVEINFO to maven debug, so is not diplayed on console if maven
> doesn't run in debug.
>
>
> 2008/7/23 nicolas de loof <[EMAIL PROTECTED]>:
>
> I also wondered how this works, but the ajc arguments are saved in a file
>> that is valid with all options.
>>
>> It seems plexus injects parameters using public setters, and the code
>> lloks very strange as the attribute are not used to store the value but to
>> declare the parameter (strange design).
>>
>> I'll download AJC and test the same options from command line...
>>
>>
>>
>>
>> 2008/7/23 <[EMAIL PROTECTED]>:
>>
>> I have taken a look at the source and I'm wondering how property injection
>>> works with maven? Is it calling the setVerbose method or does it set the
>>> verbose parameter through reflection?
>>>
>>> If it does the first it should work, if it does the second it doesn't
>>> work. Could you try running with debug mode?
>>>
>>> This piece of code:
>>>
>>>        getLog().debug( "Starting compiling aspects" );
>>>        if ( getLog().isDebugEnabled() )
>>>        {
>>>            String command = "Running : ajc ";
>>>            Iterator iter = ajcOptions.iterator();
>>>            while ( iter.hasNext() )
>>>            {
>>>                command += ( iter.next() + " " );
>>>            }
>>>            getLog().debug( command );
>>>        }
>>>
>>> Indicates that on debug level the AspectJ compiler options are printed.
>>> Do you see the options: -verbose and -showWeaveInfo?
>>>
>>> Hth,
>>>
>>> Nick Stolwijk
>>> ~Java Developer~
>>>
>>> Iprofs BV.
>>> Claus Sluterweg 125
>>> 2012 WS Haarlem
>>> www.iprofs.nl
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED] on behalf of nicolas de loof
>>> Sent: Wed 7/23/2008 14:13
>>> To: Maven Users List
>>> Subject: Re: AspectJ in Maven2
>>>
>>> Not related to Ilya issue, but isn't the verbose and showWeaveInfo
>>> options
>>> supposed to log something ?
>>> I get my classes weaved (as a decompile confirms) but nothing on the
>>> console
>>> :'-(
>>>
>>>
>>>
>>>
>>> 2008/7/23 Ilya Ermolov <[EMAIL PROTECTED]>:
>>>
>>> >
>>> > Big thanks! I missed property 'source' :-[
>>> > I'm stupid :)))
>>> > --
>>> > View this message in context:
>>> > http://www.nabble.com/AspectJ-in-Maven2-tp18608731p18609277.html
>>> > Sent from the Maven - Users mailing list archive at Nabble.com.
>>> >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> > For additional commands, e-mail: [EMAIL PROTECTED]
>>> >
>>> >
>>>
>>>
>>
>

Reply via email to