Re: [Spacewalk-devel] Cannot find buildconf/build-props-${tomcat}.xml

2011-01-27 Thread Tomas Lestach

On 01/09/2011 01:07 PM, Jan Pazdziora wrote:

On Sun, Jan 09, 2011 at 01:58:05PM +0800, Colin Coe wrote:


I've run into a problem with ant on SW v1.3 nightly and F14 (x86_64).

---
[coec@sw-ora java]$ ant all
Buildfile: build.xml
  [echo] Importing buildconf/build-props-${tomcat}.xml

BUILD FAILED
/home/coec/git/spacewalk/java/build.xml:8: Cannot find
buildconf/build-props-${tomcat}.xml imported from
/home/coec/git/spacewalk/java/build.xml

Total time: 0 seconds
[coec@sw-ora java]$
---

Could someone point me in the right direction?


Looking at

java/spacewalk-java.spec

and its %build section, you should define

-Dtomcat=tomcat6

when running ant.



It's not required any more to define the tomcat version.
Removed in commit: e10fd990c9019ebd3fb5fffe3954ed48e20abeb9

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

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


Re: [Spacewalk-devel] Cannot find buildconf/build-props-${tomcat}.xml

2011-01-09 Thread Colin Coe
On Sun, Jan 9, 2011 at 8:07 PM, Jan Pazdziora jpazdzi...@redhat.com wrote:
 On Sun, Jan 09, 2011 at 01:58:05PM +0800, Colin Coe wrote:

 I've run into a problem with ant on SW v1.3 nightly and F14 (x86_64).

 ---
 [c...@sw-ora java]$ ant all
 Buildfile: build.xml
      [echo] Importing buildconf/build-props-${tomcat}.xml

 BUILD FAILED
 /home/coec/git/spacewalk/java/build.xml:8: Cannot find
 buildconf/build-props-${tomcat}.xml imported from
 /home/coec/git/spacewalk/java/build.xml

 Total time: 0 seconds
 [c...@sw-ora java]$
 ---

 Could someone point me in the right direction?

 Looking at

        java/spacewalk-java.spec

 and its %build section, you should define

        -Dtomcat=tomcat6

 when running ant.

 --
 Jan Pazdziora
 Principal Software Engineer, Satellite Engineering, Red Hat


Thanks, that did it

CC

-- 
RHCE#805007969328369

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