https://github.com/dbpedia/extraction-framework/blob/master/dump/src/main/scala/org/dbpedia/extraction/dump/download/Download.scala
It would be cool if you send a pull request when you are done! As a first step, you can simply copy & paste the code from SO and hard-code your settings to test if that solves your problem at all, but it would be nice if you could make the code a little smarter so others can use it: call System.getProperty("http.proxyUser") and "...Password" and only install the authenticator if both are set. Good luck! On 30 April 2013 19:47, Julien Plu <julien....@redaction-developpez.com> wrote: > Ok so apparently it's normal that it's doesn't works with command line, I > have to modify the main. So which file contains the main function ? > > Best. > > Julien. > > > 2013/4/30 Jona Christopher Sahnwaldt <j...@sahnwaldt.de> >> >> Maybe you have to tweak the code a bit: >> >> http://stackoverflow.com/questions/1626549/authenticated-http-proxy-with-java >> >> On 30 April 2013 19:28, Julien Plu <julien....@redaction-developpez.com> >> wrote: >> > Doesn't works :-( >> > >> > Best >> > >> > Julien. >> > >> > >> > 2013/4/30 Jona Christopher Sahnwaldt <j...@sahnwaldt.de> >> >> >> >> Hi Julien, >> >> >> >> try adding the settings for https as well, e.g. >> >> >> >> <jvmArg>-Dhttps.proxyHost=myproxyhost</jvmArg> >> >> >> >> Might help, I'm not sure. >> >> >> >> JC >> >> >> >> On 30 April 2013 16:57, Julien Plu >> >> <julien....@redaction-developpez.com> >> >> wrote: >> >> > Hi, >> >> > >> >> > I try to use the extraction framework on my Windows machine, but I >> >> > fall >> >> > on a >> >> > 407 http proxy authentication error during the dumps download. I put >> >> > these >> >> > lines inside the dump/pom.xml : >> >> > >> >> > <jvmArg>-Dhttp.proxyHost=myproxyhost</jvmArg> >> >> > <jvmArg>-Dhttp.proxyPort=port</jvmArg> >> >> > <jvmArg>-Dhttp.proxyUser=myuser</jvmArg> >> >> > <jvmArg>-Dhttp.proxyPassword=mypass</jvmArg> >> >> > >> >> > Even this : >> >> > >> >> > <jvmArg>-Djava.net.useSystemProxies=true</jvmArg> >> >> > >> >> > Doesn't work. >> >> > >> >> > There is something more to use ? >> >> > >> >> > Best. >> >> > >> >> > Julien. >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------------------------------ >> >> > Introducing AppDynamics Lite, a free troubleshooting tool for >> >> > Java/.NET >> >> > Get 100% visibility into your production application - at no cost. >> >> > Code-level diagnostics for performance bottlenecks with <2% overhead >> >> > Download for free and get started troubleshooting in minutes. >> >> > http://p.sf.net/sfu/appdyn_d2d_ap1 >> >> > _______________________________________________ >> >> > Dbpedia-discussion mailing list >> >> > Dbpedia-discussion@lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion >> >> > >> > >> > > > ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Dbpedia-discussion mailing list Dbpedia-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion