Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > building java support for berkeley db on win32
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 20th May 06:33
jerry
External User
 
Posts: 1
Default building java support for berkeley db on win32



Hi I'm using visual .net c++ studio compiler whatever (version 7) to build
berkeley db. I do as stated in the docs/ref/build_win/intro.html to build
berkeley db. All goes well and nothing to complain about. However whenever I
build the db_java thing it fails stating it cannot read some file list.
The reason why this goes wrong is because of the translation between vc++ 6
to 7.
The compilation of the classes is done by command line, which is set in some
file (?) after conversion this file merges into db_java.vcproj which is an
xml file:
looking SOMETHING like this:
<Tool
Name="VCCustomBuildTool"
Description="Compiling java files using javac"
CommandLine="echo compiling Berkeley DB classes
mkdir &quot;$(OUTDIR)\classes&quot;
javac -g -d &quot;$(OUTDIR)\classes&quot; -classpath
&quot;$(OUTDIR)/classes&quot; ..\java\src\com\sleepycat\db\*.java
...\java\src\com\sleepycat\db\\&quot;$(OUTDIR)&quo t;\*.java
...\java\src\com\sleepycat\bdb\bind\*.java
...\java\src\com\sleepycat\bdb\bind\serial\*.java
...\java\src\com\sleepycat\bdb\bind\tuple\*.java
...\java\src\com\sleepycat\bdb\*.java
...\java\src\com\sleepycat\bdb\collection\*.java
...\java\src\com\sleepycat\bdb\factory\*.java
...\java\src\com\sleepycat\bdb\util\*.java

SOMETHING like? yes something because the double backslash is missing on the
147 column of the javac.. line. escaping the & instead of unescaping the \.
Anyway oncemore a proof that backslash were a bad idea as directory
separators.
Hope it may be of help to some future win32 builders.
regards,
Jeroen.
  Reply With Quote


  sponsored links


2 20th May 06:33
mjc
External User
 
Posts: 1
Default building java support for berkeley db on win32



Hi Jerry,


You're right -- thanks for letting us know. Visual Studio .NET
doesn't like the way we quoted a variable in the VS6 project file, and
doesn't convert it properly to its file format.

This will be fixed in our next release. In the meantime, a hand-edit
of the file is required (or contact support@sleepycat.com and we'll
send you a replacement project file).

Regards,
Michael.
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666