Tuesday, May 22, 2012

StaticWeaveAntTask No source was specified for weaving

Getting the error below when running in Eclipse?

Exception Description: An exception was thrown while weaving: XXXXX
Internal Exception: Exception [EclipseLink-40002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.StaticWeaveException
Exception Description: No source was specified for weaving

      
 Try running in a separate JRE:
     Ant View, Right Click entry, Run As >> External tools configuration
     Select this build.xml, JRE, Separate JRE

Wednesday, May 2, 2012

Postgres puttycyg no password prompt

I couldn't figure out why I would never get a password prompt when issuing postgres commands in puttycyg/cygwin terminal.  Sounds alot like this issue from 7 years ago.

http://archives.postgresql.org/pgsql-general/2005-11/msg00295.php

Solutions:
Put passwords in  here: /AppData/Roaming/postgresql/pgpass.conf

or use the Windows CMD shell.