This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package game; | |
import static java.lang.Integer.MAX_VALUE; | |
import static java.lang.System.out; | |
import static java.nio.channels.FileChannel.MapMode.READ_ONLY; | |
import static java.nio.channels.FileChannel.MapMode.READ_WRITE; | |
import java.io.BufferedInputStream; | |
import java.io.BufferedOutputStream; | |
import java.io.File; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.ObjectInputStream; | |
import java.io.ObjectOutputStream; | |
import java.io.Serializable; | |
import java.lang.reflect.Field; | |
import java.nio.ByteBuffer; | |
import java.nio.ByteOrder; | |
import java.util.Arrays; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Suppose that you are happily working with your sources in Git, and manager says 'Thou shalt use the company's Perforce repository' | |
# | |
# And you strike a deal: I keep working on Git, but all releases will also be published on Perforce | |
# | |
# === Initial setup, run this script once | |
# My project under Git is located at ~/MyProject | |
cd MyProject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-release-plugin</artifactId> | |
<version>2.2.1</version> | |
<configuration> | |
<autoVersionSubmodules>true</autoVersionSubmodules> | |
<!-- required for Git --> | |
<localCheckout>true</localCheckout> | |
<preparationGoals>clean verify</preparationGoals> | |
<releaseProfiles>release</releaseProfiles> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Topics to talk about at FOSDEM 2010 regarding Debian-Java: | |
* Status of maven-repo | |
* Merge of javahelper and maven-repo-helper? | |
* Dependencies - versioned or not? | |
* Versioned .jar files? why? parallell installation? | |
* CDBS vs. Debhelper7, dh -with maven? | |
* why it's useful to package Java software, Java packaging is way behind python packaging | |
* Bridging two great packaging systems: Debian apt and Maven | |
* OSGi in Debian: the promise of always on, always up-to-date systems |
NewerOlder