Tag Archives: Apache

Start Apache with normal user

scmuser created the topic: Start Apache with normal user Hi, I have few normal user in linux to whom I want to give apache http start and stop access? any idea how to to do this? When i start start apache httpd, then i get some error somthing like permission denied .. no listening sockets… Read More »

Apache Tomcat Good url Collection

rajeshkumar created the topic: Apache Tomcat Good url Collection Tomcat : How to increase the Java heap size www.serveridol.com/2011/07/28/tomcat-increase-java-heap-size/ Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn

Apache Ant: Copy Task full reference

rajeshkumar created the topic: Apache Ant: Copy Task full reference This copies all files in directories called images that are located in the directory tree defined by ${src} to the destination directory defined by ${dist}, but excludes all *.gif files from the copy. The same as the example above, but expressed using nested elements. Copy… Read More »

How to put new line in apache ant message

rajeshkumar created the topic: How to put new line in apache ant message How to put new line in Apache Ant echo task and mail task: Answer: line.separator is Java System Properties which can be used for this purpose. Found the solution (tried with Ant 1.7.0): 1. You might wrap the message-texts within the XML… Read More »

Apache ant interview questions

rajeshkumar created the topic: Apache ant interview questions Links to all Apache Ant Task – ant.apache.org/manual/tasklist.html Question 1. Write a ant build.xml and call one batch file from build.xml. batch file should create one directory. Question 2. Write a ant build.xml which should copy the files and folders from another and create a tar file.… Read More »

Sample Apache ant assignment – try it out

rajeshkumar created the topic: Sample Apache ant assignment – try it out Clone the prject- github.com/scmgalaxy/helloworld-java-ant Duplicate 10 source file from HelloWorld.java Create a directory called “mybuild” Clean all 10 java class files if exist compile only 5 java files Copy rest 5 files under folder called “no-need-to-compile” create package of jar / war of… Read More »

Sample Apache ant project for begginers

rajeshkumar created the topic: Sample Apache ant project for begginers Pre- 1. clone the src code from – github.com/scmgalaxy/Javatest1 2. Create a proper build structure via ant Write a two build.xml – One(Name of the file – Build.xml) Second(Name of the file – myfile.xml) You should do the following things in build.xml 1. copy the… Read More »

Apache ant programming Exercise

rajeshkumar created the topic: Apache ant programming Exercise Apache ant programming excercise FIRST Download Ant from the Apache Software Foundation and install it. Exercise Question 1 Pre- 1. clone the src code from – github.com/scmgalaxy/SampleJavaFiles 2. Create a proper build structure via ant Write a two build.xml – One(Name of the file – Build.xml) Second(Name… Read More »