Re: [Spacewalk-devel] Problem building dev workstation

2013-11-11 Thread Bo Maryniuk
On Mon, Nov 11, 2013 at 05:43:32PM +0800, Colin Coe wrote:
 I ended up rebuilding the VM and starting again.  I had missed a step or two.

My few cents:

I wrote a little workaroung thing that could probably help you (if nothing was
broken in between last commit and today):

   https://github.com/isbm/spacewalk-power-toys

But I am using CentOS for it, not sure how it will fly on Fedora.

HTH.

-- 
Bo Maryniuk

SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg)
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer

Support mental health or I'll kill you!

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Problem building dev workstation

2013-11-11 Thread Colin Coe
Will check it out. Am using rhel6 as f19 has no openjdk-1.6.0.

CC
On Nov 11, 2013 6:03 PM, Bo Maryniuk b...@suse.de wrote:

 On Mon, Nov 11, 2013 at 05:43:32PM +0800, Colin Coe wrote:
  I ended up rebuilding the VM and starting again.  I had missed a step or
 two.

 My few cents:

 I wrote a little workaroung thing that could probably help you (if nothing
 was
 broken in between last commit and today):

https://github.com/isbm/spacewalk-power-toys

 But I am using CentOS for it, not sure how it will fly on Fedora.

 HTH.

 --
 Bo Maryniuk

 SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg)
 GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer

 Support mental health or I'll kill you!

 ___
 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

Re: [Spacewalk-devel] Problem building dev workstation

2013-11-11 Thread Colin Coe
Hi Bo

Just looking at this now.  I have a pre-built, working spacewalk
environment and I want to turn it into a dev environment.  Does the
script cater for this?  What options are applicable?

Thanks

CC

On Mon, Nov 11, 2013 at 6:13 PM, Colin Coe colin@gmail.com wrote:
 Will check it out. Am using rhel6 as f19 has no openjdk-1.6.0.

 CC

 On Nov 11, 2013 6:03 PM, Bo Maryniuk b...@suse.de wrote:

 On Mon, Nov 11, 2013 at 05:43:32PM +0800, Colin Coe wrote:
  I ended up rebuilding the VM and starting again.  I had missed a step or
  two.

 My few cents:

 I wrote a little workaroung thing that could probably help you (if nothing
 was
 broken in between last commit and today):

https://github.com/isbm/spacewalk-power-toys

 But I am using CentOS for it, not sure how it will fly on Fedora.

 HTH.

 --
 Bo Maryniuk

 SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg)
 GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer

 Support mental health or I'll kill you!

 ___
 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


Re: [Spacewalk-devel] Problem building dev workstation

2013-11-11 Thread Bo Maryniuk
On Mon, Nov 11, 2013 at 07:09:35PM +0800, Colin Coe wrote:
 Hi Bo
 
 Just looking at this now.  I have a pre-built, working spacewalk
 environment and I want to turn it into a dev environment.  Does the
 script cater for this?  What options are applicable?

Well, it does as described: 

1. It puts the Spacewalk into a bare minimal JeOS, adds required stuff and
   sets up your dev env with an ability to deploy to a remote host (it does
   not uses symlinking, but rsync). 

2. Then you should git-clone the repository and run bsp -r within the
   $SPACEWALK_SOURCES/java directory (see --generate-config), and it will
   try to assemble the whole thing from the current sources and will deploy 
over.

You could try skipping step #1.

P.S. But I am not sure if the step #1 is still working (last time it seems to
be OK was around two months ago). Give it a try: after all, your VM shoud be
able to make snapshots... :-)

-- 
Bo Maryniuk

SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg)
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer

You have delighted us long enough.

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Problem building dev workstation

2013-11-08 Thread Colin Coe
Hi

I've got the jars now and its looking much better.

Now though, I getting
[taskdef] ... Warning: taskdef class net.sf.antcontrib.logic.For cannot be found
[taskdef]] Could not load definitions from emma_ant.properties. It
coukd not be found
...
spacewalk/java/buildconf/build-webapp.xml:47: Problem: failed to
create task or type for
Cause: the name is undefined

Any thoughts on this?

CC


On Fri, Nov 8, 2013 at 6:01 PM, Tomas Lestach tlest...@redhat.com wrote:
 I found that apache-ivy had been installed instead of ivy (from
 jpackage).  I've now corrected this but I'm still getting the
 /usr/bin/build-jar-repository: error: Could not find ... Java
 extension for this JVM for a whole bunch of things (quartz, jpam,
 etc)

 Looking at a past post, I see the jars used to exist at
 http://jmrodri.fedorapeople.org/ivy/ but there are no jars in this
 directory now.

 This definitely isn't correct.

 $ grep ivyserver java/buildconf/build-props.xml
   property name=ivyserver value=http://sherr.fedorapeople.org; /


 http://sherr.fedorapeople.org/ivy/ contains (hopefully) all the necessary 
 jars. :-)


 Regards,
 --
 Tomas Lestach
 Red Hat Satellite Engineering, Red Hat

 ___
 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


