RE: Maven and J2ME

2004-02-08 Thread Amnon Khen
Hi Erwin,
I'm trying to solve the same problem.
Did you find any solution?
I'm thinking about developing a Maven plugin for building a midlet in order
to solve it, but I'm still in a very preliminary stage.
Amnon

__
Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. 
Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815
mailto:[EMAIL PROTECTED] / http://www.cash-u.com
Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DX, UK /
Tel: +44 20 8323 8066
Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya
36880, Israel / Tel: +972 9 8920888 
Asia-Pacific -  37th floor, Singapore Land Tower, 50 Raffles Place,
Singapore 048623 / Tel: +65 68297194
__
This e-mail message and its attachments are for the sole use of the intended
recipient(s), may contain confidential and/or privileged information and are
to be regarded as confidential information under any non disclosure
agreement. Any review, use, disclosure or distribution by persons or
entities other than the intended recipient(s) is prohibited. If you are not
the intended recipient, please contact the sender by reply and destroy all
copies of the original message and its attachments. Thank you.


-Original Message-
From: Erwin van der Koogh [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 29, 2003 16:44
To: [EMAIL PROTECTED]
Subject: Maven and J2ME

Hello all,

I am evaluating Maven for a company wide setup and it's looking pretty good 
at the moment, but the only problem I have run into is J2ME. We 
occassionally have J2ME projects and the problem is that my pilot project 
is one of them.

I have been unable to find any mention anywhere on how to get Maven up and 
running with J2ME so I dug around some and tried some stuff but that failed.
Basically I tried to set the bootclasspath option in my project.properties 
file so that it used the appropriate classes.zip.

Now that worked just fine for my src/java tree, but it failed miserably on 
my test tree, because that needs some of the IO classes.

Does anyone have any experience with this?

The problem is that I have a zip file with both java.lang classes and other 
stuff. I only need the classes.zip when I compile my src files and I need 
the other stuff in the zip file with a normal JDK when compiling junit 
tests.

Thanks,

Erwin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



creating zip distribution

2004-01-21 Thread Amnon Khen
Hello Maven-folk,
 
The deliverable artifact in my project is a zip archive that contains  a
jar, configuration files, scripts and much more. I would like to use Maven
to create it, but I haven't found any plugin that does what I want.
Before I delve into writing one myself, I would like to make sure I haven't
missed anything.
Suppose my project contains only a collectionfiles, which should be packed
and deployed to the repository (no java source files to compile). If I use
the Distribution plugin, it does a lot of things I don't need, like creating
a jar, generating documentation, creating a zip, tar etc. Is there any way
to customize it's behavior? Is there any other plugin I can use?
I went through the code of the Disribution plugin and didn;t find any.
Has anyone encountered such problem before? If so how was it solved?
 
Thanks for your time,
Amnon
 

__

Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. 

Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815

mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  /
http://www.cash-u.com http://www.cash-u.com/ 

Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya
36880, Israel / Tel: +972 9 8920888 

Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DT, UK /
Tel: +44 20 8323 8066

Asia-Pacific -  47A Duxton Road, Singapore 089511 / Tel: +65 67322440

__

This e-mail message and its attachments are for the sole use of the intended
recipient(s), may contain confidential and/or privileged information and are
to  be regarded as confidential information under any non disclosure
agreement. Any review, use, disclosure or distribution by persons or
entities other than the intended recipient(s) is prohibited. If you are not
the intended recipient, please contact the  sender by reply and destroy all
copies of the original message and its attachments.

__

 

 


multiproject target overriding

2004-01-21 Thread Amnon Khen
Hi,
 
I have a maven project that extends another one, each of which has its own
maven.xml. If I declare a goal with the same name in each maven.xml and
invoke the child Maven project, the parent goal is the one that's executed.
Is this the standard behavior? What can be done in order to avoid this?
 
Thanks for your time, 
Amnon
 
__
Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. 
Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  /
http://www.cash-u.com http://www.cash-u.com/ 
Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya
36880, Israel / Tel: +972 9 8920888 
Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DT, UK /
Tel: +44 20 8323 8066
Asia-Pacific -  47A Duxton Road, Singapore 089511 / Tel: +65 67322440
__
This e-mail message and its attachments are for the sole use of the intended
recipient(s), may contain confidential and/or privileged information and are
to  be regarded as confidential information under any non disclosure
agreement. Any review, use, disclosure or distribution by persons or
entities other than the intended recipient(s) is prohibited. If you are not
the intended recipient, please contact the  sender by reply and destroy all
copies of the original message and its attachments.
__
 


RE: multiproject target overriding

2004-01-21 Thread Amnon Khen
Hi Jefferson,

My problem is even weirder now...
One pair of goals works as I expect it: when I invoke maven from the parent
project, the parent goals is executed, and when I invoke from the child
project - the child goal is executed.
In another pair of goals, it doesn't work like this. No matter where I
invoke Maven form, it's the parent goal that's invoked. I tried to create
this problem on a Greenfield project, but it didn't happen.

Amnon

-Original Message-
From: Jefferson K. French [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 21, 2004 15:58
To: Maven Users List
Subject: Re: multiproject target overriding

How are you invoking the goal in the child project? I'm not seeing the
same behavior here. I have the following goals:

Parent
--
check   - invokes multiproject with checkit goal
checkit - echos a message

Child (extends Parent)
-
checkit - echos a different message

When I cd to the child project and run 'maven checkit' I just get the
child's output. When I run 'maven check', it invokes the parent's
check goal, but I do not get any messages from the parent's checkit
goal.

  Jeff

On Wed, 21 Jan 2004, at 15:41:51 [GMT +0200] Amnon Khen wrote:

 Hi,
 
 I have a maven project that extends another one, each of which has its own
 maven.xml. If I declare a goal with the same name in each maven.xml and
 invoke the child Maven project, the parent goal is the one that's
executed.
 Is this the standard behavior? What can be done in order to avoid this?
 
 Thanks for your time, 
 Amnon

-- 
mailto:[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Migrate Maven to using Ant1.6

2004-01-06 Thread Amnon Khen
Hi,
I also find Ant 1.6 support in maven very useful; mainly because of the new
Selectors and Macro definitions.
Amnon

__
Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. 
Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815
mailto:[EMAIL PROTECTED] / http://www.cash-u.com
Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya
36880, Israel / Tel: +972 9 8920888 
Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DT, UK /
Tel: +44 20 8323 8066
Asia-Pacific -  47A Duxton Road, Singapore 089511 / Tel: +65 67322440
__
This e-mail message and its attachments are for the sole use of the intended
recipient(s), may contain confidential and/or privileged information and are
to  be regarded as confidential information under any non disclosure
agreement. Any review, use, disclosure or distribution by persons or
entities other than the intended recipient(s) is prohibited. If you are not
the intended recipient, please contact the  sender by reply and destroy all
copies of the original message and its attachments.
__

I've stopped 43 spam messages. You can too!
One month FREE spam protection at http://www.cloudmark.com/spamnetsig/

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 04, 2004 14:18
To: Maven Users List
Subject: Re: Migrate Maven to using Ant1.6

I've done this, but not yet committed it, as it required a change to 
commons-grant.

If you desperately need it, let me know.

Does anyone else need Ant 1.6 support?
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Eric Chow [EMAIL PROTECTED] wrote on 26/12/2003 05:48:33 PM:

 Hello,
 
 How can I migrate Maven to use Ant1.6?
 
 Eric
 
 ==
 If you know what you are doing, 
 it is not called RESEARCH!
 ==
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: maven.repo.remote as a local filesystem

2003-12-19 Thread Amnon Khen
Thanks, Eric, for your reply.
I actually managed to come up with a similar solution; I set up an FTP
server as my repository.
It's still a bit cranky, 'cause I have some difficulties with adding the
username and password to the URL, but I can live with that for now.
Thanks and have a nice weekend,
Amnon


-Original Message-
From: Eric Giguere [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 19, 2003 3:29
To: Maven Users List
Subject: Re: maven.repo.remote as a local filesystem

Hi Amnon
I'm a Maven newbie (but also a fast learner ;) ), but have also setup a 
repository on a LAN. Used Apache to make the doc public and accessible 
easily by the download engine. Works perfectly and Apache is quite easy 
to install / configure both on Windows and Linux boxes.
file protocol is handy for a real local repository (same machine) but 
on a LAN, especially if you mix Win and Linux machines, refering to file 
using the UNC notation becomes quite tricky, and is not browser 
independant to add up :(.

hope it helps
Eric.

Amnon Khen wrote:

Hi Maven folk,
 
Is it possible to add a directory on the company LAN to maven.repo.remote
using the file:// protocol?
I need to do it because we haven't yet completely migrated to Maven, and we
have a central built artifacts reposaitory on our LAN, in which I wanna
search for and retrieve to maven.repo.local my project's dependencies.
Is it possible at all? Am I doing something wrong?
 
I'm trying to configure 
maven.repo.remote = http://www.ibiblio.org/maven/,
 file:///build_pps/public/repo,
 file:///ilfss/data/products
 
I'm getting the following error:
-- 8 - 8 --
Attempting to download PECAN-3.50.0.9.zip.
Error retrieving artifact from
[file://build_pps/public/repo/pecan/zips/PECAN-3.50.0.9.zip]: java.ne
t.ConnectException: Connection refused: connect
Error retrieving artifact from
[file://ilfss/data/products/pecan/zips/PECAN-3.50.0.9.zip]: java.net.
ConnectException: Connection refused: connect
WARNING: Failed to download PECAN-3.50.0.9.zip.
-- 8 - 8 --
 
Thanks,
Amnon
 
__
Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. 
Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  /
http://www.cash-u.com http://www.cash-u.com/ 
Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya
36880, Israel / Tel: +972 9 8920888 
Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DT, UK /
Tel: +44 20 8323 8066
Asia-Pacific -  47A Duxton Road, Singapore 089511 / Tel: +65 67322440
__
This e-mail message and its attachments are for the sole use of the
intended
recipient(s), may contain confidential and/or privileged information and
are
to  be regarded as confidential information under any non disclosure
agreement. Any review, use, disclosure or distribution by persons or
entities other than the intended recipient(s) is prohibited. If you are not
the intended recipient, please contact the  sender by reply and destroy all
copies of the original message and its attachments.
__
 

  




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: getting artifact:deploy to work

2003-12-18 Thread Amnon Khen
Hi all,
I got it to work!
The solution was very simple: I was using maven 1.0 beta 10 instead of
1.0rc1...
Sorry for bothering you.
Have a good weekend (and also a happy Hanukkah!)
Amnon

-Original Message-
From: Amnon Khen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 18, 2003 21:28
To: '[EMAIL PROTECTED]'
Subject: getting artifact:deploy to work

Hi all,
Does anybody have an idea how to get the artifact plugin to work?
I have the following namespace definition on my maven.xml:
xmlns:artifact=artifact
I have the following goal:
goal name=test-artifact-plugin
artifact:deploy artifact=${installshield.final.exe}
type=exe project=${pom}/
/goal
I configured the properties as instructed in the plugin page on the maven
website.
But nothing works. I get this error message:
BUILD FAILED
File.. file:/m:/buildcps_Pecan-3.50_release/PECAN/PecanSDK/
Element... artifact:deploy
Line.. 213
Column 87
java.lang.reflect.InvocationTargetException
com.werken.werkz.UnattainableGoalException: Unable to obtain goal
[test-artifact-plugin] -- file:/m:
/buildcps_Pecan-3.50_release/PECAN/PecanSDK/:213:87: artifact:deploy null
...followed by a huge stack trace.
It's probably a newbie question... What am I doing wrong?
I see the plugin unpacked in my ${maven.plugin.unpacked.dir}.
Thanks for your help,
Amnon
 
__
Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. 
Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  /
http://www.cash-u.com http://www.cash-u.com/ 
Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya
36880, Israel / Tel: +972 9 8920888 
Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DT, UK /
Tel: +44 20 8323 8066
Asia-Pacific -  47A Duxton Road, Singapore 089511 / Tel: +65 67322440
__
This e-mail message and its attachments are for the sole use of the intended
recipient(s), may contain confidential and/or privileged information and are
to  be regarded as confidential information under any non disclosure
agreement. Any review, use, disclosure or distribution by persons or
entities other than the intended recipient(s) is prohibited. If you are not
the intended recipient, please contact the  sender by reply and destroy all
copies of the original message and its attachments.
__
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



maven.repo.remote as a local filesystem

2003-12-18 Thread Amnon Khen
Hi Maven folk,
 
Is it possible to add a directory on the company LAN to maven.repo.remote
using the file:// protocol?
I need to do it because we haven't yet completely migrated to Maven, and we
have a central built artifacts reposaitory on our LAN, in which I wanna
search for and retrieve to maven.repo.local my project's dependencies.
Is it possible at all? Am I doing something wrong?
 
I'm trying to configure 
maven.repo.remote = http://www.ibiblio.org/maven/,
 file:///build_pps/public/repo,
 file:///ilfss/data/products
 
I'm getting the following error:
-- 8 - 8 --
Attempting to download PECAN-3.50.0.9.zip.
Error retrieving artifact from
[file://build_pps/public/repo/pecan/zips/PECAN-3.50.0.9.zip]: java.ne
t.ConnectException: Connection refused: connect
Error retrieving artifact from
[file://ilfss/data/products/pecan/zips/PECAN-3.50.0.9.zip]: java.net.
ConnectException: Connection refused: connect
WARNING: Failed to download PECAN-3.50.0.9.zip.
-- 8 - 8 --
 
Thanks,
Amnon
 
__
Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. 
Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  /
http://www.cash-u.com http://www.cash-u.com/ 
Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya
36880, Israel / Tel: +972 9 8920888 
Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DT, UK /
Tel: +44 20 8323 8066
Asia-Pacific -  47A Duxton Road, Singapore 089511 / Tel: +65 67322440
__
This e-mail message and its attachments are for the sole use of the intended
recipient(s), may contain confidential and/or privileged information and are
to  be regarded as confidential information under any non disclosure
agreement. Any review, use, disclosure or distribution by persons or
entities other than the intended recipient(s) is prohibited. If you are not
the intended recipient, please contact the  sender by reply and destroy all
copies of the original message and its attachments.
__
 


directory artifact type

2003-11-23 Thread Amnon Khen
Hi,
Is it possible to store directories in the maven repository?
I know it's better to use jars, but in my organization, we need to use
directories, at least during the phase of migrating to maven.
I tried to use something like:
 + $MAVEN_HOME/repository/foo/dirs/
+ my-comp-1.0.dir
+ my-comp-1.5.dir
but when I used it along with:
goal name=deploy-my-project
deploy:copy-deps todir=some-dir/
/goal
an empty directory was copied to the target directory.
Am I doing something wrong?
Has anyone encountered this problem? And solved it?
Thanks for your time and consideration,
Amnon
 
__
Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. 
Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  /
http://www.cash-u.com http://www.cash-u.com/ 
Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya
36880, Israel / Tel: +972 9 8920888 
Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DT, UK /
Tel: +44 20 8323 8066
Asia-Pacific -  47A Duxton Road, Singapore 089511 / Tel: +65 67322440
__
This e-mail message and its attachments are for the sole use of the intended
recipient(s), may contain confidential and/or privileged information and are
to  be regarded as confidential information under any non disclosure
agreement. Any review, use, disclosure or distribution by persons or
entities other than the intended recipient(s) is prohibited. If you are not
the intended recipient, please contact the  sender by reply and destroy all
copies of the original message and its attachments.
__