FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 02-16-2011, 09:36 PM
Russ Allbery
 
Default How to apply maven build system

Andreas Tille <andreas@an3as.eu> writes:

> I'm actually not very keen on really using maven as long as I can get
> the package working at all - but I actually have no real clue what
> command line would trigger the build process (and upstream) seems to be
> dead. So in principle the most simple help would be a command line
> which builds the JAR.

Would something as simple as:

jar cf <project>.jar *.class

after compiling all the *.java files with javac be workable in this case?
Maven will of course work but it may introduce a fair bit of complexity.

--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87vd0jobdc.fsf@windlord.stanford.edu">http://lists.debian.org/87vd0jobdc.fsf@windlord.stanford.edu
 
Old 02-16-2011, 10:00 PM
"Manfred Moser"
 
Default How to apply maven build system

> Andreas Tille <andreas@an3as.eu> writes:
>
>> I'm actually not very keen on really using maven as long as I can get
>> the package working at all - but I actually have no real clue what
>> command line would trigger the build process (and upstream) seems to be
>> dead. So in principle the most simple help would be a command line
>> which builds the JAR.
>
> Would something as simple as:
>
> jar cf <project>.jar *.class
>
> after compiling all the *.java files with javac be workable in this case?
> Maven will of course work but it may introduce a fair bit of complexity.

I just checked.. it wont be that simple since it depends at least on
org.freehep.graphics2d.VectorGraphics

manfred


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: e78c6c36bd10992bf69d8e01f78c6fb2.squirrel@www.mosa buam.com">http://lists.debian.org/e78c6c36bd10992bf69d8e01f78c6fb2.squirrel@www.mosa buam.com
 
Old 02-16-2011, 10:07 PM
"Manfred Moser"
 
Default How to apply maven build system

Its gonna be more hazzle.There are references to these two classes

import Time.TimeManager;
import Process.Process;

as well as to

net.iharder.dnd.FileDrop(motif, new net.iharder.dnd.FileDrop.Listener

You will have to find whatever the Time and Process libraries are...looks
like a mess to me.

manfred

Here is a first cut of a pom file


<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>patristic</groupId>
<artifactId>patristic</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>Patristic</name>


<dependencies>
<dependency>
<groupId>org.freehep</groupId>
<artifactId>freehep-graphics2d</artifactId>
<version>2.1.3</version>
</dependency>
</dependencies>
</project>

>> Andreas Tille <andreas@an3as.eu> writes:
>>
>>> I'm actually not very keen on really using maven as long as I can get
>>> the package working at all - but I actually have no real clue what
>>> command line would trigger the build process (and upstream) seems to be
>>> dead. So in principle the most simple help would be a command line
>>> which builds the JAR.
>>
>> Would something as simple as:
>>
>> jar cf <project>.jar *.class
>>
>> after compiling all the *.java files with javac be workable in this
>> case?
>> Maven will of course work but it may introduce a fair bit of complexity.
>
> I just checked.. it wont be that simple since it depends at least on
> org.freehep.graphics2d.VectorGraphics
>
> manfred
>


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 063b0c9b8769a01e502d331205773a58.squirrel@www.mosa buam.com">http://lists.debian.org/063b0c9b8769a01e502d331205773a58.squirrel@www.mosa buam.com
 
Old 02-16-2011, 10:40 PM
Russ Allbery
 
Default How to apply maven build system

Giovanni Mascellani <gio@debian.org> writes:

> There's something funny about this command: I executed it and it had to
> download about 30 different files before being able to do something
> really dump (copy some simple templates in the working directory).

Yeah, that's typical for Maven. It's absolutely amazing how much stuff it
downloads in order to do anything.

--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87aahvo8ee.fsf@windlord.stanford.edu">http://lists.debian.org/87aahvo8ee.fsf@windlord.stanford.edu
 
Old 02-16-2011, 10:50 PM
"Manfred Moser"
 
Default How to apply maven build system

> Giovanni Mascellani <gio@debian.org> writes:
>
>> There's something funny about this command: I executed it and it had to
>> download about 30 different files before being able to do something
>> really dump (copy some simple templates in the working directory).
>
> Yeah, that's typical for Maven. It's absolutely amazing how much stuff it
> downloads in order to do anything

well... at least the initial download is small. Not like other dev tools
that range in the GB for first download.


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 15a697f1d0f0c82fcc47c56f0f22ffa0.squirrel@www.mosa buam.com">http://lists.debian.org/15a697f1d0f0c82fcc47c56f0f22ffa0.squirrel@www.mosa buam.com
 

Thread Tools




All times are GMT. The time now is 07:47 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org