You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't think the MANIFEST.MF approach would work, since ez-vcard generates an OSGi bundle. All the manifest attribute names start with "Bundle".
pom.properties is nice, but it doesn't have the project URL in it. Plus, you have to know what the project's groupId and artifactId are in order to get the path to the file. What's even the point of putting these in the file if you have to know them in order to get the path to the file??
I think I may stick with the filtered property file approach.
Java class
ezvcard.Ezvcard
currently parses file ez-vcard.properties to initialize constant values (VERSION
,GROUP_ID
,ARTIFACT_ID
andURL
).However, we could easily get these values from file MANIFEST.MF . Example to retreive project version:
Have you already studied this solution?
References:
The text was updated successfully, but these errors were encountered: