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

Missing EOAdaptorClassName in Info.plist (maven builds only) #573

Open
dbliefernicht opened this issue Apr 29, 2014 · 0 comments
Open

Missing EOAdaptorClassName in Info.plist (maven builds only) #573

dbliefernicht opened this issue Apr 29, 2014 · 0 comments

Comments

@dbliefernicht
Copy link
Contributor

Hello everyone,

it looks like the maven builds (both, self-built as well as on the public repository) do not include the EOAdaptorClassName key correctly. JavaMemoryAdaptor even includes an invalid Info.plist, as the customInfoPListContent is not set in Frameworks/EOAdaptors/JavaMemoryAdaptor/build.properties, which leaves a spurious ${customInfoPListContent} element in the generated Info.plist.

This only affects the maven builds, the ant builds seem fine. I do not (yet?) know enough of the build process to decide, if this is actually an issue with the wonder POMs or with the maven-wolifecycle-plugin from the wolips/woproject repo (although I'll gladly submit a pull request, if I find the core issue). Even if that's the case, the currently deployed JARs seem to be at least problematic, as the adaptors are not recognized as such due to the erroneous Resources/Info.plist.

As a workaround I added this for example to the JavaMemoryAdaptor/build.properties, but this of course does not fix the real issue:

customInfoPListContent=<key>EOAdaptorClassName</key><string>er.memoryadaptor.ERMemoryAdaptor</string>

The current on-line JARs are easily verifyable:

$ VERSION=6.1.1; FRAMEWORK=JavaMemoryAdaptor; wget -q http://maven.wocommunity.org/content/groups/public/wonder/eoadaptors/${FRAMEWORK}/${VERSION}/${FRAMEWORK}-${VERSION}.jar && unzip -q -c ${FRAMEWORK}-${VERSION}.jar Resources/Info.plist
...
    <key>NSJavaRoot</key>
    <string>Resources/Java</string>

    ${customInfoPListContent}
</dict>

Greetings

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

1 participant