Again build errors

4 views
Skip to first unread message

Sebastian Humenda

unread,
Jul 31, 2011, 1:32:13 PM7/31/11
to braill...@googlegroups.com
Hello,

when I remove lib/ from the source
(https://brailleutils.googlecode.com/svn/trunk/braille), I get again build
errors. This time it doesn't seem like the OS detection weren't running.

Thanks for looking into it.
Greetings
Sebastian
===
Buildfile: /tmp/braille/build.xml

emptyBuildDir:
[delete] Deleting directory /tmp/braille/ant-build/output/build.temp
[mkdir] Created dir: /tmp/braille/ant-build/output/build.temp

detectOS:

debianProperties:

setClasspath:

compile:
[javac] Compiling 92 source files to /tmp/braille/ant-build/output/build.temp
[javac] /tmp/braille/src/org/daisy/braille/pef/PEFValidator.java:41: package com.thaiopensource.util does not exist
[javac] import com.thaiopensource.util.PropertyMap;
[javac] ^
[javac] /tmp/braille/src/org/daisy/braille/pef/PEFValidator.java:42: package com.thaiopensource.util does not exist
[javac] import com.thaiopensource.util.PropertyMapBuilder;
[javac] ^
[javac] /tmp/braille/src/org/daisy/braille/pef/PEFValidator.java:43: package com.thaiopensource.validate does not exist
[javac] import com.thaiopensource.validate.ValidateProperty;
[javac] ^
[javac] /tmp/braille/src/org/daisy/braille/pef/PEFValidator.java:44: package com.thaiopensource.validate does not exist
[javac] import com.thaiopensource.validate.ValidationDriver;
[javac] ^
[javac] /tmp/braille/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/braille/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/braille/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/braille/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/braille/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/braille/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/braille/build.xml:245: Compile failed; see the compiler error output for details.

Total time: 2 seconds
--
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

unread,
Jul 31, 2011, 2:18:58 PM7/31/11
to braill...@googlegroups.com
Hello Sebastian,

I forgot to mention that we added a parameter to the script because
the script caused build errors on CentOS. The reason was that the OS
detection mechanism can detect Linux, but it can't distinguish between
Debian and CentOS.

To use the Debian specific properties, the new parameter
useExternalJarsOnLinux must be set to true:

ant -DuseExternalJarsOnLinux=true

Op 31-jul-11, om 19:32 heeft Sebastian Humenda het volgende geschreven:

> Deutsch-Wörterbuch!

Sebastian Humenda

unread,
Aug 3, 2011, 2:04:34 PM8/3/11
to braill...@googlegroups.com
Hallo,

Bert Frees <bert...@gmail.com> wrote on So, Jul 31, 2011 at 08:18:58 +0200:
>I forgot to mention that we added a parameter to the script because
>the script caused build errors on CentOS. The reason was that the OS
>detection mechanism can detect Linux, but it can't distinguish
>between Debian and CentOS.
>
>To use the Debian specific properties, the new parameter
>useExternalJarsOnLinux must be set to true:

Thanks, now everything builds fine.

Greetings
Sebastian
--
Test the free Latin-German dictionary | Teste das freie Latein-Deutsch-W�rterbuch!

Joel Håkansson

unread,
Aug 8, 2011, 2:58:10 AM8/8/11
to braill...@googlegroups.com
Hi Sebastian,

I apologize for making this change without informing you.

And thanks Bert for clearing things up! :)

Best,
Joel

-----Ursprungligt meddelande-----
Från: braill...@googlegroups.com [mailto:braill...@googlegroups.com] För Bert Frees
Skickat: den 31 juli 2011 20:19
Till: braill...@googlegroups.com
Ämne: Re: Again build errors

Reply all
Reply to author
Forward
0 new messages