Hi Kotrappa,

 

Agree it would be easier to use if asked to overwrite.  The reason for not
prompting is to reduce the possibility of an error if using the tools within
a script.  Perhaps we could add an option "-force" or "-overwrite"?

 

I'll add a bug to track the enhancement:
https://bugs.linuxfoundation.org/show_bug.cgi?id=1202

 

Gary

 

From: [email protected] [mailto:[email protected]]

Sent: Wednesday, April 23, 2014 12:01 AM
To: [email protected]; [email protected]
Cc: [email protected]; [email protected]
Subject: [SPDX tools 1.2.5] Request for enhancement - give option user to
overwrite already existing file.

 

Hello Gary,

 

For error: it is better to ask user to overwrite existing file.? What do you
think? Each time for error we need to delete file and run command again.

 

D:\Kotrappa\FOSS\SPDXTools\SPDXTools-v1.2.5>java -jar
spdx-tools-1.2.5-jar-with-dependencies.jar  SpreadsheetToTag
libc_so_spdx.xls libc_so_spdx.spdx

Error: File libc_so_spdx.spdx already exists - please specify a new file.

 

 

Best regards

Kotrappa.

 

The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.

www.wipro.com

_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech

Reply via email to