installing at isacdev start-work-070517
authorwneuper
Fri, 23 Nov 2007 16:46:08 +0100
branchstart-work-070517
changeset 250c5ded5733296
parent 249 c4617d5953d8
child 251 7c9f587ea67b
installing at isacdev
src/java/_DIR-STRUCTURE
src/java/_INFO-eclipse-cvs-linux.txt
src/java/_INSTALL
     1.1 --- a/src/java/_DIR-STRUCTURE	Thu Nov 22 10:37:13 2007 +0100
     1.2 +++ b/src/java/_DIR-STRUCTURE	Fri Nov 23 16:46:08 2007 +0100
     1.3 @@ -5,7 +5,8 @@
     1.4  cvs -d :ext:USER@gw.ist.tugraz.at:/netshares/commons/isac/.cvs checkout isac
     1.5  cvs -d :ext:USER@gw.ist.tugraz.at:/netshares/commons/isac/.cvs checkout isacweb
     1.6  
     1.7 -the following directories are in use:
     1.8 +the following directories are in use (delete the others in case you have
     1.9 +got them from checking out):
    1.10  
    1.11  isac
    1.12  	admin		in common responsibility (protocols etc.)
    1.13 @@ -14,7 +15,8 @@
    1.14  	isac	################################################# delete !
    1.15  	lib			java libraries ############################## delete
    1.16  				AND INCLUDE IN .cvsignore ###################
    1.17 -				these _binary_files are corrupted since 0709.
    1.18 +				these _binary_files are corrupted since 0709
    1.19 +				and must be copied from the reference installation.
    1.20  				
    1.21  	src			for the all-java-version + sml
    1.22  		java
    1.23 @@ -22,6 +24,7 @@
    1.24  		java-tests
    1.25  		sml
    1.26  		smltest
    1.27 +		sql
    1.28  		xml		definitions for Bridge <-> sml	
    1.29  	test	################################################# delete !
    1.30  	xmldata		of the KEStore (to be exported to html)
    1.31 @@ -30,4 +33,4 @@
    1.32  see isacweb/doc/project_structure_description.txt
    1.33  
    1.34  
    1.35 -### a cvs-guru who deletes these (and other) messy directories is welcome ###
    1.36 \ No newline at end of file
    1.37 +##### a cvs-guru who removes this (and other) mess is welcome #####
     2.1 --- a/src/java/_INFO-eclipse-cvs-linux.txt	Thu Nov 22 10:37:13 2007 +0100
     2.2 +++ b/src/java/_INFO-eclipse-cvs-linux.txt	Fri Nov 23 16:46:08 2007 +0100
     2.3 @@ -33,22 +33,22 @@
     2.4  
     2.5   Create your RSA public/private key pair, by running: 
     2.6   
     2.7 - 	bash$ ssh-keygen -t rsa
     2.8 + 	# bash$ ssh-keygen -tdsa
     2.9   
    2.10   When prompted, agree with its default location for your key, $HOME/.ssh/identity 
    2.11   and choose a passphrase (do not leave the passphrase blank, it is insecure) when 
    2.12   asked to. 
    2.13  
    2.14 -
    2.15  Copy your public key to whichever host(s) you want to log into. 
    2.16  This means copying the contents of $HOME.ssh/identity.pub/ on the machine where 
    2.17  you created the key, to $HOME.ssh/authorized_keys/ on the machine you want to log into. 
    2.18  
    2.19  	first save old setting on IST~/.ssh:
    2.20 -	IST> cd ~/.ssh
    2.21 -	IST> cp id_rsa identity
    2.22 -	$HOME> scp id_rsa.pub wneuper@pear.ist.intra:.ssh/authorized_keys
    2.23 -	[[on localhost: scp id_rsa.pub ~/.ssh/authorized_keys2]]
    2.24 +	# IST> cd ~/.ssh
    2.25 +	# IST> cp id_rsa identity
    2.26 +	then copy the public key to the host:
    2.27 +	# $HOME> scp id_rsa.pub wneuper@pear.ist.intra:.ssh/authorized_keys
    2.28 +	  [[on localhost: scp id_rsa.pub ~/.ssh/authorized_keys]]
    2.29  
    2.30  For machines within college, this translates as 
    2.31  
     3.1 --- a/src/java/_INSTALL	Thu Nov 22 10:37:13 2007 +0100
     3.2 +++ b/src/java/_INSTALL	Fri Nov 23 16:46:08 2007 +0100
     3.3 @@ -1,5 +1,5 @@
     3.4  Install and start the whole isac-system within eclipse
     3.5 -WN0511
     3.6 +WN0511, WN071122 (eclipse 3.3 on ginkgo)
     3.7  
     3.8  We relate all directories below to the following bases (which actually may
     3.9  be named differently on your system):
    3.10 @@ -13,42 +13,53 @@
    3.11  
    3.12  INSTALL:
    3.13  
    3.14 +#-1# prepare connection to isac's cvs-repository: see
    3.15 +	$cvs$/_INFO-eclipse-cvs.txt and/or 
    3.16 +	$cvs$/_INFO-eclipse-cvs-windows.txt how to setup passwordless ssh
    3.17 +	check success with
    3.18 +  # ssh _username_@gw.ist.tugraz.at 
    3.19 +
    3.20  #0# setup an _empty_ project in eclipse:
    3.21 -	<File><New><Project><Java Project> e.g. proto2 <Finish>
    3.22 -	(eg. mkdir proto2/			...this directory is the root of the project)
    3.23 +  # mkdir $eclipse_workspace$/proto2/
    3.24 +  # <File><New><Java Project> starts the whizzard in eclipse
    3.25 +		(already existing projects have data at
    3.26 +		./localfiles/eclipse/configuration/.settings/org.eclipse.ui.ide.prefs
    3.27 +		$eclipse_workspace$/.metadata
    3.28 +		$eclipse_workspace$/workspace/.metadata)
    3.29 +
    3.30 +(#0.5# and #1# may be done in one go by the whizzard)
    3.31 +#0.5# setup connection to isac's cvs-repository:
    3.32 +  # <Window><Preferences><Team><CVS><Connection><SSH2> ...
    3.33 +	... check defaults for rsa, dsa
    3.34 +  # <Files><Import><CVS>
    3.35 +	connection type:	ext
    3.36 +	host:				localhost | pear.ist.intra | gw.ist.tugraz.at
    3.37 +	repository path:	/netshares/commons/isac/.cvs
    3.38  
    3.39  #1# cvs checkout from within eclipse into this project
    3.40  	i.e. you create proto2/isac		...where isac is the root of cvs
    3.41 -	(slight differences here cause problems with paths eg. for java-tests!!!)
    3.42 -	
    3.43 -	# create new project
    3.44 -	# from the repository-view 
    3.45 -	  # select 'isac' in the repository
    3.46 -	  # <checkout as><into existing project>
    3.47 +	(slight differences here cause problems with paths eg. for java-tests!!!)	
    3.48 +  # from the repository-view 
    3.49 +	# select 'isac' in the repository
    3.50 +	# <checkout as><into existing project>
    3.51  ((manually this is:
    3.52  cvs -d :ext:USER@gw.ist.tugraz.at:/netshares/commons/isac/.cvs checkout isac 
    3.53  ))
    3.54 -		See _DIR-STRUCTURE for DELETting certain directories
    3.55 -		How to use passwordless SSH see $cvs$/_INFO-eclipse-cvs.txt
    3.56 -    !!! Windows-Users: FIRST read $cvs$/_INFO-eclipse-cvs-windows.txt
    3.57 -		<Window><Preferences><Team><CVS><SSH2 Connection>
    3.58 -			check defaults for rsa
    3.59 -		?<Add CVS Repository>
    3.60 -		?	localhost    [pear.ist.intra] or [gw.ist.tugraz.at]
    3.61 -		?	/netshares/commons/isac/.cvs
    3.62 -		?	wneuper
    3.63 -		?	extssh
    3.64 -			
    3.65 -    			
    3.66 +  !!!!! See _DIR-STRUCTURE for DELETting certain directories
    3.67 +        			
    3.68  #2# eclipse project setup:
    3.69 -	   rMouse/properties/buildpath: add folder "$cvs$/src/java"
    3.70 -	   include the libraries from 
    3.71 -	   		$cvs$/lib (i.e. all the *.jar-files in subdirs)
    3.72 -	   fetch from web and add for junit/tests
    3.73 -	   		$eclipse$/plugins/junit.extensions.jfcunit
    3.74 -	   		$eclipse$/plugins/org.junit_3.8.1/junit.jar
    3.75 -       see proto2/.classpath if all libs are recorded
    3.76 -
    3.77 +	(<rMouse> on proto2)<Properties><Java Build Path>: 
    3.78 +  # <Source><Add Folder> "$cvs$/src/java"
    3.79 +    <Source><Add Folder> "$cvs$/src/java-tests"
    3.80 +  # <Libaries><Add Jars> ... all from $cvs$/lib 
    3.81 +  	i.e. all the *.jar-files in subdirs
    3.82 +  # <Libaries><Add External Jars> from eclipse installation or from web:
    3.83 +	$eclipse$/plugins/junit.extensions.jfcunit
    3.84 +	$eclipse$/plugins/org.junit_3.8.1/junit.jar
    3.85 +    (these jars _must_ be located _within_ the eclipse installation;
    3.86 +    see proto2/.classpath if all libs are recorded)
    3.87 +  Now the red cross in the package-explorer should have disappeared.
    3.88 +  
    3.89  #3# generate "~/.java.policy":
    3.90  /------------------------------------------------------------------------------------------------------------------------------------------------------------
    3.91  grant {