Success! Here's what I did to get Archiva to recognize my .swf/.swc, it may have been the "long" road but it worked.
0) Added **/*.swf and **/*.swc to the "Artifacts" section on the "Repository Scanning" page. 1) Stopped Archiva 2) Removed (rm -rf) *.swf/*.swc from the managed repos file system both internal and snapshots.. 3) Copied (cp -R) the *.swf/*.swc from my old repo back to the managed repos file system both internal and snapshots. 4) Started Archiva 5) Selected "Scan Repository Now" for both the internal and snapshots repos. 6) Browsed for the .swf/.swc and I can now download the pom and the .swf/.swc artifacts! Thanks for your help Wendy and Deng. Scott Wendy Smoak-3 wrote: > > On Sun, Jun 22, 2008 at 6:55 AM, Scott Williams > <[EMAIL PROTECTED]> wrote: > >> Thank you for your help. How does one add a new index-content file type? >> I >> added **/*.swf and **/*.swc to the "Repository Scanning - File Types" >> page >> on the "Repository Scanning" left nav tab, selected "Scan Repository Now" >> and nothing changed, I can only Download the pom of the .swfs/.swcs and >> not >> the actual artifact. > > I think you have to do both "Scan Repository Now" and "Update Database". > > In addition, it may not "see" things with a file timestamp that is > older than the last scan. > > First, try "Update Database", then if that doesn't work, try > "touch"ing the file to change the timestamp. > > If that still doesn't work, then stop Archiva, delete the database and > index files, and re-start it. Scan and update again, and the files > should show up. > > Please let us know the results, IMO this is something that needs to be > improved. (You can also find us on irc.codehaus.org in #archiva .) > > Thanks, > -- > Wendy > > -- View this message in context: http://www.nabble.com/Can-Archiva-serve-up-.swf-.swc-artifacts--tp18052376p18055260.html Sent from the archiva-users mailing list archive at Nabble.com.
