Displaying keyword search results 1 - 10
Created by voodoo on September 25, 2012 19:33:02 Last update: June 05, 2013 20:22:50
This a step-by-step example of how to create the files for GNU automake. Put the C source file in directory src ( cat src/hello.c ):
#include <config.h> #include <stdio.h> ...Run autoscan to generate configure.scan . Rename configure.scan :
mv configure.scan configure.acEdit autoscan.ac . Update this line:
AC_INIT([FULL-PACKAGE-NAME], [VERSION] , [BUG-REP...Add this line after AC_INIT :
AM_INIT_AUTOMAKE([foreign -Wall -Werror])Add this line before AC_OUTPUT :
AC_CONFIG_FILES([Makefile src/Makefile])Create file Makefile.am ( cat Makefile.am ):
SUBDIRS = srcCreate file src/Makefile.am ( cat src/Makefile.am ):
bin_PROGRAMS = hello hello_SOURCES = hello.cRun these commands:
$ aclocal $ autoheader $ automake --add-miss...The file configure is generated after autoconf is run. Build with:
$ ./configure $ makeCreate tarball for distribution with:
$ make dist...
Created by Dr. Xi on March 21, 2013 19:47:46 Last update: March 22, 2013 12:30:27
It's normal practice to import types from an external xsd file in WSDL like this:
<wsdl:types> <xsd:schema xmlns:xsd="htt...When you use <dynamic-wsdl> and have Commons XMLSchema on the class path, Spring-WS inlines the xsd in the wsdl. But that doesn't happen when you use <static-wsdl> . You can define a SimpleXsdSchema bean to expose the xsd:
Created by Dr. Xi on February 27, 2013 10:01:21 Last update: February 27, 2013 10:01:21
The SVN property svn:mergeinfo holds the history of merges made to a file or directory. To display mergeinfo in plain text:
$ svn propget svn:mergeinfo .If you dig XML:
$ svn propget svn:mergeinfo --recursive --xml
Created by Fang on January 04, 2013 08:00:37 Last update: January 04, 2013 08:00:37
This is a Maven POM that prints out some built-in project properties:
$ mvn validate [INFO] Scanning for projects.....
Created by zhidao on August 09, 2012 14:44:08 Last update: August 09, 2012 14:44:08
Create a directory src/jaxws alongside src/main and create a bindings file bindingx.xml with the <serializable> customization:
<jaxb:bindings xmlns:jaxb="http://java.sun....Reference : JAX-WS wsimport Maven plugin documentation
Created by voodoo on August 03, 2012 08:42:38 Last update: August 03, 2012 09:31:25
The C function getsockopt lets you get the error codes with the option SO_ERROR . The possible error numbers are defined in the global errno.h . The relevant values are:
#define ETIMEDOUT 110 /* Connection timed out */ ...But here's the whole list on my Linux system ( /usr/include/asm-generic/errno.h ):
#ifndef _ASM_GENERIC_ERRNO_H #define _ASM_GENER...
Created by Dr. Xi on February 23, 2012 14:07:40 Last update: June 25, 2012 13:40:44
The command " svn info " prints information about the current directory:
$ svn info Path: . URL: http://svn.example.c...where: Revision: is the last syncup (update) revision of the current TARGET (artifact/file/directory, whatever you call). This number bumps up to that of the current project revision number after you do an update. Last Changed Rev: is the revision number of the latest change for the current TARGET . If TARGET is a directory, it is the revision number of the latest change within the directory, including all subdirectories. However , this number is not accurate after you do a check in without a following update . The revision number for the file or directory you checked in will have higher revision number than its parent/ancestor....
Created by Dr. Xi on April 19, 2012 10:10:08 Last update: April 19, 2012 10:11:06
The default servlet for Tomcat is declared in $CATALINA_HOME/conf/web.xml :
<servlet> <servlet-name>default</servle...Therefore, static content is rendered by the default configuration unless you override it with your own definitions. If you want to allow directory listing, just change the listing parameter to true :
<init-param> <param-name>listings</para...Change the welcome-file-list to display a default page in lieu of a directory listing:
<welcome-file-list> <welcome-file>home.xhtml</...Welcome pages are defined at the Web application level.
Created by Dr. Xi on February 06, 2012 09:20:20 Last update: February 06, 2012 09:20:20
This is the error message:
Error 6 initializing SQL*Plus SP2-0667: Message...It might be that the ORACLE_HOME environment variable is not properly set or a missing sp1<lang>.msb (for example sp1us.msb ) file. But for my Ubuntu system, there was no such thing as sp1<lang>.msb , and it wasn't caused by a missing ORACLE_HOME . The error was resolved after I restored the shared library file libsqlplusic.so .
Created by Fang on January 10, 2010 00:19:30 Last update: January 31, 2012 16:28:42
Maven is a powerful yet complex tool. When I started learning Maven, the first obstacle was, of course, its complexity. The second, was the lack of documentation that can get me off the ground quickly. This tutorial is an attempt to create a pragmatic guide that aims to get you familiar with Maven in the quickest way possible. The main theme is to get you on some hands on experience to start out and lead you through the creation of a simple Java EE project as quickly as possible. Instead of trying to give you a good read, I try to get you on the journey right away. The topics are roughly ordered by the logical sequence but you can jump around in any way...