Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I want the aspects for development builds but remove them for production builds. How can I set up the build system so they are unpluggable? And so I use javac in my production build?

0
Posted

I want the aspects for development builds but remove them for production builds. How can I set up the build system so they are unpluggable? And so I use javac in my production build?

0

If you are using development-time-only aspects – aspects that only exist when you are developing the code, not when you ship it – you can use implement a hybrid build process by listing the production source files into a javac-compliant argfile, and the development source files in another ajc argfiles:

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.