Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inpath with *.aj files not working with post-compile weaving plugin #1285

Open
kotapraveenkumar opened this issue Jan 21, 2025 · 3 comments
Open

Comments

@kotapraveenkumar
Copy link

I am using post-compile weaving plugin and supplying inpath with *.aj files, but i am receiving error *.aj files are corrupt.
wondering if the plugin actually supports specifying *.aj files

@larsgrefer
Copy link
Member

The inpath is only meant for bytecode. *.aj Files are normal source inputs for the compiler

@kotapraveenkumar
Copy link
Author

kotapraveenkumar commented Jan 24, 2025

My sources have both *.java and *.aj files, but weaving is not happening.
It works fine only if i supply compiler args with list of *.aj files(traditional ant iajc task way). -argfile <file with *.aj files absolutepaths>.

I am wondering is there a better way of doing this.

@larsgrefer
Copy link
Member

Can you share an example project which reproduces your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants