sudo -u postgres psql postgresNow add local database in PgAdmin, which shouldn't cause any problems.
ALTER USER postgres WITH PASSWORD 'secret';
\q
Saturday, 27 June 2009
Adding local postgres database to PgAdmin in ubuntu
Synaptic makes both (posgres & pgadmin) installations trivial. After installation you must change password of 'postgres' user:
Friday, 26 June 2009
Eclipse minimal installation
Update: I've created an updated (my) version of installation of minimal versionupdated (my) version of installation of minimal version since link referred in this post is dead.
This post explains how to get minimal eclipse installation. This works great! Now i can install plugins by my choice - i don't need nor CVS, nor RST and a lot of other stuff included in JEE version.
Also new plugin installation has been improved a lot in Galileo. Eclipse keeps getting better and better. Can't wait to see other new features and improvements.
Also new plugin installation has been improved a lot in Galileo. Eclipse keeps getting better and better. Can't wait to see other new features and improvements.
Wednesday, 3 June 2009
Maven remote archetype catalogs through proxy
Some days ago created a new maven archetype. Everything went good till i had to deploy it on our maven (Nexus) repository.
First i had to install an archetype plugin. Since i had older Nexus installation, i had to update it to 1.3.x to get that plugin working (later i came across some e-mail treads where developers agreed to create that plugin 1.2.x-compatible... later... :( ).
Finally i could see archetype-catalog.xml through my browser. But when i added it to eclipse as remote file, it gave me WARN messages saying "Error reading archetype catalog http://my.domain.com/service/local/nexus-archetype-plugin/public/archetype-catalog.xml Error transferring file". Now what?!?
It turns out that there's a bug http://jira.codehaus.org/browse/ARCHETYPE-202 - can't fetch remote archetype catalogs through proxy. And no fix versions. yet... Is this the cause?
Now i'm using workaround:
"mvn archetype:generate -DarchetypeCatalog=http://my.domain.com/service/local/nexus-archetype-plugin/public/archetype-catalog.xml"
But why is it working though command line?
There's still much to learn...
First i had to install an archetype plugin. Since i had older Nexus installation, i had to update it to 1.3.x to get that plugin working (later i came across some e-mail treads where developers agreed to create that plugin 1.2.x-compatible... later... :( ).
Finally i could see archetype-catalog.xml through my browser. But when i added it to eclipse as remote file, it gave me WARN messages saying "Error reading archetype catalog http://my.domain.com/service/local/nexus-archetype-plugin/public/archetype-catalog.xml Error transferring file". Now what?!?
It turns out that there's a bug http://jira.codehaus.org/browse/ARCHETYPE-202 - can't fetch remote archetype catalogs through proxy. And no fix versions. yet... Is this the cause?
Now i'm using workaround:
- downloadi XML file and save it as /home/me/.m2/archetype-catalog.xml
- add it to m2eclipse archetypes as local catalog
- repeat after catalog changes :(
"mvn archetype:generate -DarchetypeCatalog=http://my.domain.com/service/local/nexus-archetype-plugin/public/archetype-catalog.xml"
But why is it working though command line?
There's still much to learn...
Subscribe to:
Posts (Atom)