valmaev / antforce

Apache Ant tasks that help implementing Continuous Integration for Force.com projects
Apache License 2.0
3 stars 2 forks source link

Refactored deployRoot and zipBytes to be accessed via reflection #5

Closed valmaev closed 7 years ago

valmaev commented 7 years ago

The motivation is to prevent java.lang.IllegalAccessError: tried to access field com.salesforce.ant.DeployTask.* from class com.salesforce.ant.DeployTaskAdapter.

Possible reason of exception is that both DeployTask and DeployTaskAdapter sit in same package but in different .jars -> in different runtime packages. The exception occurs when ant-salesforce.jar and antforce.jar loaded by different classloaders.

Resolves #4.

codecov-io commented 7 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request head (illegal-access-exception@4836e79).


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 81169d8...4836e79. Read the comment docs.