Code cleanup and Typo fixes.
Co-effort by Felix and Trifon.
This commit is contained in:
parent
fc21ce058b
commit
6f46c586bd
|
@ -1,16 +0,0 @@
|
||||||
Variables not resolved:
|
|
||||||
J2EE
|
|
||||||
SYBASE_JDBC3
|
|
||||||
|
|
||||||
Variables resolved:
|
|
||||||
BARBECUE
|
|
||||||
COMMONS_BEANUTILS
|
|
||||||
COMMONS_COLLECTIONS
|
|
||||||
COMMONS_DIGESTER
|
|
||||||
COMMONS_LOGGING
|
|
||||||
IREPORT
|
|
||||||
JASPERREPORTS
|
|
||||||
ORACLE
|
|
||||||
POSTGRESQL
|
|
||||||
SYBASE
|
|
||||||
XERCES
|
|
|
@ -1 +0,0 @@
|
||||||
*.class
|
|
Binary file not shown.
|
@ -379,7 +379,7 @@ public class ReportStarter implements ProcessCall, ClientProcess
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
String reportPath = reportData.getReportFilePath();
|
String reportPath = reportData.getReportFilePath();
|
||||||
if (Util.isEmpty(reportPath, true))
|
if (Util.isEmpty(reportPath, true))
|
||||||
{
|
{
|
||||||
reportResult(AD_PInstance_ID, "Can not find report", trxName);
|
reportResult(AD_PInstance_ID, "Can not find report", trxName);
|
||||||
|
|
|
@ -450,15 +450,11 @@ public class PackOut extends SvrProcess
|
||||||
}
|
}
|
||||||
|
|
||||||
//create compressed packages
|
//create compressed packages
|
||||||
//set the files
|
//set the files
|
||||||
File srcFolder = new File("");
|
File srcFolder = new File(packagedir);
|
||||||
File destZipFile = new File("");
|
File destZipFile = new File(packagename+".zip");
|
||||||
File destTarFile = new File("");
|
File destTarFile = new File(packagename+".tar");
|
||||||
File destGZipFile = new File("");
|
File destGZipFile = new File(packagename+".tar.gz");
|
||||||
srcFolder = (new File(packagedir));
|
|
||||||
destZipFile = (new File(packagename+".zip"));
|
|
||||||
destTarFile = (new File(packagename+".tar"));
|
|
||||||
destGZipFile = (new File(packagename+".tar.gz"));
|
|
||||||
|
|
||||||
//delete the old packages if necessary
|
//delete the old packages if necessary
|
||||||
boolean success = destZipFile.delete();
|
boolean success = destZipFile.delete();
|
||||||
|
|
|
@ -109,7 +109,7 @@ public final class MSetup
|
||||||
|
|
||||||
// info header
|
// info header
|
||||||
m_info = new StringBuffer();
|
m_info = new StringBuffer();
|
||||||
// Standarc columns
|
// Standard columns
|
||||||
String name = null;
|
String name = null;
|
||||||
String sql = null;
|
String sql = null;
|
||||||
int no = 0;
|
int no = 0;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
package org.compiere.process;
|
package org.compiere.process;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Marker interface to markt that a process can only be run on the client
|
* Marker interface to mark that a process can only be run on the client
|
||||||
* side.
|
* side.
|
||||||
* @author Low Heng Sin
|
* @author Low Heng Sin
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -89,7 +89,7 @@ public class ProcessInfo implements Serializable
|
||||||
|
|
||||||
// -- Optional --
|
// -- Optional --
|
||||||
|
|
||||||
/** Pricess Instance ID */
|
/** Process Instance ID */
|
||||||
private int m_AD_PInstance_ID = 0;
|
private int m_AD_PInstance_ID = 0;
|
||||||
|
|
||||||
/** Summary of Execution */
|
/** Summary of Execution */
|
||||||
|
|
|
@ -33,16 +33,16 @@ public class HistoryFilterBean
|
||||||
private TreeSet<UDIPair> bPartnerList = new TreeSet<UDIPair>();
|
private TreeSet<UDIPair> bPartnerList = new TreeSet<UDIPair>();
|
||||||
private TreeSet<UDIPair> docStatusList = new TreeSet<UDIPair>();
|
private TreeSet<UDIPair> docStatusList = new TreeSet<UDIPair>();
|
||||||
|
|
||||||
public HistoryFilterBean(ArrayList beans)
|
public HistoryFilterBean(ArrayList<FilterBean> beans)
|
||||||
{
|
{
|
||||||
|
|
||||||
if(beans!=null)
|
if(beans!=null)
|
||||||
{
|
{
|
||||||
Iterator iter = beans.iterator();
|
Iterator<FilterBean> iter = beans.iterator();
|
||||||
|
|
||||||
while(iter.hasNext())
|
while(iter.hasNext())
|
||||||
{
|
{
|
||||||
FilterBean bean = (FilterBean) iter.next();
|
FilterBean bean = iter.next();
|
||||||
|
|
||||||
if(bean.getPartnerId()!=null)
|
if(bean.getPartnerId()!=null)
|
||||||
{
|
{
|
||||||
|
@ -61,12 +61,12 @@ public class HistoryFilterBean
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public TreeSet getBPartnerList()
|
public TreeSet<UDIPair> getBPartnerList()
|
||||||
{
|
{
|
||||||
return bPartnerList;
|
return bPartnerList;
|
||||||
}
|
}
|
||||||
|
|
||||||
public TreeSet getDocStatusList()
|
public TreeSet<UDIPair> getDocStatusList()
|
||||||
{
|
{
|
||||||
return docStatusList;
|
return docStatusList;
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,8 +106,8 @@ public class SessionStorage
|
||||||
{
|
{
|
||||||
HistoryFilterBean orderHistoryBeans = new HistoryFilterBean(orderHistory);
|
HistoryFilterBean orderHistoryBeans = new HistoryFilterBean(orderHistory);
|
||||||
|
|
||||||
TreeSet bPartners = orderHistoryBeans.getBPartnerList();
|
TreeSet<UDIPair> bPartners = orderHistoryBeans.getBPartnerList();
|
||||||
TreeSet docStatus = orderHistoryBeans.getDocStatusList();
|
TreeSet<UDIPair> docStatus = orderHistoryBeans.getDocStatusList();
|
||||||
|
|
||||||
request.getSession().setAttribute(Constants.BPARTNER, bPartners);
|
request.getSession().setAttribute(Constants.BPARTNER, bPartners);
|
||||||
request.getSession().setAttribute(Constants.DOC_STATUS, docStatus);
|
request.getSession().setAttribute(Constants.DOC_STATUS, docStatus);
|
||||||
|
|
|
@ -10,7 +10,7 @@ The script will have to be adjusted to your own environment
|
||||||
by setting the appropriate variables.
|
by setting the appropriate variables.
|
||||||
|
|
||||||
One advantage of this script is that it really waits until
|
One advantage of this script is that it really waits until
|
||||||
the server decalres it is started up or shut down before
|
the server declares it is started up or shut down before
|
||||||
echoing "[OK]" to the screen.
|
echoing "[OK]" to the screen.
|
||||||
|
|
||||||
A major disadvantage is that it runs the server as root,
|
A major disadvantage is that it runs the server as root,
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
<!-- This sample xslt is for transform an xml validated by adempiereTrl.dtd -->
|
<!-- This sample xslt is for transform an xml validated by adempiereTrl.dtd -->
|
||||||
<!-- to destination xml, which printed optional attributes trl as an sub-element of row element-->
|
<!-- to destination xml, which printed optional attributes trl as an sub-element of row element-->
|
||||||
<!-- orginal as sub-element of value element-->
|
<!-- original as sub-element of value element-->
|
||||||
<!-- Author: Bui Chi Trung -->
|
<!-- Author: Bui Chi Trung -->
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue