nhatminhle / cofoja

Contracts for Java
GNU Lesser General Public License v3.0
151 stars 18 forks source link

Use external properties file to provide settings #40

Closed nhatminhle closed 9 years ago

nhatminhle commented 9 years ago

From nasrolla...@gmail.com on December 10, 2013 20:15:02

What steps will reproduce the problem? If you happen to use cofoja with maven and eclipse, maven will auto configure the APT settings in eclipse. There is no way in maven to provide the settings for OPT* in AnnotationProcessor.java If I manually configure these in eclipse, they eventually get removed when maven repopulates the APT settings. What is the expected output? What do you see instead? Expected solution would be to allow some other mechanism to provide the OPT* settings instead of the -A annotation settings. What version of the product are you using? On what operating system? 1.1- r150 Please provide any additional information below. By the way, would love it if you could push the jar into a maven repository for everyone to access it.

Original issue: http://code.google.com/p/cofoja/issues/detail?id=40

nhatminhle commented 9 years ago

From nhat.min...@gmail.com on January 25, 2014 16:22:20

Hum, what other mechanism would be appropriate? JVM properties, for example? That could be a reasonable fallback.

As for pushing to a Maven repo, I know it's like the most requested feature ever for Cofoja, but I really don't know much about Maven. Last time I checked, it was complicated to get it to work with a custom layout and build procedure, but maybe you can just push the ant-compiled JAR file somewhere... I don't know.

nhatminhle commented 9 years ago

From nasrolla...@gmail.com on January 26, 2014 13:34:56

I resolved both problems long after I opened the ticket. You can close the issue.

Thanks.

nhatminhle commented 9 years ago

From nhat.min...@gmail.com on January 28, 2014 01:52:15

OK. I will close the ticket; sorry for the delay.

Status: WontFix