-
Notifications
You must be signed in to change notification settings - Fork 100
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
Add KarafDistributionOption.systemBundle #53
base: master
Are you sure you want to change the base?
Conversation
108c17b
to
8091ee3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check README.md in the repository root, add some tests and use the project's formatting style.
Thanks!
import org.ops4j.pax.exam.options.ProvisionOption; | ||
import org.ops4j.pax.exam.options.UrlReference; | ||
import org.ops4j.pax.exam.karaf.options.SystemBundleOption; | ||
import org.ops4j.pax.exam.options.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use wildcard import.
private File file; | ||
|
||
|
||
public SystemBundleOption(String aGroup, String artifact, String version, File file) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add Javadoc to all public classes.
} | ||
|
||
/** | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incomplete
} | ||
|
||
/** | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incomplete
if (file != null) { | ||
try { | ||
return new RawUrlReference(file.toURI().toURL().toString()); | ||
} catch (MalformedURLException e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incorrect formatting.
Besides these issues, are we OK with combining both adding to system directory AND adding to properties file at same time? |
OK. Test added. I did not see any other tests for the standard options though... We probably should add a start level parameter defaulting to '5', but besides that, anything else? |
Any progress with this issue? |
https://ops4j1.jira.com/browse/PAXEXAM-800