Re: [joshua-support] Tuning error

158 views
Skip to first unread message

Luke Orland

unread,
Apr 11, 2013, 9:06:33 AM4/11/13
to joshua_...@googlegroups.com
can you do a grep for output-format to find all the files under a directory where the files you've changed are located?


On Thu, Apr 11, 2013 at 7:58 AM, <bibek....@gmail.com> wrote:
FATAL: unknown configuration parameter 'output-format'

I have changed some file but i dont know which file because earlier i did not get this error.

--
You received this message because you are subscribed to the Google Groups "Joshua Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joshua_suppor...@googlegroups.com.
To post to this group, send email to joshua_...@googlegroups.com.
Visit this group at http://groups.google.com/group/joshua_support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Matt Post

unread,
Apr 11, 2013, 9:38:38 AM4/11/13
to joshua_...@googlegroups.com
This probably means you are using the official version of Joshua, and not the development version.

Matt Post

unread,
Apr 11, 2013, 3:20:08 PM4/11/13
to joshua_...@googlegroups.com, bibek....@gmail.com
The build.xml file is distributed with Joshua. What would be useful is to see the error message you get.


On Apr 11, 2013, at 3:17 PM, bibek....@gmail.com wrote:

I am unable to compile the joshua-devel package. Here is the build.xml file when i type ant jar. Also the class folder is empty


On Thursday, 11 April 2013 17:28:23 UTC+5:30, bibek....@gmail.com wrote:
FATAL: unknown configuration parameter 'output-format'

I have changed some file but i dont know which file because earlier i did not get this error.

--
You received this message because you are subscribed to the Google Groups "Joshua Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joshua_suppor...@googlegroups.com.
To post to this group, send email to joshua_...@googlegroups.com.
Visit this group at http://groups.google.com/group/joshua_support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
<build.xml>

Luke Orland

unread,
Apr 11, 2013, 3:29:29 PM4/11/13
to joshua_...@googlegroups.com, Bibek Behera
It looks like you're missing all the dependencies under $JOSHUA/lib/

In the joshua directory /home/bibek/Desktop/joshua-devel/src/joshua/ , run these commands:

export JOSHUA=$PWD
ant devel




On Thu, Apr 11, 2013 at 3:25 PM, <bibek....@gmail.com> wrote:

