Closed randyjensen closed 10 years ago
alternatively, does the binary from https://github.com/AccelerationNet/access2csv/releases work for you?
I did update the build.xml to use relative paths, that might be worth a shot if the binary doesn't do it.
Just tested the new build.xml but same issue. I had already changed those paths, but for some reason it's not finding that Driver class. Odd.
The binary does work for me perfectly. That's what I'm using right now, I had just wanted to tweak a few other things so I decided to compile it myself.
FWIW I'm running the file inside a Vagrant 1.5 box on Ubuntu 12.04x64 with Java/Ant versions below
java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
I can reproduce this error when trying to build on my computer at home. There's something messed up in the build file, but I'm not that familiar with this environment either, but I'll see what google tells me.
I think I see what's going on. I made the build.xml by exporting something from eclipse, and the build.xml has nothing about actually compiling the access2csv source code, it's just about packing up compiled code into a runnable jar file. I need to get the build file actually compiling the java code then build the jar file.
Ok, I think I fixed it. Ant now actually compiles access2csv code, and I've learned a little more about java.
Works great now! This library is brilliant and much appreciated :)
I've cloned and compiled successfully, but when I run the script it throws an error:
Any idea what's going on? I already fixed a few other absolute paths in build.xml that were causing issues, but I'm not familiar enough to track this bug down.
The Driver.java class definitely exists in src/access2csv/Driver.java but I don't think the build.xml is referencing the right path.