hmm, I am having no problems building the java side on the Fedora 12 x86_64. The error basically means your missing some stuff in your classpath at build time. You could try and running "ant clean-cache" which will clean out your ivy repo. I removed the stuff out of java/lib as well so it could all get sucked in again.
On Mon, Mar 1, 2010 at 4:58 AM, Tomas Lestach <tlest...@redhat.com> wrote: > Hey Colin, > > I'm running WebDevSetup on x86_64 F12 (still with tomcat5, but I plan to > upgrade soon). I remember, it wasn't that easy to setup. :-) > > Your jaxp_parser_impl issue: > $ locate jaxp_parser_impl > /etc/alternatives/jaxp_parser_impl > /usr/share/java/jaxp_parser_impl.jar > /var/lib/alternatives/jaxp_parser_impl > /var/lib/tomcat5/common/endorsed/[jaxp_parser_impl].jar > $ rpm -qf /usr/share/java/jaxp_parser_impl.jar > xerces-j2-2.7.1-12.3.fc12.1.x86_64 > $ ll /var/lib/tomcat5/common/endorsed/[jaxp_parser_impl].jar > lrwxrwxrwx. 1 root root 36 2009-11-20 02:34 > /var/lib/tomcat5/common/endorsed/[jaxp_parser_impl].jar -> > /usr/share/java/jaxp_parser_impl.jar > $ alternatives --display jaxp_parser_impl > jaxp_parser_impl - status is auto. > link currently points to /usr/share/java/xerces-j2.jar > /usr/share/java/libgcj-4.3.2.jar - priority 20 > /usr/share/java/libgcj-4.4.1.jar - priority 20 > /usr/share/java/libgcj-4.4.0.jar - priority 20 > /usr/share/java/xerces-j2.jar - priority 40 > /usr/share/java/libgcj-4.4.2.jar - priority 20 > /usr/share/java/libgcj-4.4.3.jar - priority 20 > Current `best' version is /usr/share/java/xerces-j2.jar. > > I'm using : > $ java -version > java version "1.6.0_0" > OpenJDK Runtime Environment (IcedTea6 1.6) (fedora-33.b16.fc12-x86_64) > OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) > > Regarding xml-common-apis: > # rpm -qa 'xml-commons-apis*' > xml-commons-apis-1.3.04-3.5.fc12.x86_64 > xml-commons-apis12-1.2.04-3.5.fc12.x86_64 > > Feel free to ping me on #satellite/#satellite-devel or contact me off list, > if you'd need some info about my setup. > > Regards, > Tomas > > -- > Tomas Lestach > RHN Satellite Engineering, Red Hat > > ----- "Colin Coe" <colin....@gmail.com> wrote: > > > [c...@rsim ~]$ locate java/lib/xerces > > /home/coec/git/spacewalk/java/lib/xerces-j2-2.6.2.jar > > [c...@rsim ~]$ java -version > > java version "1.6.0_0" > > OpenJDK Runtime Environment (IcedTea6 1.6) (fedora-33.b16.fc12-i386) > > OpenJDK Client VM (build 14.0-b16, mixed mode) > > [c...@rsim ~]$ > > > > CC > > > > > > On Mon, Mar 1, 2010 at 11:18 AM, Travis Camechis <camec...@gmail.com> > > wrote: > > > Also do you have the xerces-j2-2.6.2.jar under the java/lib > > directory ? > > > On Sun, Feb 28, 2010 at 10:11 PM, Travis Camechis > > <camec...@gmail.com> > > > wrote: > > >> > > >> what version of java are you using? "java -version" > > >> On Sun, Feb 28, 2010 at 9:55 PM, Colin Coe <colin....@gmail.com> > > wrote: > > >>> > > >>> This is very frustrating. > > >>> > > >>> --- > > >>> [c...@rsim java]$ ant clean all > > >>> /usr/bin/build-classpath: error: Could not find jaxp_parser_impl > > Java > > >>> extension for this JVM > > >>> /usr/bin/build-classpath: error: Could not find xml-commons-apis > > Java > > >>> extension for this JVM > > >>> /usr/bin/build-classpath: error: Some specified jars were not > > found > > >>> Buildfile: build.xml > > >>> > > >>> clean: > > >>> [delete] Deleting directory /home/coec/git/spacewalk/java/build > > >>> > > >>> boot-deps: > > >>> [mkdir] Created dir: > > /home/coec/git/spacewalk/java/build/boot-lib > > >>> > > >>> init-ivy: > > >>> > > >>> resolve-ivy: > > >>> :: Ivy non official version :: http://ivy.jayasoft.org/ :: > > >>> no configuration file found, using default... > > >>> :: configuring :: url = > > >>> > > >>> > > > jar:file:/home/coec/git/spacewalk/java/build/boot-lib/ivy.jar!/fr/jayasoft/ivy/conf/ivyconf.xml > > >>> :: resolving dependencies :: [ redhat | rhn-java | > > >>> work...@rsim.coesta.com ] > > >>> confs: [default] > > >>> :: resolution report :: > > >>> > > >>> > > --------------------------------------------------------------------- > > >>> | | modules || > > artifacts > > >>> | > > >>> | conf | number| search|dwnlded|evicted|| > > >>> number|dwnlded| > > >>> > > >>> > > --------------------------------------------------------------------- > > >>> | default | 71 | 0 | 0 | 0 || 71 > > | 0 > > >>> | > > >>> > > >>> > > --------------------------------------------------------------------- > > >>> :: retrieving :: [ redhat | rhn-java ] > > >>> confs: [default] > > >>> 0 artifacts copied, 71 already retrieved > > >>> > > >>> resolve-local: > > >>> > > >>> resolve: > > >>> > > >>> test-deps: > > >>> > > >>> link-jars: > > >>> [mkdir] Created dir: > > /home/coec/git/spacewalk/java/build/build-lib > > >>> [mkdir] Created dir: > > /home/coec/git/spacewalk/java/build/run-lib > > >>> [mkdir] Created dir: > > >>> /home/coec/git/spacewalk/java/build/run-lib/external > > >>> [mkdir] Created dir: > > /home/coec/git/spacewalk/java/build/test-lib > > >>> [exec] WARNING: ant was not found. > > >>> [exec] WARNING: ant-junit was not found. > > >>> [exec] WARNING: velocity was not found. > > >>> [exec] WARNING: jmap was not found. > > >>> [exec] WARNING: velocity was not found. > > >>> [copy] Copying 2 files to > > >>> /home/coec/git/spacewalk/java/build/build-lib > > >>> [copy] Copying 2 files to > > >>> /home/coec/git/spacewalk/java/build/run-lib/external > > >>> > > >>> compile-internal: > > >>> [mkdir] Created dir: > > /home/coec/git/spacewalk/java/build/classes > > >>> [javac] Compiling 15 source files to > > >>> /home/coec/git/spacewalk/java/build/classes > > >>> [javac] Note: > > >>> > > >>> > > > /home/coec/git/spacewalk/java/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java > > >>> uses unchecked or unsafe operations. > > >>> [javac] Note: Recompile with -Xlint:unchecked for details. > > >>> > > >>> init-taskdefs: > > >>> > > >>> set-default-config-dir: > > >>> > > >>> init: > > >>> > > >>> prepare: > > >>> [mkdir] Created dir: /home/coec/git/spacewalk/java/build/src > > >>> > > >>> do-compile-main: > > >>> [javac] Compiling 2496 source files to > > >>> /home/coec/git/spacewalk/java/build/classes > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:26: > > >>> package org.apache.xml.serialize does not exis t > > >>> [javac] import org.apache.xml.serialize.OutputFormat; > > >>> [javac] ^ > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:27: > > >>> package org.apache.xml.serialize does not exis t > > >>> [javac] import org.apache.xml.serialize.XMLSerializer; > > >>> [javac] ^ > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:17: > > >>> package org.apache.xml.serialize does not exist > > >>> [javac] import org.apache.xml.serialize.OutputFormat; > > >>> [javac] ^ > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:18: > > >>> package org.apache.xml.serialize does not exist > > >>> [javac] import org.apache.xml.serialize.XMLSerializer; > > >>> [javac] ^ > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:63: > > >>> cannot find symbol > > >>> [javac] symbol : class OutputFormat > > >>> [javac] location: class > > >>> com.redhat.rhn.taskomatic.task.repomd.RepomdWriter > > >>> [javac] OutputFormat of = new OutputFormat(); > > >>> [javac] ^ > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:63: > > >>> cannot find symbol > > >>> [javac] symbol : class OutputFormat > > >>> [javac] location: class > > >>> com.redhat.rhn.taskomatic.task.repomd.RepomdWriter > > >>> [javac] OutputFormat of = new OutputFormat(); > > >>> [javac] ^ > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:66: > > >>> cannot find symbol > > >>> [javac] symbol : class XMLSerializer > > >>> [javac] location: class > > >>> com.redhat.rhn.taskomatic.task.repomd.RepomdWriter > > >>> [javac] XMLSerializer serializer = new > > XMLSerializer(writer, > > >>> of); > > >>> [javac] ^ > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:66: > > >>> cannot find symbol > > >>> [javac] symbol : class XMLSerializer > > >>> [javac] location: class > > >>> com.redhat.rhn.taskomatic.task.repomd.RepomdWriter > > >>> [javac] XMLSerializer serializer = new > > XMLSerializer(writer, > > >>> of); > > >>> [javac] ^ > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:58: > > >>> cannot find symbol > > >>> [javac] symbol : class OutputFormat > > >>> [javac] location: class > > >>> com.redhat.rhn.taskomatic.task.repomd.RepomdIndexWriter > > >>> [javac] OutputFormat of = new OutputFormat(); > > >>> [javac] ^ > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:58: > > >>> cannot find symbol > > >>> [javac] symbol : class OutputFormat > > >>> [javac] location: class > > >>> com.redhat.rhn.taskomatic.task.repomd.RepomdIndexWriter > > >>> [javac] OutputFormat of = new OutputFormat(); > > >>> [javac] ^ > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:60: > > >>> cannot find symbol > > >>> [javac] symbol : class XMLSerializer > > >>> [javac] location: class > > >>> com.redhat.rhn.taskomatic.task.repomd.RepomdIndexWriter > > >>> [javac] XMLSerializer serializer = new > > XMLSerializer(writerIn, > > >>> of); > > >>> [javac] ^ > > >>> [javac] > > >>> > > > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:60: > > >>> cannot find symbol > > >>> [javac] symbol : class XMLSerializer > > >>> [javac] location: class > > >>> com.redhat.rhn.taskomatic.task.repomd.RepomdIndexWriter > > >>> [javac] XMLSerializer serializer = new > > XMLSerializer(writerIn, > > >>> of); > > >>> [javac] ^ > > >>> [javac] Note: Some input files use or override a deprecated > > API. > > >>> [javac] Note: Recompile with -Xlint:deprecation for details. > > >>> [javac] Note: Some input files use unchecked or unsafe > > operations. > > >>> [javac] Note: Recompile with -Xlint:unchecked for details. > > >>> [javac] 12 errors > > >>> > > >>> BUILD FAILED > > >>> /home/coec/git/spacewalk/java/build.xml:460: Compile failed; see > > the > > >>> compiler error output for details. > > >>> > > >>> Total time: 27 seconds > > >>> --- > > >>> > > >>> On Mon, Mar 1, 2010 at 10:40 AM, Travis Camechis > > <camec...@gmail.com> > > >>> wrote: > > >>> > As far as I know fedora is a supported Dev platform as well as > > CentOS. > > >>> > > > >>> > On Sun, Feb 28, 2010 at 8:57 PM, Colin Coe <colin....@gmail.com> > > wrote: > > >>> >> > > >>> >> Well, since my primary PC died, I no longer have a PC that has > > the > > >>> >> resources to do virtualisation. All I have is the old PC I > > used to > > >>> >> use for spacewalk dev work. > > >>> >> > > >>> >> So, is Fedora a 'supported' dev platform or not? If not, I > > assume > > >>> >> CentOS should be OK? > > >>> >> > > >>> >> CC > > >>> >> > > >>> >> On Sun, Feb 28, 2010 at 10:49 PM, Travis Camechis > > <camec...@gmail.com> > > >>> >> wrote: > > >>> >> > ( more specific on my server) my server is a VM that I use > > cobbler > > >>> >> > and > > >>> >> > koan > > >>> >> > to rebuild it as necessary. > > >>> >> > > > >>> >> > On Sun, Feb 28, 2010 at 9:47 AM, Travis Camechis > > >>> >> > <camec...@gmail.com> > > >>> >> > wrote: > > >>> >> >> > > >>> >> >> The most I have done is checked out the code and built the > > java > > >>> >> >> side. > > >>> >> >> I > > >>> >> >> run my dev server on a separate machine and use scripts to > > push the > > >>> >> >> new > > >>> >> >> wars > > >>> >> >> to it. > > >>> >> >> > > >>> >> >> On Sun, Feb 28, 2010 at 12:28 AM, Colin Coe > > <colin....@gmail.com> > > >>> >> >> wrote: > > >>> >> >>> > > >>> >> >>> Hi all > > >>> >> >>> > > >>> >> >>> I've been following > > >>> >> >>> > > >>> >> >>> > > https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup > > >>> >> >>> but I can't seem to get a working dev environment in Fedora > > 12. > > >>> >> >>> Has > > >>> >> >>> anyone got this going? > > >>> >> >>> > > >>> >> >>> CC > > >>> >> >>> > > >>> >> >>> -- > > >>> >> >>> RHCE#805007969328369 > > >>> >> >>> > > >>> >> >>> _______________________________________________ > > >>> >> >>> Spacewalk-devel mailing list > > >>> >> >>> Spacewalk-devel@redhat.com > > >>> >> >>> https://www.redhat.com/mailman/listinfo/spacewalk-devel > > >>> >> >> > > >>> >> > > > >>> >> > > > >>> >> > _______________________________________________ > > >>> >> > Spacewalk-devel mailing list > > >>> >> > Spacewalk-devel@redhat.com > > >>> >> > https://www.redhat.com/mailman/listinfo/spacewalk-devel > > >>> >> > > > >>> >> > > >>> >> > > >>> >> > > >>> >> -- > > >>> >> RHCE#805007969328369 > > >>> >> > > >>> >> _______________________________________________ > > >>> >> Spacewalk-devel mailing list > > >>> >> Spacewalk-devel@redhat.com > > >>> >> https://www.redhat.com/mailman/listinfo/spacewalk-devel > > >>> > > > >>> > > > >>> > _______________________________________________ > > >>> > Spacewalk-devel mailing list > > >>> > Spacewalk-devel@redhat.com > > >>> > https://www.redhat.com/mailman/listinfo/spacewalk-devel > > >>> > > > >>> > > >>> > > >>> > > >>> -- > > >>> RHCE#805007969328369 > > >>> > > >>> _______________________________________________ > > >>> Spacewalk-devel mailing list > > >>> Spacewalk-devel@redhat.com > > >>> https://www.redhat.com/mailman/listinfo/spacewalk-devel > > >> > > > > > > > > > _______________________________________________ > > > Spacewalk-devel mailing list > > > Spacewalk-devel@redhat.com > > > https://www.redhat.com/mailman/listinfo/spacewalk-devel > > > > > > > > > > > -- > > RHCE#805007969328369 > > > > _______________________________________________ > > Spacewalk-devel mailing list > > Spacewalk-devel@redhat.com > > https://www.redhat.com/mailman/listinfo/spacewalk-devel > > _______________________________________________ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-devel >
_______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel