Joel H�kansson <Joel.Ha...@tpb.se> wrote on Fr, Jun 10, 2011 at 08:40:06 +0200:
>I think that Magnus may be better suited to answer this question (he is on
>vacation this week, but he'll be back on Monday). Unfortunately, I am not at
>all familiar with Linux.
Which is no problem since the library compiles fine; it's just that Debian
people want to have external dependencies instead of embeded dependencies.
>I have been developing this software for quite some time. However, at about the
>same time as Bert started working on the project, I was tied up in other
>things. This is very unfortunate for me, but I can't do much work at the
>moment. If you can tell me where to put the debian-file, I can upload it for
>you. Do you need it in version 1.1.0 or in the release that Bert is working on?
That depends on how long Bert will work on the new version. My plan is to resolve
the dependency issue as fast as possible to make the upload on Debian's site
easier.
When the changes are made once it is also no problem to package a new version.
What I need is that the dependencies, currently located in lib/, are removed
from the build-xml. We could e. g. make a build-base.xml and with importing
create on top of that two build-files, one for those using the internal
dependencies under lib/ and one for Debian. Maybe Bert can help out there, since
he found a nice solution for Odt2braille which handles both. I'm not very
familiar with this Ant build environment at all.
I can also give you the paths for the Debian jar-files.
>I don't know if libwoodstox-java is the right lib, but it could be from what
>I can tell from http://packages.debian.org/experimental/java/libwoodstox-java.
I hope Magnus will clarify that.
>I agree that there should be a doc directory, it's on my wishlist too. ;)
Very good, maybe a nice goal for the next release :-).
>If you want to get involved in the development, you are more than welcome.
Sorry, there's not enough time for that.
Best
Sebastian
--
Test the free Latin-German dictionary | Teste das freie Latein-Deutsch-W�rterbuch!
Online: http://freedict.org/dict?Form=dict3&Database=lat-deu
More languages | mehr Sprachen: http://www.freedict.org
Bert Frees <bert...@gmail.com> wrote on Mi, Jun 15, 2011 at 02:00:00 -0700:
>> What I need is that the dependencies, currently located in lib/, are removed
>> from the build-xml. We could e. g. make a build-base.xml and with importing
>> create on top of that two build-files, one for those using the internal
>> dependencies under lib/ and one for Debian. Maybe Bert can help out there, since
>> he found a nice solution for Odt2braille which handles both. I'm not very
>> familiar with this Ant build environment at all.
>
>I can take care of this if you want. There is no need for a new
>build.xml. I would just use the existing build.xml to perform other
>tasks depending on the operating system.
That would be great! I always like to keep changes as much upstreams as possible
and avoid patching on the Debian side.
>> I can also give you the paths for the Debian jar-files.
>Yes, please do.
isorelax.jar
libisorelax-java: /usr/share/java/isorelax.jar
jing.jar
libjing-java: /usr/share/java/jing.jar
junit-4.4.jar
junit4: /usr/share/java/junit4.jar
saxon8.jar
Same problem as in Odt2braille, I'm not sure whether
http://packages.debian.org/squeeze/libsaxon-java
because the file is called saxon.jar and not saxon8.jar. Please confirm.
stax-api-1.0.1.jar
libstax-java: /usr/share/java/stax-api.jar
xercesImpl.jar
libxerces2-java: /usr/share/java/xercesImpl.jar
xml-apis.jar
libjaxp1.3-java: /usr/share/java/xml-apis.jar
Regards
Bert Frees <bert...@gmail.com> wrote on Mon, Jun 20, 2011 at 06:56:02AM -0700:
>I have modified the build.xml file so that a "Class-Path" attrubute is
>added to the brailleUtils core jar's manifest. This attribute will
>have a different value when the build platform is debian. The debian-
>specific properties are in a file called build.debian.properties. Only
>the woodstox reference is missing.
Nice solution. for the woodstox-library, I think I figured out which package it
is:
# aptitude show libwoodstox-java
Package: libwoodstox-java [...]
Version: 1:3.9.2.dfsg-2 [...] (and later versions)
Description: a high-performance XML processor
Woodstox is a high-performance validating namespace-aware StAX-compliant
[...]
This library is needed for the freecol package, and will probably be of
interest for others.
Homepage: http://woodstox.codehaus.org/
# apt-file show libwoodstox-java | grep ".jar$"
libwoodstox-java: /usr/share/java/wstx-lgpl-3.9.2.jar
libwoodstox-java: /usr/share/java/wstx-lgpl.jar
libwoodstox-java: /usr/share/maven-repo/org/codehaus/woodstox/wstx-lgpl/3.9.2/wstx-lgpl-3.9.2.jar
libwoodstox-java: /usr/share/maven-repo/org/codehaus/woodstox/wstx-lgpl/debian/wstx-lgpl-debian.jar
>I haven't modified the compile-time classpath yet. I didn't want to
>change the build file to much. Maybe Joel or Magnus can look at this
>later.
I haven't heard anything from Magnus or Joel since, would one of them please
comment on this?
I'll have a look at the trunk, but I had done the current packaging in the
stable branch, so that I haven't got the latest changes.
Thanks
thanks for adding the libraries.
Sebastian Humenda <shum...@gmx.de> wrote on Fri, Jun 24, 2011 at 08:01:12AM +0200:
>I'll have a look at the trunk, but I had done the current packaging in the
>stable branch, so that I haven't got the latest changes.
With trunk things look better, but there are still problems. For Debian I
thought to remove lib/, but then building is not possible. So I tried to run
the compilation with lib/ empty. Output of ant below. It cannot find contents of
jing.jar (at least it seems so). Can you confirm and maybe explain what's wrong?
Is it maybe you just changed *one* classpath?
thanks
Sebastian
===
Buildfile: /tmp/brailleutils-1.2/build.xml
emptyBuildDir:
[delete] Deleting directory /tmp/brailleutils-1.2/ant-build/output/build.temp
[mkdir] Created dir: /tmp/brailleutils-1.2/ant-build/output/build.temp
compile:
[javac] Compiling 92 source files to /tmp/brailleutils-1.2/ant-build/output/build.temp
[javac] /tmp/brailleutils-1.2/src/org/daisy/braille/pef/PEFValidator.java:41: package com.thaiopensource.util does not exist
[javac] import com.thaiopensource.util.PropertyMap;
[javac] ^
[javac] /tmp/brailleutils-1.2/src/org/daisy/braille/pef/PEFValidator.java:42: package com.thaiopensource.util does not exist
[javac] import com.thaiopensource.util.PropertyMapBuilder;
[javac] ^
[javac] /tmp/brailleutils-1.2/src/org/daisy/braille/pef/PEFValidator.java:43: package com.thaiopensource.validate does not exist
[javac] import com.thaiopensource.validate.ValidateProperty;
[javac] ^
[javac] /tmp/brailleutils-1.2/src/org/daisy/braille/pef/PEFValidator.java:44: package com.thaiopensource.validate does not exist
[javac] import com.thaiopensource.validate.ValidationDriver;
[javac] ^
[javac] /tmp/brailleutils-1.2/src/org/daisy/braille/pef/PEFValidator.java:140: cannot find symbol
[javac] symbol : class PropertyMap
[javac] location: class org.daisy.braille.pef.PEFValidator
[javac] private boolean runValidation(PropertyMap map, URL url, URL schema) {
[javac] ^
[javac] /tmp/brailleutils-1.2/src/org/daisy/braille/pef/PEFValidator.java:113: cannot find symbol
[javac] symbol : class PropertyMapBuilder
[javac] location: class org.daisy.braille.pef.PEFValidator
[javac] PropertyMapBuilder propertyBuilder = new PropertyMapBuilder();
[javac] ^
[javac] /tmp/brailleutils-1.2/src/org/daisy/braille/pef/PEFValidator.java:113: cannot find symbol
[javac] symbol : class PropertyMapBuilder
[javac] location: class org.daisy.braille.pef.PEFValidator
[javac] PropertyMapBuilder propertyBuilder = new PropertyMapBuilder();
[javac] ^
[javac] /tmp/brailleutils-1.2/src/org/daisy/braille/pef/PEFValidator.java:114: cannot find symbol
[javac] symbol : variable ValidateProperty
[javac] location: class org.daisy.braille.pef.PEFValidator
[javac] propertyBuilder.put(ValidateProperty.ERROR_HANDLER, new TestError());
[javac] ^
[javac] /tmp/brailleutils-1.2/src/org/daisy/braille/pef/PEFValidator.java:141: cannot find symbol
[javac] symbol : class ValidationDriver
[javac] location: class org.daisy.braille.pef.PEFValidator
[javac] ValidationDriver vd = new ValidationDriver(map);
[javac] ^
[javac] /tmp/brailleutils-1.2/src/org/daisy/braille/pef/PEFValidator.java:141: cannot find symbol
[javac] symbol : class ValidationDriver
[javac] location: class org.daisy.braille.pef.PEFValidator
[javac] ValidationDriver vd = new ValidationDriver(map);
[javac] ^
[javac] 10 errors
BUILD FAILED
/tmp/brailleutils-1.2/build.xml:235: Compile failed; see the compiler error output for details.
Total time: 3 seconds
Sebastian Humenda <shum...@gmx.de> wrote on Sa, Jun 25, 2011 at 06:08:09 +0200:
>Sebastian Humenda <shum...@gmx.de> wrote on Fri, Jun 24, 2011 at 08:01:12AM +0200:
>>I'll have a look at the trunk, but I had done the current packaging in the
>>stable branch, so that I haven't got the latest changes.
>With trunk things look better, but there are still problems. For Debian I
>thought to remove lib/, but then building is not possible. So I tried to run
[...]
I did not read carefully what you've wrote, you didn't change the
compile-classpath yet. It would be great if you could do that.
A package for testing has been uploaded to
http://humenda.users.sourceforge.net/brailleutils_1.2_i386.deb
Currently the files are installed to /usr/share/java. Some linking could be
done, what do you think:
brailleUtils-catalog-1.2.0b.jar -> brailleUtils-catalog.jar
brailleUtils-core-1.2.0b.jar -> brailleUtils-core.jar
brailleUtils-ui-1.2.0b.jar -> brailleUtils-ui.jar
Thanks
Sebastian