I think we're getting hung up on a pretty small detail of the over all picture.
I think we agree that the one line configuration offline mode change isn't the
issue, the repository is.
At some point you have to download jars (including ant plugin etc) to satisfy
dependencies regardless of ant or maven. Ant doesn't do this
automatically--instead you have to hunt them down and spend a lot of effort in
some cases getting all the libraries versions to play nice. Maven _does_ do
this automatically.
We could put a baseline repository that you copy over as your local repository
to get these jars like you'd download dependent libraries in (say for example)
the download section of SF. This really defeats the purpose of using maven
IMO. That said, if you have that restrictive of a firewall, my guess is you
might have trouble downloading jars from the net so I don't know how to solve
this problem.
Of the previous clients I've had for at least the last 5 years (Bank of
America, Nokia, Navteq, Peak6 and others) they've all had corporate firewalls
and all used maven.
We have other much larger challenges.
On May 7, 2013, at 9:32 AM, Troy Daniels <udalrich.scher...@gmail.com> wrote:
> Since we are already talking about shipping mavan as part of JDEE, would it
> also be possible to ship a compatible version of the ant plugin? I can see a
> plan where JDEE tries to get the latest version from the web and falls back
> onto using what is shipped with it if that is not available.
>
> Troy
>
>
> On Tue, May 7, 2013 at 10:19 AM, Loyall, David <david.loy...@nebraska.gov>
> wrote:
> I share your frustration, Gian.
>
> Java's support for proxies is weak[1]. And Maven can't be used offline
> without a great deal of manual work. (Such as installing an maintaining a
> local artifact repository.[2])
>
> But I can't support changing the proposed design of jdee to compensate. I
> think that the proposed design is good.
>
> There are other reasons to not depend on Maven[3]. What are your favorites?
>
> I hope this helps,
> --Dave
>
> 1. I believe that the java control panel (for example
> /usr/lib/jvm/java-6-sun/jre/bin/jcontrol) is capable of configuring proxies
> site-wide. (Perhaps the underlying configuration files can be edited
> directly.)
> 2. Fun fact: when your maven connects directly to public repositories, you're
> depending on non-free software to do your daily work. TODO: implement free
> replacement; run it locally AND publically.
> 3. But Maven liberated us from jar-hell.
>
> > -----Original Message-----
> > From: Gian Uberto Lauri [mailto:sa...@eng.it]
> > Sent: Tuesday, May 07, 2013 2:14 AM
> > To: Paul Landes
> > Cc: Troy Daniels; JDEE Development; JDEE Users
> > Subject: Re: [jdee-users] [jdee-devel] Call to Fork or simply for JDEE TODO
> > items
> >
> > >>>>> "PL" == Paul Landes <lan...@mailc.net> writes:
> >
> > PL> In your case, the first time it runs it will download the ant
> > PL> plugin. Someone else on this list has a concern about running it
> > PL> offline but that's a different discussion.
> >
> > Maven as default and mandatory choiche is B A D. Maven support for
> > those willing to use maven is good.
> >
> > And a separate ANT support is required.
> >
> > Let's examine the scenario you depict.
> >
> > "the first time it runs it will download the ant plugin".
> >
> > Again, ANT has a weak and insecure support for HTTP proxies, the same of
> > the JVM.
> >
> > I had to use Maven when I worked on the Venus-C project and the only way
> > I had to use it behind the our corporate proxy was to use this script as
> > replacement of the java command:
> >
> > #-----------------------------------8<--------------------------------------
> > #!/bin/bash
> > export JAVA_HOME=/usr/local/lib/jdk1.6.0_27
> > export PATH=/usr/local/lib/jdk1.6.0_27/bin/:$PATH
> >
> > if [ -z $http_proxy ]
> > then
> >
> > /usr/local/lib/jdk1.6.0_27/bin/javabin $@
> >
> > else
> > echo
> > "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
> > echo "Using the proxy"
> > echo
> > "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
> > HOST=`echo $http_proxy | awk -F: '{print $1}'`//`echo $http_proxy |
> > awk -F: '{print $3}' | awk -F\@ '{print $2}'`
> > PORT=`echo $http_proxy | awk -F: '{print $4}'`
> > USER=`echo $http_proxy | awk -F: '{print $2}' | awk -F/ '{print $3}'`
> > PASS=`echo $http_proxy | awk -F: '{print $3}' | awk -F\@ '{print $1}'`
> >
> > /usr/local/lib/jdk1.6.0_27/bin/javabin\
> > -Dhttp.proxyHost=$HOST\
> > -Dhttp.proxyPort=$PORT\
> > -Dhttp.proxyUser=$USER\
> > -Dhttp.proxyPassword=$PASS $@
> > fi
> > #-----------------------------------8<--------------------------------------
> >
> > This is a major security issue, since ANY USER on the machine can see the -
> > Dhttp.proxyUser=[username] and -Dhttp.proxyPassword=[clear text
> > password] command line parameter by issuing a ps with the appropriate
> > parameters (on ANY Unix or unix replacement, this includes Mac OS X and
> > GNU/Linux).
> >
> > And if the corporate proxy authenticates against the corporate
> > directory
> > service (LDAP in our case) you can gain access to the identity of the user
> > in
> > the corporation.
> >
> > The other option is being unable to run even ant scripts.
> >
> > --
> > ing. Gian Uberto Lauri
> > Solution Developer Senior
> > Direzione Ricerca e Innovazione
> > gianuberto.la...@eng.it
> >
> > Sun Java Certified Programmer
> >
> > Engineering Ingegneria Informatica spa
> > Corso Stati Uniti 23/C, 35127 Padova (PD)
> >
> > Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"],
> > Fax +39-049.8283.569 | (unix)["have"]+"fun"-0x60);}
> > http://www.eng.it | David Korn, AT&T Bell Labs
> > | ioccc best One Liner,
> > 1987
> >
> > ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is
> > the definitive new guide to graph databases and their applications. This
> > 200-
> > page book is written by three acclaimed leaders in the field. The early
> > access
> > version is available now.
> >
> > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> > _______________________________________________
> > jdee-users mailing list
> > jdee-us...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jdee-users
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> jdee-devel mailing list
> jdee-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jdee-devel
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today!
> http://p.sf.net/sfu/neotech_d2d_may_______________________________________________
> jdee-devel mailing list
> jdee-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jdee-devel
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
jdee-devel mailing list
jdee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jdee-devel