[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: New mass attribute tool: gattrib_csv



Joshua wrote:

> I wrote a tool which exports and imports the properties from 
> a project to and to a csv file.   The format is simular to that of the 
> bom2 format as it groups lines together which have similar data.  This 
> way I could use oocalc to mass edit the attributes.

This is great! 
I always wondered, why geda tries to reinvent spread sheet wheels
with gattrib. 


> It is written in java.

The keyword "java" makes me frown -- I experienced too many 
incompatibilities with java applications in the past. A scheme
script would make my frown even more, though ;-)


> The following command compiles it to exe.
> 
> gcj --main=gattrib_csv -o gattrib_csv gattrib_csv.java

With the gcj packaged in gcj-jdk of debian/wheezy I get a warning:

/-----------------
gattrib_csv.java:559: warning: The field gattrib_csv.DeviceDeff.symbol is never read locally
	String symbol = "";
	       ^^^^^^
1 problem (1 warning)
\----------------

The binary executed fine on one of my schematics. I was able to 
export, change and import attributes.


---<)kaimartin(>---
PS: IMHO, the ability to do this kind of mass edits should be accessible
from the gschem GUI. 
-- 
Kai-Martin Knaak                                  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik      fax: +49-511-762-2211	
Welfengarten 1, 30167 Hannover           http://www.iqo.uni-hannover.de
GPG key:    http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user