Thanks, the command did work. What does the argument "-q agent_license" do? I was able to get the first command I was using to work as well. I noticed when I executed with the -q argument, it showed that two out of two jobs were completed for that upload and when I executed without the -q, it showed that one out of one job completed for that upload.. Why is that?
Can the upload using the cp2foss command be deleted through the UI? When I select to delete upload files, it shows the folder name in the drop-down list, but when I select the folder, there is no file displayed to delete. Also, can the folder be deleted through the UI? ________________________________ From: Mark Donohoe <[email protected]> To: "[email protected]" <[email protected]> Cc: "[email protected]" <[email protected]> Sent: Friday, June 26, 2009 2:38:10 PM Subject: Re: [FOSSology] Executing cp2foss command [email protected] wrote: > Hi Mark, > Thanks for the patch. I applied it but the upload still didn't work. I've >attached the output and also a screenshot of when I select Browse through the >UI. I did not see a test directory get created under tmp either. Any ideas >what I'm doing wrong? Thanks > Cloudczm, hmmm, I was not able to reproduce your problem on Lenny. I could upload a jar file just fine. I used: cp2foss -p tmp -n test -d "testing" -w -a /http://localhost/~markd/public_html/org.eclipse.core.jobs_3.4.0.v20080512.jar cp2foss -p tmp -n test -d "testing" -w -a http://localhost/test.jar A couple of notes. 1. you don't need -w or -a, they don't really do anything anymore, deprecated. 2. -p means create a folder tmp under Software Repository in the db. That appeared to work for you. Are you saying the you didn't see a file called 'test' under the folder tmp? 3. Was the test.jar file in your localhost document root so it could be uploaded? 4. try the following: cp2foss -q agent_license -p tmp1 -n test2 -d "test upload" <path-to-test.jar> The above should: 1. upload the jar file, unpack it.., note you don't need the http.... 2. The upload dame is test2 (as opposed to test.jar) 3. The description for this upload is: "test upload" 4. a license analysis will be run on the file After issuing the command, you should be able to use the browser to monitor the progress of the jobs with the menu: Jobs->details, and then refresh every once and a while. Please let me know about your results. --- Mark Donohoe MOST/OSTT, Cupertino CA. fossology.org
_______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology

