[jopendocument] Re: jOpenDocument is a uberjar? Why? Why not use Maven to build jars?

2013-10-23 Thread Антон Мацюк


 denixx@denixxwork:~/NetBeansProjects/jOpenDocument-src-1.3 
 /home/denixx/soft/netbeans-7.3.1/java/ant/bin/ant

 Buildfile: /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/build.xml


 init:


 dist.init:

 [mkdir] Created dir: 
 /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/dist


 distJava5.ok:


 distJava5.nok:

  [echo] Not building for java 5 since jre5.dir is not defined


 distJava5:


 distJava6:

  [echo] Building JDK6 version

 [mkdir] Created dir: 
 /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/build

 [javac] 
 /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/build.xml:49: warning: 
 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set 
 to false for repeatable builds

 [javac] Compiling 689 source files to 
 /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/build

 [javac] 
 /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/src/org/jopendocument/dom/Library.java:649:
  
 error: name clash: VcanBeMerged(MapString,V,MapString,V) in 
 EmbeddedLibrary and canBeMerged(MapString,Library,MapString,Library) in 
 Library have the same erasure, yet neither hides the other

 [javac] static private final V boolean canBeMerged(final 
 MapString, V m1, final MapString, V m2) {

 [javac]  ^

 [javac]   where V is a type-variable:

 [javac] V extends Object declared in method 
 VcanBeMerged(MapString,V,MapString,V)


I have one error when trying to build from sources.
I even have no idea what it is about :)
Also it shows a lot of warnings, but who cares about them ;)

denixx@denixxwork:~/NetBeansProjects/jOpenDocument-src-1.3 
 /home/denixx/soft/netbeans-7.3.1/java/ant/bin/ant -version

 Apache Ant(TM) version 1.8.4 compiled on May 22 2012


I'll appreciate some help.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
jOpenDocument group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jopendocument+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [jopendocument] Re: jOpenDocument is a uberjar? Why? Why not use Maven to build jars?

2013-10-23 Thread Guillaume Maillard
Hi,

upgrade your JDK.

Regards,
Guillaume


2013/10/23 Антон Мацюк denixx.bay...@gmail.com

 denixx@denixxwork:~/NetBeansProjects/jOpenDocument-src-1.3
 /home/denixx/soft/netbeans-7.3.1/java/ant/bin/ant

 Buildfile: /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/build.xml


 init:


 dist.init:

 [mkdir] Created dir:
 /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/dist


 distJava5.ok:


 distJava5.nok:

  [echo] Not building for java 5 since jre5.dir is not defined


 distJava5:


 distJava6:

  [echo] Building JDK6 version

 [mkdir] Created dir:
 /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/build

 [javac]
 /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/build.xml:49: warning:
 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
 to false for repeatable builds

 [javac] Compiling 689 source files to
 /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/build

 [javac]
 /home/denixx/NetBeansProjects/jOpenDocument-src-1.3/src/org/jopendocument/dom/Library.java:649:
 error: name clash: VcanBeMerged(MapString,V,MapString,V) in
 EmbeddedLibrary and canBeMerged(MapString,Library,MapString,Library) in
 Library have the same erasure, yet neither hides the other

 [javac] static private final V boolean canBeMerged(final
 MapString, V m1, final MapString, V m2) {

 [javac]  ^

 [javac]   where V is a type-variable:

 [javac] V extends Object declared in method
 VcanBeMerged(MapString,V,MapString,V)


 I have one error when trying to build from sources.
 I even have no idea what it is about :)
 Also it shows a lot of warnings, but who cares about them ;)

 denixx@denixxwork:~/NetBeansProjects/jOpenDocument-src-1.3
 /home/denixx/soft/netbeans-7.3.1/java/ant/bin/ant -version

 Apache Ant(TM) version 1.8.4 compiled on May 22 2012


 I'll appreciate some help.

 --

 ---
 You received this message because you are subscribed to the Google Groups
 jOpenDocument group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jopendocument+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 

--- 
You received this message because you are subscribed to the Google Groups 
jOpenDocument group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jopendocument+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.