[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