Skip to content

Commit

Permalink
add jdbclib-typemap and use to stub out types we dont care about for now
Browse files Browse the repository at this point in the history
  • Loading branch information
timbunce committed Jul 21, 2010
1 parent 5cf2263 commit 1841b49
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions jdbclib-typemap
@@ -0,0 +1,19 @@
java.net.URLStreamHandler Any
java.net.URLConnection Any
java.net.URLStreamHandlerFactory Any
java.net.URL Str
java.sql.Clob Str
java.sql.NClob Str
java.sql.Blob Buf
java.sql.SQLXML Str
java.io.PrintStream IO
java.sql.SQLPermission Any
java.security.BasicPermission Any
javax.sql.ConnectionEvent Any
javax.sql.ConnectionEventListener Any
javax.sql.StatementEventListener Any
javax.sql.RowSetListener Any
javax.sql.XAConnection Any
java.io.PrintWriter IO


2 changes: 1 addition & 1 deletion jdbclib-update.pl
Expand Up @@ -32,7 +32,7 @@ =head1 DESCRIPTION
system qq{rm -rf $outdir.prev} if -d "$outdir.prev";
system qq{mv -f $outdir $outdir.prev} if -d $outdir;

system qq{time perl -Mlib=lib bin/java2perl6api --outdir $outdir @ARGV `cat jdbclib-classes.txt`};
system qq{time perl -Mlib=lib bin/java2perl6api --add_types jdbclib-typemap --outdir $outdir @ARGV `cat jdbclib-classes.txt`};

system qq{diff -wr --exclude=*.pir -u $outdir.prev $outdir} || warn "Output differs\n"
if -d "$outdir.prev";
Expand Down

0 comments on commit 1841b49

Please sign in to comment.