pde-tools icon indicating copy to clipboard operation
pde-tools copied to clipboard

SharedImages, Maven integration

Open essembeh opened this issue 9 years ago • 2 comments

Hello

I discovered your tooling few days ago and I really appreciate the SharedImage builder. It's a nice feature but I have a problem as I build my project with Maven.

The default behavior is not to commit the generated SharedImage class, but is it possible to generate this class via maven?

A workaround is to set the class as non derived so that it is committed in the repository, but do you have any other idea?

Thanks

essembeh avatar Jan 18 '16 10:01 essembeh

It depends on JDT and Eclipse builder, I think that It's not easy to isolate it from eclipse. Anyway I will try to find a way. Since I am newbie about maven, can you give me some reference to create maven plugin or something?

jeeeyul avatar Jan 19 '16 11:01 jeeeyul

Unfortunately I'm just a (basic) maven user and I won't be helpful if you want to create a maven plug-in.

The workaround we use is to commit the generated file. It seems to work on every OS we use (the generated file is not dirty on Windows if it was generated on Linux ...).

You may be interested in adding some documentation to explain how committing the generated file could solve maven building issue.

essembeh avatar Jan 19 '16 11:01 essembeh