Hi Sam and Stuart,

Thanks a lot for your help. I believe that your instruction will give me 
the right jar file, but unfortunately I can't verify this because of the 
peculiar way our project is set up and uses its dependencies. This is our 
problems, so we'll deal with it.

Best,
Dat

On Tuesday, February 12, 2013 12:53:18 PM UTC-8, Stuart McCulloch wrote:
>
> On 12 Feb 2013, at 19:27, Dat Nguyen wrote:
>
> Hi Sam,
>
> I've tried that option already: 'ant no_aop', then it will create a folder 
> named "no_aop" in build with new source files, then I build from that 
> folder with 'ant dist' or 'ant jar', but it still doesn't create the jar 
> file I need.
>
>
> If you want to use Ant:
>
>    ant no_aop
>    cd build/no_aop
>    ant jar
>    cd ../..
>
> and the no_aop flavour jar can be found under:
>
>    build/no_aop/build/dist/guice-snapshot.jar
>
> ie. the tree under "build/no_aop" is just like the original tree, but has 
> been 'munged' to remove AOP, so it still uses the original filenames for 
> the binaries
>
> If you want to use Maven:
>
>    mvn package
>
> and the no_aop flavour jar can be found under:
>
>    core/target/guice-<version>-no_aop.jar
>
> the difference with Maven is that the 'munging' is done as part of the 
> main build, and the "no_aop" flavour jar is attached alongside the original 
> jar 
>
> HTH
>
> Dat
>
> On Monday, February 11, 2013 7:33:03 PM UTC-8, Sam Berlin wrote:
>>
>> I think there's a noaop target in the ant script that will produce the 
>> scrubbed source (that you can then build).
>>
>> sam
>> On Feb 11, 2013 10:29 PM, "Dat Nguyen" <[email protected]> wrote:
>>
>>> Currently in our Android project, we're linking against 
>>> guice-3.0-no_aop.jar for Guice. I need to do some timing measurement around 
>>> injection, so I've check out the source code of Guice (git clone
>>> https://code.google.com/p/google-guice/), but don't know how to make 
>>> the needed file. I've tried ant build with different options listed in 
>>> build.xml (e.g. 'ant jar' or 'ant dist') but none of these produce the file.
>>>
>>> So could anyone tell me how to build this jar from source? Thanks in 
>>> advanced.
>>>
>>> Dat
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "google-guice" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/google-guice?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "google-guice" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected]<javascript:>
> .
> Visit this group at http://groups.google.com/group/google-guice?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to