Si Chen wrote:

we made a fix in financials.  Try it now?

There is some sort of disconnect between svn-financials and svn-ofbiz.

When I emptied out my ofbiz installation and installed ofbiz from incubator svn and new financials from opentaps I get this when running ant...

BUILD FAILED
/usr/local/ofbiz/ofbiz/build.xml:97: The following error occurred while executing this line: /usr/local/ofbiz/ofbiz/hot-deploy/financials/build.xml:95: /usr/local/ofbiz/ofbiz/base/lib not found.

(yes, the double ofbiz is correct)

I even set ofbiz.dir in the build.xml as instructed, and it still happened.
Then it hit me, I don't have a base/lib directory

# ls -l
total 82
-rw-r--r--   1 root  wheel   9599 Aug  4 16:41 .classpath
-rw-r--r--   1 root  wheel    364 Aug  4 16:41 .project
drwxr-xr-x   7 root  wheel    512 Aug  4 16:41 .svn
-rw-r--r--   1 root  wheel   4193 Aug  4 16:41 APACHE2_HEADER
-rw-r--r--   1 root  wheel   4567 Aug  4 16:41 OPTIONAL_LIBRARIES
-rwxr-xr-x   1 root  wheel    920 Aug  4 16:41 ant
-rw-r--r--   1 root  wheel    916 Aug  4 16:41 ant.bat
drwxr-xr-x  15 root  wheel    512 Aug  4 16:36 applications
-rw-r--r--   1 root  wheel   8360 Aug  4 16:41 build.xml
drwxr-xr-x  26 root  wheel   1024 Aug  4 16:41 framework
drwxr-xr-x   4 root  wheel    512 Aug  4 17:18 hot-deploy
-rwxr-xr-x   1 root  wheel   1043 Aug  4 16:41 ij.ofbiz
-rw-r--r--   1 root  wheel  23439 Aug  4 17:23 ofbiz.jar
-rw-r--r--   1 root  wheel   3604 Aug  4 16:41 rc.ofbiz
-rw-r--r--   1 root  wheel   1158 Aug  4 16:41 startofbiz.bat
-rwxr-xr-x   1 root  wheel   1482 Aug  4 16:41 startofbiz.sh
-rwxr-xr-x   1 root  wheel   1295 Aug  4 16:41 stopofbiz.sh

The lines in question from the financial's build.xml are the bottom three
 <target name="classpath">
        <path id="local.class.path">
            <fileset dir="${ofbiz.dir}/base/lib" includes="*.jar"/>
            <fileset dir="${ofbiz.dir}/base/lib/commons" includes="*.jar"/>
            <fileset dir="${ofbiz.dir}/base/build/lib" includes="*.jar"/>

Is it alright to delete these, or should there be a base directory that has libraries that are not in the framework or application directory path in the current svn that is in the apache incubator svn of Apache OFBiz?

--
Walter


Reply via email to