Heya,

I'm trying to use ant:style to transform a jboss.xml into the
corresponding weblogic file (xdoclet doesn't support WebLogic 8.1 yet)


  <goal name="create-weblogic-xml"
        description="Transform jboss.xml into weblogic">
    
${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')}
    <ant:style basedir="${maven.build.dir}/xdoclet/ejb/META-INF/"
               destdir="${maven.build.dir}" extension=".xml"
               style="conf/weblogic-ejb-jar-xml.xsl"
               includes="jboss.xml"
               />
  </goal>

When I invoke it I get:

create-weblogic-xml:



        [style] Transforming into
/home/jcej/projects/Extranet/PortfolioAnalytics/service/target
    [style] Processing
/home/jcej/projects/Extranet/PortfolioAnalytics/service/target/xdoclet/ejb/META-INF/jboss.xml
to
/home/jcej/projects/Extranet/PortfolioAnalytics/service/target/jboss.xml
    [style] Loading stylesheet
/home/jcej/projects/Extranet/PortfolioAnalytics/service/conf/weblogic-ejb-jar-xml.xsl
    [style] : Fatal Error! java.net.ConnectException: Connection timed out
Cause: java.net.ConnectException: Connection timed out
    [style] Failed to process
/home/jcej/projects/Extranet/PortfolioAnalytics/service/target/xdoclet/ejb/META-INF/jboss.xml

BUILD FAILED
File...... file:/home/jcej/projects/Extranet/PortfolioAnalytics/service/
Element... ant:style
Line...... 301
Column.... 18
Fatal error during transformation
Total time: 3 minutes 28 seconds


I'm behind an authenticating proxy and it smells like ant:style may be
trying to grab the dtd in jboss.xml for validation.

Suggestions?


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

Reply via email to