Monday, January 19, 2015
Saturday, January 17, 2015
Tuesday, January 13, 2015
Friday, January 9, 2015
Wednesday, January 7, 2015
Tuesday, January 6, 2015
Install GIT on Linux Ubuntu
sudo apt-get update
sudo apt-get install git
git config --global user.name "Your Name"
git config --global user.name "Your Name"
git config --global user.email "youremail@domain.com"
Check:
git config --list
Where .gitconfig is located:
~/.gitconfig
Nice help for .gitconfig
https://gist.github.com/pksunkara/988716
https://gist.github.com/pksunkara/988716
Monday, January 5, 2015
Create GXT 3 project example
Here is the way you could create GXT 3 project.
You would use Maven Archetype with a little workaround of pom.xml and code.
Form CLI execute:
mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.7.0
In root html file add following line as the first stylesheet
Remove the table for the Web Application Starter project. We don’t need it for this guide.
Add the line below to the *.gwt.xml
<inherits name="com.sencha.gxt.ui.GXT" />
And remove the following line from the same file:
<inherits name="com.google.gwt.user.theme.standard.Standard" />
BasicTabExample tabs = new BasicTabExample();
RootPanel.get().add(tabs);
}
You would use Maven Archetype with a little workaround of pom.xml and code.
Form CLI execute:
mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.7.0
Then:
mvn gwt:verify
mvn gwt:run
At this point you will be able to run pure GWT demo.
Now is the GXT time:
In root html file add following line as the first stylesheet
<link rel="stylesheet" type="text/css" href="MyModule/reset.css">
Remove the table for the Web Application Starter project. We don’t need it for this guide.
Add the line below to the *.gwt.xml
<inherits name="com.sencha.gxt.ui.GXT" />
And remove the following line from the same file:
<inherits name="com.google.gwt.user.theme.standard.Standard" />
Inside of the main root class that implements EntryPoint leave only this:
public void onModuleLoad() {BasicTabExample tabs = new BasicTabExample();
RootPanel.get().add(tabs);
}
Create in the same package of the root class this class:
How to install Apache Tomcat Server on Ubuntu
Here is the simplest way to install Tomcat 7 on Linux Ubuntu 14.04
Execute these commands from terminal
sudo apt-get update
sudo apt-get install tomcat7
Try run:
sudo /usr/share/tomcat7/bin/startup.sh
If you've got an error do this:
sudo dpkg-reconfigure tomcat7
Can't run Tomcat from Intellij Idea?
cd /usr/share/tomcat7
ln -s /etc/tomcat7 conf
chmod -R 655 /etc/tomcat7/
Subscribe to:
Posts (Atom)