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 + "%" });
|
||||
X_AD_Package_Imp pkg = q.first();
|
||||
if (pkg == null) {
|
||||
System.out.println("Installing " + getName() + " " + version + " ...");
|
||||
packIn(trxName);
|
||||
install();
|
||||
if (logger.isLoggable(Level.INFO)) logger.info(getName() + " " + version + " installed.");
|
||||
System.out.println(getName() + " " + version + " installed.");
|
||||
} else {
|
||||
if (logger.isLoggable(Level.INFO)) logger.info(getName() + " " + version + " was installed: "
|
||||
+ pkg.getCreated());
|
||||
|
|
Loading…
Reference in New Issue