Re: [Spacewalk-devel] Problem building dev workstation

2013-11-07 Thread Tomas Lestach
 /usr/local/spacewalk.git/java/buildconf/build-taskdefs.xml:5: taskdef
 class fr.jayasoft.ivy.ant.IvyRetrieve cannot be found

Hey Colin,

this looks like a non-compatible ivy version.
I know, guys used some old version from jpackage repo in the past.
http://mirrors.dotsrc.org/jpackage/1.7/generic/free/RPMS/ivy-1.3.1-1jpp.noarch.rpm


But looking at
https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup?action=diffversion=81old_version=80
the ivy installation was removed.

Stephen, would you help here?

Tomas
--
Tomas Lestach
Red Hat Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Problem building dev workstation

2013-11-07 Thread Colin Coe
Hi

I found that apache-ivy had been installed instead of ivy (from
jpackage).  I've now corrected this but I'm still getting the
/usr/bin/build-jar-repository: error: Could not find ... Java
extension for this JVM for a whole bunch of things (quartz, jpam,
etc)

Looking at a past post, I see the jars used to exist at
http://jmrodri.fedorapeople.org/ivy/ but there are no jars in this
directory now.

Still poking at this...

Thanks

CC

On Thu, Nov 7, 2013 at 4:56 PM, Tomas Lestach tlest...@redhat.com wrote:
 /usr/local/spacewalk.git/java/buildconf/build-taskdefs.xml:5: taskdef
 class fr.jayasoft.ivy.ant.IvyRetrieve cannot be found

 Hey Colin,

 this looks like a non-compatible ivy version.
 I know, guys used some old version from jpackage repo in the past.
 http://mirrors.dotsrc.org/jpackage/1.7/generic/free/RPMS/ivy-1.3.1-1jpp.noarch.rpm


 But looking at
 https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup?action=diffversion=81old_version=80
 the ivy installation was removed.

 Stephen, would you help here?

 Tomas
 --
 Tomas Lestach
 Red Hat Satellite Engineering, Red Hat

 ___
 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


Re: [Spacewalk-devel] Problem building dev workstation

2013-11-06 Thread Colin Coe
Hi all

I've tried this now on F19 (was using RHEL6).  Under F19, I get:
---
Buildfile: /root/spacewalk/java/build.xml
 [echo] Importing buildconf/build-props-tomcat7.xml

set-default-config-dir:

init-install:

boot-deps:

init-ivy:

resolve-ivy:

resolve-local:
 [echo] Symlinking ant ant/ant-junit ant-contrib antlr
tomcat/jasper tomcat/jasper-el tomcat/jasper-jdt junit
log4j  regexp jmock jmock-cglib postgresql-jdbc   bcel
cglib commons-beanutils commons-cli commons-codec
commons-collections commons-digester commons-discovery
commons-el commons-fileupload commons-io commons-lang commons-logging
commons-validator hibernate3/hibernate-ehcache-3
hibernate3/hibernate-c3p0-3 hibernate3/hibernate-core-3
hibernate/hibernate-commons-annotations slf4j/api jboss-logging
javassist slf4j/log4j12 ehcache-core hibernate-jpa-2.0-api
 tomcat tomcat-jsp-2.2-api tomcat-servlet-3.0-api tomcat-el-2.2-api
javamail jdom jpam dwr  log4j oro redstone-xmlrpc-client
redstone-xmlrpc struts struts-extras struts-taglib
jcommon stringtree-json postgresql-jdbc  jfreechart
taglibs-core quartz  concurrent simple-core simple-xml
susestudio-java-client tanukiwrapper
 [exec] /usr/bin/build-jar-repository: error: Could not find antlr
Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
tomcat/jasper Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
tomcat/jasper-el Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
tomcat/jasper-jdt Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find log4j
Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
commons-beanutils Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
commons-collections Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
commons-digester Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
commons-discovery Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
commons-el Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
commons-fileupload Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
commons-io Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
commons-lang Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
commons-validator Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
hibernate3/hibernate-ehcache-3 Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
hibernate3/hibernate-c3p0-3 Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
hibernate3/hibernate-core-3 Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
hibernate/hibernate-commons-annotations Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
slf4j/api Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
jboss-logging Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
javassist Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
slf4j/log4j12 Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
ehcache-core Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
hibernate-jpa-2.0-api Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
tomcat Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
tomcat-jsp-2.2-api Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
tomcat-servlet-3.0-api Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
tomcat-el-2.2-api Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
javamail Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find jdom
Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find jpam
Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find dwr
Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find log4j
Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
redstone-xmlrpc-client Java extension for this JVM
 [exec] /usr/bin/build-jar-repository: error: Could not find
redstone-xmlrpc Java