[javac] Compiling 203 source files to /home/bibek/Desktop/joshua-devel/class
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:24: package edu.uci.ics.jung.graph does not exist
    [javac] import edu.uci.ics.jung.graph.DirectedOrderedSparseMultigraph;
    [javac]                              ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:25: package edu.uci.ics.jung.graph.util does not exist
    [javac] import edu.uci.ics.jung.graph.util.EdgeType;
    [javac]                                   ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:26: package edu.uci.ics.jung.graph.util does not exist
    [javac] import edu.uci.ics.jung.graph.util.Pair;
    [javac]                                   ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:28: cannot find symbol
    [javac] symbol: class DirectedOrderedSparseMultigraph
    [javac] public class DerivationTree extends DirectedOrderedSparseMultigraph<Node, DerivationTreeEdge> {
    [javac]                                     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:23: package edu.uci.ics.jung.algorithms.layout does not exist
    [javac] import edu.uci.ics.jung.algorithms.layout.TreeLayout;
    [javac]                                          ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:24: package edu.uci.ics.jung.graph does not exist
    [javac] import edu.uci.ics.jung.graph.DelegateForest;
    [javac]                              ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:27: cannot find symbol
    [javac] symbol  : class TreeLayout
    [javac] location: class joshua.ui.tree_visualizer.DerivationTreeTransformer
    [javac]   private TreeLayout<Node, DerivationTreeEdge> treeLayout;
    [javac]           ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:31: package edu.uci.ics.jung.algorithms.layout does not exist
    [javac] import edu.uci.ics.jung.algorithms.layout.CircleLayout;
    [javac]                                          ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:32: package edu.uci.ics.jung.algorithms.layout does not exist
    [javac] import edu.uci.ics.jung.algorithms.layout.StaticLayout;
    [javac]                                          ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:33: package edu.uci.ics.jung.visualization does not exist
    [javac] import edu.uci.ics.jung.visualization.VisualizationViewer;
    [javac]                                      ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:34: package edu.uci.ics.jung.visualization.control does not exist
    [javac] import edu.uci.ics.jung.visualization.control.DefaultModalGraphMouse;
    [javac]                                              ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:35: package edu.uci.ics.jung.visualization.control does not exist
    [javac] import edu.uci.ics.jung.visualization.control.LayoutScalingControl;
    [javac]                                              ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:36: package edu.uci.ics.jung.visualization.control does not exist
    [javac] import edu.uci.ics.jung.visualization.control.ModalGraphMouse;
    [javac]                                              ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:37: package edu.uci.ics.jung.visualization.decorators does not exist
    [javac] import edu.uci.ics.jung.visualization.decorators.ToStringLabeller;
    [javac]                                                 ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:38: package edu.uci.ics.jung.visualization.renderers.Renderer.VertexLabel does not exist
    [javac] import edu.uci.ics.jung.visualization.renderers.Renderer.VertexLabel.Position;
    [javac]                                                                     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:40: cannot find symbol
    [javac] symbol: class VisualizationViewer
    [javac] public class DerivationViewer extends VisualizationViewer<Node, DerivationTreeEdge> {
    [javac]                                       ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:42: cannot find symbol
    [javac] symbol  : method addVertex(joshua.ui.tree_visualizer.Node)
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac] addVertex(root);
    [javac] ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:43: cannot find symbol
    [javac] symbol  : method addVertex(joshua.ui.tree_visualizer.Node)
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac] addVertex(sourceRoot);
    [javac] ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:52: cannot find symbol
    [javac] symbol  : method addVertex(joshua.ui.tree_visualizer.Node)
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac] addVertex(childNode);
    [javac] ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:54: cannot find symbol
    [javac] symbol  : class Pair
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac]    new Pair(n, childNode),
    [javac]        ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:55: cannot find symbol
    [javac] symbol  : variable EdgeType
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac] EdgeType.DIRECTED);
    [javac] ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:80: cannot find symbol
    [javac] symbol  : class Pair
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac]    new Pair(n, childNode),
    [javac]        ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:81: cannot find symbol
    [javac] symbol  : variable EdgeType
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac] EdgeType.DIRECTED);
    [javac] ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:102: cannot find symbol
    [javac] symbol  : class Pair
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac]    new Pair(n, childNode),
    [javac]        ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:103: cannot find symbol
    [javac] symbol  : variable EdgeType
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac] EdgeType.DIRECTED);
    [javac] ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTree.java:108: cannot find symbol
    [javac] symbol  : method getSuccessors(joshua.ui.tree_visualizer.Node)
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac]     for (Node s : getSuccessors(n)) {
    [javac]                   ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:43: cannot find symbol
    [javac] symbol  : class DelegateForest
    [javac] location: class joshua.ui.tree_visualizer.DerivationTreeTransformer
    [javac]     DelegateForest<Node, DerivationTreeEdge> del = new DelegateForest<Node, DerivationTreeEdge>(t);
    [javac]     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:43: cannot find symbol
    [javac] symbol  : class DelegateForest
    [javac] location: class joshua.ui.tree_visualizer.DerivationTreeTransformer
    [javac]     DelegateForest<Node, DerivationTreeEdge> del = new DelegateForest<Node, DerivationTreeEdge>(t);
    [javac]                                                        ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:50: cannot find symbol
    [javac] symbol  : method getVertices()
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac]     for (Node n : t.getVertices()) {
    [javac]                    ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:51: cannot find symbol
    [javac] symbol  : method outDegree(joshua.ui.tree_visualizer.Node)
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac]       if (t.outDegree(n) == 0) leafCount++;
    [javac]            ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:55: cannot find symbol
    [javac] symbol  : class TreeLayout
    [javac] location: class joshua.ui.tree_visualizer.DerivationTreeTransformer
    [javac]     treeLayout = new TreeLayout<Node, DerivationTreeEdge>(del, (int) Math.round(X_DIST));
    [javac]                      ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:64: operator + cannot be applied to double,<any>.transform.getX
    [javac]               - treeLayout.transform(sourceRoot).getX() + treeLayout.transform(root).getX());
    [javac]               ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:64: incompatible types
    [javac] found   : <nulltype>
    [javac] required: double
    [javac]               - treeLayout.transform(sourceRoot).getX() + treeLayout.transform(root).getX());
    [javac]                                                         ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:78: cannot find symbol
    [javac] symbol  : method getSuccessors(joshua.ui.tree_visualizer.Node)
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac]     if (graph.getSuccessors(n).isEmpty()) return 0;
    [javac]              ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:80: cannot find symbol
    [javac] symbol  : method getSuccessors(joshua.ui.tree_visualizer.Node)
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac]     for (Object x : graph.getSuccessors(n)) {
    [javac]                          ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:100: cannot find symbol
    [javac] symbol  : method getSuccessorCount(joshua.ui.tree_visualizer.Node)
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac]         while (graph.getSuccessorCount(n) != 0)
    [javac]                     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationTreeTransformer.java:101: cannot find symbol
    [javac] symbol  : method getSuccessors(joshua.ui.tree_visualizer.Node)
    [javac] location: class joshua.ui.tree_visualizer.DerivationTree
    [javac]           n = (Node) graph.getSuccessors(n).toArray()[0];
    [javac]                           ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:56: cannot find symbol
    [javac] symbol  : class CircleLayout
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     super(new CircleLayout<Node, DerivationTreeEdge>(g));
    [javac]               ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:59: cannot find symbol
    [javac] symbol  : class StaticLayout
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     StaticLayout<Node, DerivationTreeEdge> derivationLayout =
    [javac]     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:60: cannot find symbol
    [javac] symbol  : class StaticLayout
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]         new StaticLayout<Node, DerivationTreeEdge>(g, dtt);
    [javac]             ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:63: cannot find symbol
    [javac] symbol  : class LayoutScalingControl
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     scaleToLayout(new LayoutScalingControl());
    [javac]                       ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:65: cannot find symbol
    [javac] symbol  : method setPreferredSize(java.awt.Dimension)
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     setPreferredSize(new Dimension(DEFAULT_HEIGHT, DEFAULT_WIDTH));
    [javac]     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:66: cannot find symbol
    [javac] symbol  : class ToStringLabeller
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     getRenderContext().setVertexLabelTransformer(new ToStringLabeller<Node>());
    [javac]                                                      ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:66: cannot find symbol
    [javac] symbol  : method getRenderContext()
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     getRenderContext().setVertexLabelTransformer(new ToStringLabeller<Node>());
    [javac]     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:68: cannot find symbol
    [javac] symbol  : class DefaultModalGraphMouse
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     DefaultModalGraphMouse<Node, DerivationTreeEdge> graphMouse =
    [javac]     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:69: cannot find symbol
    [javac] symbol  : class DefaultModalGraphMouse
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]         new DefaultModalGraphMouse<Node, DerivationTreeEdge>();
    [javac]             ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:70: package ModalGraphMouse does not exist
    [javac]     graphMouse.setMode(ModalGraphMouse.Mode.TRANSFORMING);
    [javac]                                       ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:75: cannot find symbol
    [javac] symbol  : method getRenderContext()
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     getRenderContext().setVertexFillPaintTransformer(vp);
    [javac]     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:76: cannot find symbol
    [javac] symbol  : method getRenderContext()
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     getRenderContext().setEdgeStrokeTransformer(es);
    [javac]     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:77: cannot find symbol
    [javac] symbol  : method getRenderContext()
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     getRenderContext().setVertexShapeTransformer(ns);
    [javac]     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:78: cannot find symbol
    [javac] symbol  : variable Position
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     getRenderer().getVertexLabelRenderer().setPosition(Position.CNTR);
    [javac]                                                        ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:78: cannot find symbol
    [javac] symbol  : method getRenderer()
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     getRenderer().getVertexLabelRenderer().setPosition(Position.CNTR);
    [javac]     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:85: cannot find symbol
    [javac] symbol  : method getSize()
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     DerivationTreeTransformer dtt = new DerivationTreeTransformer(tree, getSize(), true);
    [javac]                                                                         ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewer.java:87: cannot find symbol
    [javac] symbol  : class StaticLayout
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     setGraphLayout(new StaticLayout<Node, DerivationTreeEdge>(tree, dtt));
    [javac]                        ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/DerivationViewerApplet.java:41: cannot find symbol
    [javac] symbol  : method add(joshua.ui.tree_visualizer.DerivationViewer)
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewerApplet
    [javac]     add(new DerivationViewer(new DerivationTree(tree, source),
    [javac]     ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/browser/DerivationTreeFrame.java:223: operator == cannot be applied to joshua.ui.tree_visualizer.DerivationViewer,<nulltype>
    [javac]     if (dv == null) {
    [javac]            ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/browser/DerivationTreeFrame.java:230: cannot find symbol
    [javac] symbol  : method add(joshua.ui.tree_visualizer.DerivationViewer,java.lang.String)
    [javac] location: class javax.swing.JPanel
    [javac]     viewPanel.add(dv, BorderLayout.CENTER);
    [javac]              ^
    [javac] /home/bibek/Desktop/joshua-devel/src/joshua/ui/tree_visualizer/browser/DerivationTreeFrame.java:231: cannot find symbol
    [javac] symbol  : method revalidate()
    [javac] location: class joshua.ui.tree_visualizer.DerivationViewer
    [javac]     dv.revalidate();
    [javac]       ^
    [javac] Note: /home/bibek/Desktop/joshua-devel/src/joshua/oracle/OracleExtractionHG.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 58 errors

Bibek Behera

unread,
Apr 11, 2013, 3:42:20 PM4/11/13
to Luke Orland, joshua_...@googlegroups.com
Buildfile: build.xml
  [taskdef] Could not load definitions from resource org/doxygen/tools/antlib.xml. It could not be found.
  [taskdef] Could not load definitions from resource testngtasks. It could not be found.

set-joshua-home:

download-ivy:

BUILD FAILED
/home/bibek/Desktop/joshua-devel/build.xml:344: Ivy requires Ant version 1.8.0 or greater. Please upgrade to the latest version.

--
Regards,
Bibek behera
IIT Bombay


Ph no.- 8879005749

Juri Ganitkevitch

unread,
Apr 11, 2013, 3:43:44 PM4/11/13
to Joshua Support, Luke Orland
"Ivy requires Ant version 1.8.0 or greater. Please upgrade to the latest version."

You should do just that.

Luke Orland

unread,
Apr 11, 2013, 3:46:38 PM4/11/13
to Juri Ganitkevitch, Joshua Support
If you are in Ubuntu, it looks like you will have to do:

sudo apt-get install ant1.8

Luke Orland

unread,
Apr 12, 2013, 9:28:18 AM4/12/13
to Joshua Support
It looks like the download url for the ivy jar is being redirected to an IITB mirror that uses SSL (https:// ) but the SSL certificate is missing or bad. I'm not sure at the moment how to prevent the maven server from redirecting to that mirror.


On Fri, Apr 12, 2013 at 2:02 AM, <bibek....@gmail.com> wrote:
Getting error after installing ant1.8


Buildfile: /home/bibek/Desktop/joshua-devel/build.xml
  [taskdef] Could not load definitions from resource org/doxygen/tools/antlib.xml. It could not be found.
  [taskdef] Could not load definitions from resource testngtasks. It could not be found.

set-joshua-home:

download-ivy:
      [get] To: /home/bibek/Desktop/joshua-devel/lib/ivy.jar
      [get] Error getting http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar to /home/bibek/Desktop/joshua-devel/lib/ivy.jar

BUILD FAILED
/home/bibek/Desktop/joshua-devel/build.xml:355: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1697)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:257)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:251)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1165)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:154)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:609)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:545)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:945)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1190)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1217)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1201)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:440)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:660)
at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:685)
at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:579)
at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:569)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:324)
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:224)
at sun.security.validator.Validator.validate(Validator.java:235)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:147)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:230)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:270)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1144)
... 14 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:197)
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:255)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:319)
... 20 more

Total time: 4 seconds

Luke Orland

unread,
Apr 12, 2013, 9:34:12 AM4/12/13
to Joshua Support
Actually, it seems like the issue may be your school's proxy. Can you use a network with a direct connection to the web, or does all traffic have to go through this proxy?

Are you on a wifi network?

Luke Orland

unread,
Apr 15, 2013, 3:57:03 PM4/15/13
to joshua_...@googlegroups.com, bibek....@gmail.com
Bibek,
Perhaps the info on this page about using Ivy behind a proxy might lead you toward a solution: http://ant.apache.org/ivy/faq.html

Here are more websites you could check out:
http://www.google.com/#q=ant+ivy+behind+a+proxy&oq=ant+ivy+behind+a+proxy

Please let us know what solution works for you.

On Monday, April 15, 2013 3:44:12 PM UTC-4, bibek....@gmail.com wrote:
it has to be redirected through iitb proxy.

Reply all
Reply to author
Forward
0 new messages