-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Update to use Maven Annotations #15
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,6 @@ target/* | |
.settings/* | ||
.project | ||
.classpath | ||
.factorypath | ||
/target | ||
.idea |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,8 @@ | |
|
||
import java.util.List; | ||
|
||
import org.apache.maven.plugins.annotations.Parameter; | ||
|
||
/** | ||
* Details about which jre the executable should call. | ||
*/ | ||
|
@@ -79,9 +81,8 @@ public class Jre { | |
* <td>Always use a private JDK runtime (fails if there is no JDK installed)</td> | ||
* </tr> | ||
* </table> | ||
* | ||
* @parameter default-value="preferJre" | ||
*/ | ||
@Parameter(defaultValue="preferJre") | ||
String jdkPreference; | ||
|
||
/** | ||
|
@@ -120,9 +121,8 @@ public class Jre { | |
* Sets JVM version to use: 32 bits, 64 bits or 64/32 bits | ||
* Possible values: 32, 64, 64/32 - it will fallback to default value if different option was used | ||
* Default value is: 64/32 | ||
* | ||
* @parameter default-value="64/32" | ||
*/ | ||
@Parameter(defaultValue="64/32") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unindent? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can fix that. Project is using mixed tab/spacing in a lot of places. Maybe a fix up to make that consistent. It seems tabs is the norm on this project, how about I just convert it all to be tabs? I had tab'd this one but it was surrounded by spaces. |
||
String runtimeBits; | ||
|
||
net.sf.launch4j.config.Jre toL4j() { | ||
|
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.
This isn't needed anymore
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.
Not real clear here on what isn't necessary now. Method is called throughout code. Do you mean the cast to artifact? I think that is what you mean but not completely sure.