Not once i have been asked how to create a new service for the subversion aka svn server in windows.
So, the solution in command line is very simple:
sc create Subversion binpath= "c:\SVN\svn-win32-1.6.2\bin\svnserve.exe --service --root c:\SVN\Repository" displayname= "Subversion" depend= Tcpip
displayname = can be anything
Hoped i helped a bit,
Dor
Dec 30, 2010
Dec 27, 2010
Websphere dump file analyaze
Download this file ha408.jar
Then run it using this command line for example:
"java -Xmx1200m -jar ha408.jar"
* The Xmx can be also 1024 or 512 it depends.
Than after the application is running, you can open the "*.phd" files from websphere to analyze.
Dor
Then run it using this command line for example:
"java -Xmx1200m -jar ha408.jar"
* The Xmx can be also 1024 or 512 it depends.
Than after the application is running, you can open the "*.phd" files from websphere to analyze.
Dor
Dec 26, 2010
eclipse plugin for classdiagram
I use and also it' s my recommendation to use a plugin named : ObjectAid,
very simple tool very simple installation and way of working.
You can remove it on anytime you think it's not good.
Regards,
Dor
very simple tool very simple installation and way of working.
You can remove it on anytime you think it's not good.
Regards,
Dor
Dec 23, 2010
generating unique id (uuid)
One line of java code : UUID.randomUUID().toString()
load certificates in java
Just add this line below to your context listener for example.
System.setProperty("javax.net.ssl.trustStore", "c:/certificates/certificates_storage_file");
System.setProperty("javax.net.ssl.trustStorePassword", "password");
Simple as that.
Dor
System.setProperty("javax.net.ssl.trustStore", "c:/certificates/certificates_storage_file");
System.setProperty("javax.net.ssl.trustStorePassword", "password");
Simple as that.
Dor
Dec 19, 2010
Using platform encoding (Cp1252 actually) to copy filtered resources
Simple solution, just add utf-8 as a property like this:
<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties>
Apache maven.
Hoped it helped,
Dor
Element 'filters' cannot have character [children], because the type's content type is element-only. maven
Go this error while adding filter to web.xml.
My mistake was that i forgot creating the <filter> tag inside the <filters>.
I did this:
<filters>src/main/filters/filter.properties</filters> instead of doing this:
<filters><filter>src/main/filters/filter.properties</filter></filters>
Minor mistake that can happen in one minute out of focus.
Hoped it helped,
Dor
My mistake was that i forgot creating the <filter> tag inside the <filters>.
I did this:
<filters>src/main/filters/filter.properties</filters> instead of doing this:
<filters><filter>src/main/filters/filter.properties</filter></filters>
Minor mistake that can happen in one minute out of focus.
Hoped it helped,
Dor
Dec 6, 2010
An internal error occurred during: "Refreshing external folders". java.lang.NullPointerException
Exception occurred to me after upgrading and using the eclipse helios with gwt 2.1 new plugin.
Don't know if both connected or not or maybe it's subversion problem.
I have looked and googled for solutions but nothing yet over the web.
What's helped me:
Closing all the projects in eclipse.
Opening all the projects.
This probably synchronize eclipse with the file system. Then Project->Clean all.
That's it, worked for me, hoped that it will help you also.
Dor
Don't know if both connected or not or maybe it's subversion problem.
I have looked and googled for solutions but nothing yet over the web.
What's helped me:
Closing all the projects in eclipse.
Opening all the projects.
This probably synchronize eclipse with the file system. Then Project->Clean all.
That's it, worked for me, hoped that it will help you also.
Dor
Subscribe to:
Posts (Atom)