Subversion update dry-run ..
Sep 16, 2009 in Subversion
From http://justaddwater.dk/2008/04/29/how-to-make-a-dry-run-with-svn-update/
svn merge –dry-run -r BASE:HEAD .
Also:
svn status -u
This command will not show conflicts .
Sep 16, 2009 in Subversion
From http://justaddwater.dk/2008/04/29/how-to-make-a-dry-run-with-svn-update/
svn merge –dry-run -r BASE:HEAD .
Also:
svn status -u
This command will not show conflicts .
Aug 26, 2009 in Engineering, Java, JavaUsage, Software
From http://techinterviewcoach.com/blog/?p=30#more-30
Jul 02, 2009 in Books, Java, Software, WebServices
This book is a bit old.. 2002..
import com.bea.jws.*
public class HelloWorld extends Service {
/**
* @operation
* @conversation stateless
*/
public String getHelloWorld() {
return "Hello, World!";
}
}
Other values for @conversation are ’start’, ‘continue’ or
‘finish’. The ’start’ directive, for example, starts a session.
Colophon - European (Alpine) Ibex - a wild goat.
Jul 01, 2009 in UML, Uncategorized
Great introductory article on Eclipse UML Tools
http://www.vogella.de/articles/UML/article.html#uml
Table of Contents
1. UML
1.1. Overview
1.2. Definition
1.3. UML Profiles
2. Installation of Eclipse UML2 Tools
3. Eclipse UML2 Tools
3.1. Creating UML Diagrams
3.2. Multiplicity
3.3. Interfaces
3.4. Viewing the .uml file
4. Thank you
5. Questions and Discussion
6. Appendix: Class diagrams
6.1. Overview
6.2. Classes
6.3. Attributes
6.4. Interfaces
6.5. Relationships
7. Appendix: Model-Driven Architecture (MDA)
7.1. Overview
7.2. Platform Independent Model (PIM)
7.3. Platform Specific Model (PSM)
7.4. Code Mode
8. Links and Literature
For reverse engineering, see “MoDisco” (Model Discovery)
http://www.eclipse.org/gmt/modisco/
For building UML models from legacy packages, here are some
tips:
http://dev.eclipse.org/newslists/news.eclipse.modeling.gmt.modisco/msg00055.html
... - the first one builds a Java Abstract Syntax model (based on the JDT Java API) from a Java compilation unit, this Java model may be then transformed into a UML2 model using an ATL model-to-model transformation (http://www.eclipse.org/m2m/atl/); - the second one builds a UML2 model from a Jar file.
Jun 26, 2009 in Config Manage, cvs
To check for cvs with pserver configuration:
service cvspserver
{
port = 2401
socket_type = stream
protocol = tcp
wait = no
user = root
passenv = PATH
server = /usr/local/bin/cvs
server_args = -f –allow-root=/opt/cvs pserver
}
$ cvs passwd -a user (it will ask for a password)
See http://devguy.com/fp/cfgmgmt/cvs/cvs_admin_nt.htm#pserver for more info.
Jun 10, 2009 in Engineering, Software
Finally! A methodology that makes sense to me!
http://www.extremeprogramming.org/
Basic rules:
* Make frequent small releases.
* The project is divided into iterations.
* Move people around.
* No functionality is added early.
* Refactor whenever and wherever possible.
* The customer is always available.
* Write/Code the unit test first (with stubs).
* Integrate often.
* Leave optimization till last.
* All code must have and must pass unit tests.
* When a bug is found, unit tests are created.
* No overtime.
* Code must be written to agreed standards.
Apr 23, 2009 in Engineering, Java, JavaUsage, Software
Feb 12, 2009 in Software
Make multiple sources into targets..
.SUFFIXES:
.SUFFIXES: .htm .htmt
SRCS := $(wildcard *.htmt)
TARGS := $(patsubst %.htmt, %.htm, ${SRCS})
all : $(TARGS)
echo "-- done --"
%.htm : %.htmt
cpp $< | egrep -v '^\#' > $@
Feb 10, 2009 in Engineering, Software
From
http://www.patterndepot.com/put/8/JavaPatterns.htm
Creational Patterns
All of the creational patterns deal with the best way to create
instances of objects. This is important because your program should not
depend on how objects are created and arranged.
Structural Patterns
Structural patterns describe how classes and objects can be combined
to form larger structures. The difference between class patterns and object
patterns is that class patterns describe how inheritance can be used to provide
more useful program interfaces. Object patterns, on the other hand, describe
how objects can be composed into larger structures using object composition,
or the inclusion of objects within other objects.
Behavioral Patterns (page 129)
Behavioral patterns are those patterns that are most specifically
concerned with communication between objects.
Nov 20, 2008 in Apache, Config Manage
Fastest way to plug tomcat into apache httpd..
Change apache2.conf, add:
<Location /your_tomcat_app> ProxyPass ajp://your_host:8009/your_tomcat_app Order allow,deny allow from all </Location>
More notes on Hudson here:
http://suereth.blogspot.com/2008/08/ubuntu-dev-server-hudson.html
Hudson is here: