Hi Gus, 

It looks a variable was not set in the buildfile. It was expecting "archive" to be set 
to something. Easy enough to fix. But I just looked at my "contrib" dir and it is 
empty ... So that's why the tar file that gets built is empty ... 


----------------------------------------------------------------
Bob Celestino
SAS Research and Development
919 - 531 - 9425
[EMAIL PROTECTED]

SAS - The Power to Know


  > -----Original Message-----
  > From: Gus Heck [mailto:[EMAIL PROTECTED] 
  > Sent: Thursday, November 13, 2003 11:11 AM
  > To: OJB Users List
  > Subject: more build.xml issues
  > 
  > 
  > Looks like some dependancy for the contrib target is missing or for 
  > whatever reason the archive property never gets defined. The target 
  > seems to work but the filenames are rather funny looking. 
  > It als seems 
  > to be 10k of nothing. Shell output appended.
  > 
  > -Gus
  > 
  > [EMAIL PROTECTED] db-ojb-1.0.rc4]$ ant contrib
  > Buildfile: build.xml
  > 
  > contrib:
  >       [tar] Building tar: 
  > /home/gus/zip/db-ojb-1.0.rc4/dist/${archive}-contrib.tar
  >      [gzip] Building: 
  > /home/gus/zip/db-ojb-1.0.rc4/dist/${archive}-contrib.tgz
  >    [delete] Deleting: 
  > /home/gus/zip/db-ojb-1.0.rc4/dist/${archive}-contrib.tar
  > 
  > BUILD SUCCESSFUL
  > Total time: 1 second
  > [EMAIL PROTECTED] db-ojb-1.0.rc4]$ ls
  > ${archive}-contrib.tgz
  > [EMAIL PROTECTED] dist]$ gunzip \$\{archive\}-contrib.tgz
  > [EMAIL PROTECTED] dist]$ ls
  > ${archive}-contrib.tar
  > [EMAIL PROTECTED] dist]$ ll
  > total 12
  > -rw-rw-r--    1 gus      gus         10240 Nov 13 11:04 
  > ${archive}-contrib.tar
  > [EMAIL PROTECTED] dist]$ emacs \$\{archive\}-contrib.tar
  > [EMAIL PROTECTED] dist]$ tar -xvf \$\{archive\}-contrib.tar
  > [EMAIL PROTECTED] dist]$ ls
  > ${archive}-contrib.tar
  > [EMAIL PROTECTED] dist]$
  > 
  > 
  > ------------------------------------------------------------
  > ---------
  > To unsubscribe, e-mail: [EMAIL PROTECTED]
  > For additional commands, e-mail: [EMAIL PROTECTED]
  > 
  > 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to