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 aliasesFile(-a) parameter in CompileProjlibMojo class #13

Open
mikolajmorawski opened this issue Aug 21, 2017 · 1 comment
Open

Comments

@mikolajmorawski
Copy link

Hi,
I was trying to build projlib with the following parameter:
<bw.hide.library.resources>true</bw.hide.library.resources>
During this operation i have found that buildlibrary.exe is executed without -a <alias.path> parameter. This causes that all depended projlibs are always skipped in buildlibrary process.

Diff this two classes:
src/main/java/fr/fastconnect/factory/tibco/bw/maven/compile/CompileProjlibMojo.java
src/main/java/fr/fastconnect/factory/tibco/bw/maven/compile/CompileEARMojo.java

Missing lines in buildProjlib method:
File aliasesFile = new File(directory, ALIASES_FILE);
if (aliasesFile.exists()) {
arguments.add("-a");
arguments.add(aliasesFile.getAbsolutePath());
}

Regards,
Mikołaj

@jcarmena
Copy link

I've just generated pull request #15 that solves this issue.

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

2 participants