Always provide feedback for 2pack package installation.
This commit is contained in:
parent
42f276d3e7
commit
483fa5e6fd
|
@ -85,9 +85,10 @@ public class AdempiereActivator implements BundleActivator, ServiceTrackerCustom
|
||||||
q.setParameters(new Object[] { getName(), version + "%" });
|
q.setParameters(new Object[] { getName(), version + "%" });
|
||||||
X_AD_Package_Imp pkg = q.first();
|
X_AD_Package_Imp pkg = q.first();
|
||||||
if (pkg == null) {
|
if (pkg == null) {
|
||||||
|
System.out.println("Installing " + getName() + " " + version + " ...");
|
||||||
packIn(trxName);
|
packIn(trxName);
|
||||||
install();
|
install();
|
||||||
if (logger.isLoggable(Level.INFO)) logger.info(getName() + " " + version + " installed.");
|
System.out.println(getName() + " " + version + " installed.");
|
||||||
} else {
|
} else {
|
||||||
if (logger.isLoggable(Level.INFO)) logger.info(getName() + " " + version + " was installed: "
|
if (logger.isLoggable(Level.INFO)) logger.info(getName() + " " + version + " was installed: "
|
||||||
+ pkg.getCreated());
|
+ pkg.getCreated());
|
||||||
|
|
Loading…
Reference in New Issue