Month: August 2017

My first FPGA board

https://world.taobao.com/item/521509218211.htm?fromSite=main&ali_refid=a3_430008_1006%3A1102706380%3AN%3Afpga%3Ac7143af19b4d9ca3664ce493729cace5&ali_trackid=1_c7143af19b4d9ca3664ce493729cace5&spm=a230r.1.0.0.ebb2eb2uLZqXB

http://pan.baidu.com/s/1i5LMUUD

read count : 1

C++ toolchain’s autotool is too complex

C++ toolchain’s autotool is too complex, if we create a new toolchain and simplify it, it affect almost all mid-to-large scale c++ projects. So those projects has to rewrite their building scripts to adopt to the new toolchain and people will not happy to doing this.

read count : 23

Install Office-365-SDK-for-Java to local maven repository

Since Office-365-SDK-for-Java only support gradle, these commands to install all Jars files to local maven repository,

mvn install:install-file -Dfile=./discovery-services/build/libs/discovery-services-1.0.0.jar -DgroupId=com.microsoft.services -DartifactId=directory -Dversion=1.0.0 -Dpackaging=jar
mvn install:install-file -Dfile=./files-services/build/libs/files-services-1.0.0.jar -DgroupId=com.microsoft.services -DartifactId=files -Dversion=1.0.0 -Dpackaging=jar
mvn install:install-file -Dfile=./graph-services/build/libs/graph-services-0.2.5.jar -DgroupId=com.microsoft.services -DartifactId=graph -Dversion=0.2.5 -Dpackaging=jar
mvn install:install-file -Dfile=./onenote-services/build/libs/onenote-services-0.15.0.jar -DgroupId=com.microsoft.services -DartifactId=onenote -Dversion=0.15.0 -Dpackaging=jar
mvn install:install-file -Dfile=./outlook-services/build/libs/outlook-services-1.0.0.jar -DgroupId=com.microsoft.services -DartifactId=outlook -Dversion=1.0.0 -Dpackaging=jar
mvn install:install-file -Dfile=./sharepoint-services/build/libs/sharepoint-services-1.0.0.jar -DgroupId=com.microsoft.services -DartifactId=sharepoint -Dversion=1.0.0 -Dpackaging=jar

read count : 3

Use this in pom.xml to copy the target jar into kettle plugin folder

Use this in pom.xml to copy the target jar into kettle plugin folder

<build>
		<plugins>
			...
			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>1.4</version>
				<executions>
					<execution>
						<id>copy</id>
						<phase>package</phase>
						<configuration>
							<tasks>
								<copy file="${project.build.directory}/${project.artifactId}-${project.version}.jar" todir="/Users/peter/Downloads/data-integration/plugins/sharepoint-online/"/>
							</tasks>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution> 
				</executions>
			</plugin>

Netbeans 8.2 bundled an old maven which is not ok to compile kettle sdk, please set it to latest maven.

!!! The nexus.pentaho.org maven repository is just super slow in hong kong, run “mvn dependency:go-offline” to cache it to your local repository

read count : 12