Archive

Archive for October, 2011

[How to] Add jar to mvn dependency without installing

October 23, 2011 Leave a comment

 <dependency>
      <groupId>groupId here</groupId>
      <artifactId>artifactId here</artifactId>
      <version>version here</version>
      <scope>system</scope>
      <systemPath>${project.basedir}/lib/my_lib-1.0-SNAPSHOT.jar</systemPath>
    </dependency>

Categories: DEV, MVN Tags: , , , , , , ,

[MVN] How do I add resources to my JAR?

October 18, 2011 Leave a comment

How do I add resources to my JAR?

${basedir}/src/main/resources directory are packaged in your JAR with the exact same structure starting at the base of the JAR.

Categories: DEV, MVN Tags: , , , , , ,

[Link] Posting Source Code in WordPress

October 15, 2011 Leave a comment

Posting Source Code

[ sourcecode language=”css” ]
your code here
[ /sourcecode ]

The language parameter controls how the code is syntax highlighted. The following languages are supported:

actionscript3
bash
coldfusion
cpp
csharp
css
delphi
erlang
fsharp
diff
groovy
html
javascript
java
javafx
matlab (keywords only)
objc
perl
php
text
powershell
python
r
ruby
scala
sql
vb
xml
If the language parameter is not set, it will default to “text” (no syntax highlighting).

Categories: Tip Tags: , , , ,

[How to] make run maven proguard plug-in on OS X

October 15, 2011 Leave a comment
...
<plugin>
<executions>
<execution>
<configuration>
<libs>
<lib>${java.home}/lib/rt.jar</lib>
</libs>
</configuration>
</execution>
</executions>
</plugin>
...

Windows platform.

...
<plugin>
<executions>
<execution>
<configuration>
<libs>
<lib>${java.home}/bundle/Classes/classes.jar</lib>
</libs>
</configuration>
</execution>
</executions>
</plugin>
...

Mac OS X platform.

Categories: DEV, MVN Tags: , , , , , , , , , ,

[Link] SourceTree by ATLASSIAN

October 11, 2011 Leave a comment
Categories: DEV Tags: , , , , , , ,

[Link] Android Application Development with Maven

October 7, 2011 Leave a comment
Categories: MVN Tags: , , , , ,

[Link] Maven: The Complete Reference

October 7, 2011 Leave a comment
Categories: MVN Tags: , , , ,

[How to] Revert to a previous reversion.

October 6, 2011 Leave a comment

$ svn update -r [REVERSION NUMBER] .

$ svn update -r [REVERSION NUMBER] [FILENAME]

Exactly, It’s “UPDATE to older revision”.


$ svn merge -r [REVERSION NUMBER] .

$ svn merge -r [REVERSION NUMBER] [FILENAME]

Categories: Tip Tags: , ,
Design a site like this with WordPress.com
Get started