WL Workshop and Ant

Hi,
I am wondering if there is an ANT task available to integrate WL Workshop
generated .jws files into an ANT build script. Specifically, I want to be
able to compile the JWS files into their WebServices. If not, is there a
command line utility that will do this that I can call from ANT?
If these services do not yet exist, I would suggest that getting them out
would help speed the adoption of the product.
Thanks,
Mike Porter

Hi Mike. Thanks for the question. Check out the document entitled "Deploying
Web Services" in the Workshop docs. You should be able to call JwsCompile
from an ant task.
Ian M. Goldstein
Developer Relations Engineer
BEA Systems, Inc.
"Mike Porter" <[email protected]> wrote in message
news:[email protected]..
Hi,
I am wondering if there is an ANT task available to integrate WL Workshop
generated .jws files into an ANT build script. Specifically, I want to be
able to compile the JWS files into their WebServices. If not, is there a
command line utility that will do this that I can call from ANT?
If these services do not yet exist, I would suggest that getting them out
would help speed the adoption of the product.
Thanks,
Mike Porter

Similar Messages

  • Experience with workshop and ant

    Are you using workshop? Are you using ANT? What techniques are you using
    for build automatiion? Is is possible to build the project and EAR file
    from the command line? How?

    Carl,
    Workshop provided a command line utility named wlwbuild which allows you to
    build the applications and generate the EAR file from the command line.
    Please refer to the following document for more information on this
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/reference/commands/cmdWlwBuild.html
    Hope this helps.
    Regards,
    Raj Alagumalai
    Backline Workshop Support
    You can now "AskBEA" Customer Support questions on the web and get immediate
    responses. "AskBEA" is available on http://www.bea.com/support/index.html
    "Carl" <[email protected]> wrote in message news:[email protected]..
    Are you using workshop? Are you using ANT? What techniques are you using
    for build automatiion? Is is possible to build the project and EAR file
    from the command line? How?

  • Workshop and training preferences

    Greetins all,
    May I ask a quick question with regards to training and skills development. In the UK we've been training around the topics of IDES/ERP and BW  - with the vast majority of faculty interest being in ERP because ot touches on so many business and IS topics.
    However as new products become available and SAP is taken up by other faculty the range of training topics varies. In the UK for example there is a lot of interest in SCM and SRM - I ran a very brief 'taster' workshop in SCM in collaboration with our Irish Service Centre a few months ago and got perhaps 8/9 attendees but it seems perhaps there are another dozen or so that woiuld be interested in a second session.
    So I was wondering what other topics are of interest to faculty - CRM, BW, etc.
    And also - more importantly - would you actually use the skills in the classroom? The reason I ask is because although there is great demand in finding out about SCM no UKI school uses it as yet - we are still an ERP/Business Intelligence community with some interest in Portal and Solution Manager for the more technical faculties. SCM etc. may be of interest for faculty skills development and research puroses but would anyone actually use it??
    Any thoughts gratefully received
    Martin
    Martin Gollogly
    Director, University Alliances
    Unied Kingdom and Ireland

    Hi,
    Last October, I took a JBuilder for WebLogic course. I asked about web services
    support. I was told at the time (JBuilder 7) that you had to have an additional
    plugin over and above the JBuilder/WebLogic Server installation. I never got
    the plugin.
    Also, you would need clarification on what the plugin addresses. WebLogic Server
    has two different web service implementations. You mentioned .jws files so that
    makes me believe that you are using workshop-enabled web services not WebLogic's
    standalone (ant script) web service implementation. You need clarification on
    which (either? both?) JBuilder supports.
    I belive that you can start by opening a support case with BEA. Then if BEA needs
    clarification from Borland, BEA will contact Borland.
    hope this helps,
    pat
    "Tanya" <[email protected]> wrote:
    >
    I keep seeing advertisements and bulletins that Workshop and JBuilder
    integrate,
    but I'm unable to find any data on BEA or Borland’s web sites. Do they
    integrate
    more than a simple recognition of .jws files?

  • Workshop and JBuilder

    I keep seeing advertisements and bulletins that Workshop and JBuilder integrate,
    but I'm unable to find any data on BEA or Borland’s web sites. Do they integrate
    more than a simple recognition of .jws files?

    Hi,
    Last October, I took a JBuilder for WebLogic course. I asked about web services
    support. I was told at the time (JBuilder 7) that you had to have an additional
    plugin over and above the JBuilder/WebLogic Server installation. I never got
    the plugin.
    Also, you would need clarification on what the plugin addresses. WebLogic Server
    has two different web service implementations. You mentioned .jws files so that
    makes me believe that you are using workshop-enabled web services not WebLogic's
    standalone (ant script) web service implementation. You need clarification on
    which (either? both?) JBuilder supports.
    I belive that you can start by opening a support case with BEA. Then if BEA needs
    clarification from Borland, BEA will contact Borland.
    hope this helps,
    pat
    "Tanya" <[email protected]> wrote:
    >
    I keep seeing advertisements and bulletins that Workshop and JBuilder
    integrate,
    but I'm unable to find any data on BEA or Borland’s web sites. Do they
    integrate
    more than a simple recognition of .jws files?

  • SQL Report not showing data - available in SQL Workshop and SQL Developer

    I am having an issue with developing a SQL Report in APEX 3.2.1. I run the code in both SQL developer and SQL Workshop and I get data pulled back (both against my development environment). When I run the same code in a SQL Report region, it returns no data available. Does anyone have any idea what would be causing this? Other regions on the page accessing different tables in the same schema return data without issue. Any help would be appreciated.
    Thanks
    Freddie

    Could you explain the last comment a bit more. Here is a bit more info just in case I touch on the info with it. The db schema is BPAMGR, the Workspace is BPAMGR. We use the same schema for all of our reporting. All of our tables are in the same schema. We don't use any tables outside of this schema. Our APEX workspace has been associated to only this schema. The tables are able to be queried by SQL Workshop in the same APEX instance that the report application is under.
    Freddie

  • Cannot make .war file using tomcat with eclipse and ant

    i have made all necesary configuration for deploying application using eclipse and ant for the tomcat server.
    when i start the server by clicking the tomcat icon on eclipse toolbar, the message is prompted that "missing application web.xml and using defaults". i have placed the web.xml file in the web/WEB-INF directory of the source project directory.
    also when i use ant by right-clicking on the build.xml file and choose Run as ant.. the process creates a desired .war file in webapps folder of the tomcat server but that war file does not works.
    where is the error i cannot figure out.
    am attaching the code of build.xml for reference.
    please help.
    build.xml:-
    <project name="BecilCTI" default="compile" basedir=".">
    <property file="build.properties"/>
    <property file="${user.home}/build.properties"/>
    <property name="app.name" value="BecilCTI"/>
    <property name="app.path" value="/${app.name}"/>
    <property name="app.version" value="0.1-dev"/>
    <property name="build.home" value="${basedir}/build"/>
    <property name="catalina.home" value="c:/Tomcat_5.5"/> <!-- UPDATE THIS! -->
    <property name="dist.home" value="${basedir}/dist"/>
    <property name="docs.home" value="${basedir}/docs"/>
    <property name="manager.url" value="http://localhost:8080/manager"/>
    <property name="src.home" value="${basedir}/src"/>
    <property name="web.home" value="${basedir}/web"/>
    <property name="compile.debug" value="true"/>
    <property name="compile.deprecation" value="false"/>
    <property name="compile.optimize" value="true"/>
    <!--<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>-->
    <path id="compile.classpath">
    <!-- Include all elements that Tomcat exposes to applications -->
    <pathelement location="${catalina.home}/common/classes"/>
    <fileset dir="${catalina.home}/common/endorsed">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="${catalina.home}/common/lib">
    <include name="*.jar"/>
    </fileset>
    <pathelement location="${catalina.home}/shared/classes"/>
    <fileset dir="${catalina.home}/shared/lib">
    <include name="*.jar"/>
    </fileset>
    </path>
    <target name="all" depends="clean,compile"
    description="Clean build and dist directories, then compile"/>
    <target name="clean"
    description="Delete old build and dist directories">
         <echo message="Cleaning all dirs."/>
    <delete dir="${build.home}"/>
    <delete dir="${dist.home}"/>
    </target>
    <target name="compile" depends="prepare"
    description="Compile Java sources">
    <!-- Compile Java classes as necessary -->
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <javac srcdir="${src.home}"
    destdir="${build.home}/WEB-INF/classes"
    debug="${compile.debug}"
    deprecation="${compile.deprecation}"
    optimize="${compile.optimize}">
    <classpath refid="compile.classpath"/>
    </javac>
    <!-- Copy application resources -->
    <copy todir="${build.home}/WEB-INF/classes">
    <fileset dir="${src.home}" excludes="**/*.java"/>
    </copy>
    </target>
    <target name="dist" depends="compile"
    description="Create binary distribution">
    <!-- Copy documentation subdirectories
    <mkdir dir="${dist.home}/docs"/>
    <copy todir="${dist.home}/docs">
    <fileset dir="${docs.home}"/>
    </copy> -->
    <!-- Create application JAR file -->
    <jar jarfile="${catalina.home}/webapps/${app.name}.war"
    basedir="${build.home}"/>
    <!-- Copy additional files to ${dist.home} as necessary -->
    </target>
    <target name="install" depends="compile"
    description="Install application to servlet container">
    <deploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"
    localWar="file://${build.home}"/>
    </target>
    <target name="list"
    description="List installed applications on servlet container">
    <list url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"/>
    </target>
    <target name="prepare">
    <!-- Create build directories as needed -->
    <mkdir dir="${build.home}"/>
    <mkdir dir="${build.home}/WEB-INF"/>
    <mkdir dir="${build.home}/WEB-INF/classes"/>
    <!-- Copy static content of this web application -->
    <copy todir="${build.home}">
    <fileset dir="${web.home}"/>
    </copy>
    <mkdir dir="${build.home}/WEB-INF/lib"/>
    </target>
    <target name="reload" depends="compile"
    description="Reload application on servlet container">
    <reload url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    <target name="remove"
    description="Remove application on servlet container">
    <undeploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"/>
    </target>
    </project>

    So is context.xml actually overwriting the settings found in server.xml?I think so. The way I understand it is the the context.xml file saves you from having to edit server.xml. It is preferred for each web app to do its own config, rather than lumping them all together in server.xml.
    And what would be the best way to create the war file? IAt its heart, a WAR is just a zip file with its contents laid out in according to the specification of a web application directory structure.
    So the simplest way to make a war file is to zip up your directory structure with a tool like winzip, and rename it to be myApp.war.
    Regarding ant, I would recommend you take a look through [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
    ]this tutorial. It explains the basics of website layout, configuration and deployment.
    On [url http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/source.html] this page  in particular, it includes a link to a basic ant file that you can use as a starting point.
    Cheers,
    evnafets

  • $30 upgrade fee is for Wireless Workshops and Backup Assistant Plus?

    I recently upgraded my device, over the phone, using the 2 year discount price of $199. I was completely unaware and never told by the VZW agent that I would be paying an extra $30 to help VZW offset the cost of Wireless Workshops and their Backup Assistant+ crap. The agent on the phone told me to expect a $199 + tax charge on my next bill but failed to mention the extra $30 and, to be quite honest, I'm pretty upset about this. I called the customer support line and was told the $30 free is there to support the cost of the Backup Assistant Plus service (which I do not use and have completely removed it from my phone because it's trash) as well as the Wireless Workshops they offer in their stores. This is complete ** and if I had been made aware of this nickle and dime scheme by VZW when I was upgrading, I would have canceled my upgrade and gone with another carrier instead of signing another 2 year contract. I will NEVER go to a workshop for a device, service, whatever that I know how to use or could spend an hour researching online so why am I having to pay for this? I use Titanium Backup Pro and the Android SDK environment to backup my phone and data instead of the clunky Backup Assistant Plus trash. In fact, I've completely removed all traces of BA+ on my phone...
    So why am I "donating" $30 to Verizon for services that I, and I'm willing to bet most people, don't use? Why wasn't I made aware of this by the VZW agent I spoke to on the phone?
    /rant

    steelystan wrote:
    The final price of the phone was $260. I was told by the VZW agent to expect a ~$199 + tax ($215) charge on my next bill. There was no mention of a $30 upgrade fee. I was not notified BEFORE the purchase, and if it's listed on the discount upgrade page it's not very clear.
    I did not see the articles in the news about this fee in the past and VZW did not make it clear to me that I would be charged this fee. I expect the VZW phone agent to make me aware of the fee's associated with any service I use, like this upgrade, but the agent failed to mention it.
    Yes, I am complaining about the discount. I'm already unhappy that I was forced to lose my unlimited data plan when upgrading (unless I paid for the phone in full), but being charged an extra $30 for "services" like BA+ and workshops is absurd. Regardless of how much of a discount it was I don't like having surprise fee's come up on my cell phone bill. Why don't they include that free in the displayed upgrade price? Why not show $229.99 instead of $199.99?
    And it's 57% discount, not 60%+
    Well according to the stats you just posted sales tax is 8% so since you insist on including that, then at full price a $600 phone plus 8% is $648. $260/$648 is 40% thus you received a 60% discount. Also even at 57%, you are complaining about a 57% discount? Really? If you went to a car dealer and got a 57% discount you'd be ecstatic. If you got a TV for 57% you'd be ecstatic.
    This fee was announced April 11th 2012 It made ALL the major news sources.
    http://www.engadget.com/2012/04/11/verizon-upgrade-fees/
    http://money.cnn.com/2012/04/11/technology/verizon-upgrade-fee/index.htm
    http://www.reuters.com/article/2012/04/11/verizonwireless-upgradefee-idUSL2E8FBGQ820120411
    http://www.wired.com/gadgetlab/2012/04/verizon-upgrade-fee/
    http://arstechnica.com/gadgets/2012/04/verizon-to-start-charging-30-upgrade-fees-on-april-22/
    http://www.zdnet.com/blog/gadgetreviews/verizon-wireless-to-add-30-upgrade-fee-for-all-existing-customers/29184
    http://www.huffingtonpost.com/2012/04/11/verizon-wireless-phone-upgrade_n_1417959.html
    http://www.dslreports.com/shownews/Verizon-Starts-Charging-30-Phone-Upgrade-Fee-119201
    http://news.cnet.com/8301-17938_105-57412428-1/verizon-to-start-charging-for-phone-upgrades/
    http://news.yahoo.com/verizon-jumps-board-upgrade-fee-train-230900778.html
    http://usatoday30.usatoday.com/tech/news/story/2012-04-11/verizon-wireless-upgrade-fee/54173448/1
    Just to name a few sources.
    There is no way you were not told in some fashion. You say VZW agent. So you ordered this over the phone? Ok so where did you see the phone you wanted? Um at this site? Well the fee is listed VERY clearly on the price of the phone. if youw ent into a VZW store it;s CLEARLY listed on the price tags.

  • 10g BPEL process upgrade to 11g hangs in Jdeveloper and Ant script

    I have successfully upgraded several 10g (10.1.3.4) BPEL processes and ESB services using Jdeveloper 11g (11.1.1.6.0) migration wizard and deployed them to an 11g environment. Both 10g and 11g environments are up and running.
    However, my 11g jdeveloper hangs when migrating the next BPEL process. It hangs at the message box with the title: "Migration Status". I tried the Ant script and it hangs too. It hangs after printing out:
    "CompositeRefs
    [upgrade] WARNING: UPGBPEL-02009: No Binding setup for : "soapCheckPrivileges"
    . This will cause compilation of the upgraded project to fail. Check SOA Upgrade
    documentation on manual steps necessary to bind this composite reference. If ne
    cessary, upgrade and deploy any dependencies. If planning to retain 1013x nodes
    in this projects dependency tree, check earlier part of this log for 1013x WSDL
    URLs that can be used."
    I guess it makes sense since Jdeveloper and Ant script use the same code base for migration.
    One other observation is that if I kill the hanging jdeveloper process and reopen it and go through the migration wizard again, it will be successful without hanging. However, when I fix all the wsdl reference and do a build and deploy to sar. The resulting sar is defective and cannot be deployed to Weblogic even if both build and deploy to sar report success. The defective sar contains only scac.log and scac-log.xml, not even composite.xml.
    One difference between this BPEL process and others I have successfully upgraded is that it depends on an ESB service (this esb service has been upgraded and deployed to 11g).
    Any ideas?
    Thanks,

    I will answer my question. I killed the migrating Java process and the migrating wizard will report failure of migrating the .jpr file. Actually, the only thing missing in the migrated .jpr file is deployment profile which I can generate from deployment menu. And I can deploy the migrated process. This works as a workaround.

  • About Oracle Workshop and other Oracle's development tools...

    Greetings, I'm wondering what would be the future of the Workshop IDE. Oracle also distributes JDeveloper which is the company's historical development tool for Java/J2EE. Will both tools continue to be supported ? Or rather they will merge in an unique one ? In this last case, will this final too look rather as Workshop or rather as JDeveloper, I mean, will it Eclipse based ? What about the Workshop support for WebLogic Portal Server, AquaLogic Service Bus, etc. ? Will this support be maintained, meaning that the products itselfs will be maintained ?
    Many thanks in advance to anyone who can give me a little more visibility.
    Kind regards,
    Nicolas

    It looks as though Oracle will develop both IDEs: the Eclipse based Workshop and JDeveloper a few years... but that's unofficial whispering in the jungle.
    I think many want it to be Eclipse based, since most developers are learning Eclipse while they grow up...
    Edited by: Marky Goldstein on 16.11.2008 03:34

  • FlexBuilder 3 = MXMLC and ANT?

    Hi all-
    Admittedly I'm a flash / flex newbie, I have kindof a basic
    question... Flex Builder 3 has the .project and
    .actionScriptProperties files. I'm aware that MXMLC has a
    "--load-config" option. What is the best way to unify those two
    things? I've been trying for a week to get this stuff working using
    basic MXMLC stuff and I've got some things but I don't think it's
    the same thing that running a build in FlexBuilder does.
    The command I'm running is:
    mxmlc +FOO=something +BAR=something
    --load-config=./test-flex-config.xml MyFile.as -output MyOutput.swf
    ...so I think I've gotten far, but I don't understand why I
    can't use "mxmlc
    --load-actionScriptProperties=./.actionScriptProperties" ??? Aren't
    they all made by Adobe?
    --Robert

    No not really (thanks anyway). The link shows basically the same as my input except for the better formatting of the output.
    Both my and the example given both uses the Ant <exec> tag which start ojaudit from the command line. The problems still exist because I would like Ant to know if something was reported and the stop the Ant build process. A kind of "failOnValidationError".
    PMD has this (example below shows and Ant tag called pmd which is part of the PMD system.
    <pmd printToConsole="yes" failOnRuleViolation="on">
    Can ojaudit also do something like this? Or is there a way Ant can "scan" the result from the audit process and take the appropriate action?

  • [svn] 758: Updating all modules to Java 1.5.0 and Ant 1.7.0

    Revision: 758
    Author: [email protected]
    Date: 2008-03-07 10:47:56 -0800 (Fri, 07 Mar 2008)
    Log Message:
    Updating all modules to Java 1.5.0 and Ant 1.7.0
    * Updated setup.sh to reflect this.
    * Added an Eclipse project called flex-asc; it's required to run the other compiler projects now (now you can build and debug the entire compiler, including asc, all in Eclipse; I've removed the reference to asc.jar).
    * The other Eclipse projects now specify Java 1.5.
    * Revving asc.jar for compatibility with Java 1.5; it's taken from the 3.0.x branch temporarily while mainline asc is fixed up.
    * Fixed some assertions in mainline ASC (commenting them out with comments means fixing them, in this case)
    * Fixed some in-your-face warnings in the modules when compiling.
    * This will probably break the build, so hold tight. Preemptively, I'm on it...
    Modified Paths:
    flex/sdk/trunk/README.txt
    flex/sdk/trunk/development/eclipse/java/flex-compiler/.classpath
    flex/sdk/trunk/development/eclipse/java/flex-compiler/.settings/org.eclipse.jdt.core.pref s
    flex/sdk/trunk/development/eclipse/java/flex-compiler/.settings/org.eclipse.jdt.ui.prefs
    flex/sdk/trunk/development/eclipse/java/flex-debugger/.classpath
    flex/sdk/trunk/development/eclipse/java/flex-debugger/.settings/org.eclipse.jdt.core.pref s
    flex/sdk/trunk/development/eclipse/java/flex-debugger/.settings/org.eclipse.jdt.ui.prefs
    flex/sdk/trunk/development/eclipse/java/flex-jars/.classpath
    flex/sdk/trunk/development/eclipse/java/flex-swfutils/.classpath
    flex/sdk/trunk/development/eclipse/java/flex-swfutils/.settings/org.eclipse.jdt.core.pref s
    flex/sdk/trunk/development/eclipse/java/flex-swfutils/.settings/org.eclipse.jdt.ui.prefs
    flex/sdk/trunk/lib/asc.jar
    flex/sdk/trunk/modules/antTasks/build.xml
    flex/sdk/trunk/modules/asc/README.txt
    flex/sdk/trunk/modules/asc/build/java/build.xml
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/LintEvaluator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/MetaDataEvaluator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java
    flex/sdk/trunk/modules/compiler/build.xml
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/API.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/ConfigurationBuffer.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/zip/ZipEntry.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/ToolsConfiguration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java
    flex/sdk/trunk/modules/debugger/build.xml
    flex/sdk/trunk/modules/swfutils/build.xml
    flex/sdk/trunk/modules/swfutils/src/java/flash/util/ExceptionUtil.java
    flex/sdk/trunk/setup.sh
    Added Paths:
    flex/sdk/trunk/development/eclipse/java/flex-asc/
    flex/sdk/trunk/development/eclipse/java/flex-asc/.classpath
    flex/sdk/trunk/development/eclipse/java/flex-asc/.project
    flex/sdk/trunk/development/eclipse/java/flex-asc/.settings/
    flex/sdk/trunk/development/eclipse/java/flex-asc/.settings/org.eclipse.jdt.core.prefs
    flex/sdk/trunk/development/eclipse/java/flex-asc/.settings/org.eclipse.jdt.ui.prefs
    flex/sdk/trunk/development/eclipse/java/flex-jars/.settings/
    flex/sdk/trunk/development/eclipse/java/flex-jars/.settings/org.eclipse.jdt.core.prefs
    Property Changed:
    flex/sdk/trunk/development/eclipse/java/flex-compiler/
    flex/sdk/trunk/development/eclipse/java/flex-debugger/
    flex/sdk/trunk/development/eclipse/java/flex-jars/
    flex/sdk/trunk/development/eclipse/java/flex-swfutils/

    I'm expieriencing the very same problem, i.e. code compilation with a 1.5.0_06 compiler and execution on a 1.5.0_06 jre works fine, but the code parser will display an red line under a code line like the following:
    Vector<String> sv = new Vector<String>();
    I did what was hinted to in the reply. I connected to archive rt.jar in the jre-director of the jdk-1.5 and connected the javadoc for 1.5, but I still have the red lines.
    I have also added the argument -source 1.5 to the compiler, but nothing seems to help.
    Any hints very much appreciated. Many thanks.
    Pasqualino

  • Jdeveloper and ant

    hello,
    i need execute ant script before create EAR and WAR file
    i found the option in the project war properties ant xml execute but the build.xml don't run ,
    any ideas for jdeveloper and Ant integration ?
    the use case this i want create a properties file with svn version.
    thanks!!

    <?xml version="1.0" encoding="windows-1252" ?>
    <project xmlns="antlib:org.apache.tools.ant" default="generar">
    <path id="path.svnant">
    <pathelement location="libs/svnant/svnant.jar"/>
    <pathelement location="libs/svnant/svnClientAdapter.jar"/>
    <pathelement location="libs/svnant/svnjavahl.jar"/>
    <pathelement location="libs/svnant/svnkit.jar"/>
    <pathelement location="libs/svnant/ganymed.jar"/>
    <pathelement location="libs/svnant/jna.jar"/>
    </path>
    <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="path.svnant"/>
    <target name="find_revision" >
    <property name="directorio" value="${buildir}"/>
    <!-- find out revision number of HEAD, need svn.exe installed on local machine -->
    <exec executable="svn" outputproperty="svnlog.out">
    <arg line="log ../"/>
    </exec>
    <echo>${homedir}</echo>
    <echo>${svnlog.out}</echo>
    <taskdef resource="net/sf/antcontrib/antcontrib.properties">
    <classpath>
    <pathelement location="libs/svnant/ant-contrib-1.0b3.jar"/>
    </classpath>
    </taskdef>
    <propertyregex property="revision.number" input="${svnlog.out}" select="\1">
    <regexp pattern="r([0-9]*)"/>
    </propertyregex>
    <echo file="src\org\sidoc\common\BuildInfo.java">
    package org.common;
    public class BuildInfo {
    public static final String revisionNumber="${revision.number}";
    </echo>
    </target>
    </project>
    works!

  • Howto - JDev 10.1.3 - Audit tools and Ant

    Hi
    I'm playing around with Audit tools. I want to be able to call this from Ant. One primitive method is as follows:
    <target name="Audit" description="Running audit on source code">
    <property name="audit" value="ojaudit"/>
    <property name="profile" value="-profile MyRules"/>
    <property name="project" value="test3.jpr"/>
    <property name="output" value="-output d:\result.xml"/>
    <exec executable="cmd.exe" os="Windows XP" >
    <arg line="/c ${audit} ${profile} ${project} ${output}"/>
    </exec>
    </target>
    With results like:
    Audit:
    [exec] Oracle JDeveloper 10g Early Access Audit 10.1.3.0.3.3412
    [exec] Copyright (c) 2003-2005 Oracle. All Rights Reserved.
    [exec]
    [exec] Audit completed: 1 violation, no exceptions, 2 documents, 3 seconds
    BUILD SUCCESSFUL
    Total time: 3 seconds
    But then I'm unable to handle the result - unless I parse the output file. I want the Ant build file to fail if ojaudit find errors. Is this possible?
    I know the PMD extension exist but I really like the Jdev Audit stuff - but I need an interface to Ant to make it really useful: We have a build tool which build on every SCM check in. I would like the JDev Audit be part of that process so that source code problems (audit, metrics) are handles in the same process as well.
    By the way JDev 10.1.3 is great...
    johnny

    No not really (thanks anyway). The link shows basically the same as my input except for the better formatting of the output.
    Both my and the example given both uses the Ant <exec> tag which start ojaudit from the command line. The problems still exist because I would like Ant to know if something was reported and the stop the Ant build process. A kind of "failOnValidationError".
    PMD has this (example below shows and Ant tag called pmd which is part of the PMD system.
    <pmd printToConsole="yes" failOnRuleViolation="on">
    Can ojaudit also do something like this? Or is there a way Ant can "scan" the result from the audit process and take the appropriate action?

  • If I run a50 metre Ian cable to my workshop and plug in an Airport express will it create a wi fi signal for my ipad to pick up

    If I run a 50 metre LAN line to my workshop and plug in an airport express will I get wifi to my ipad

    The max length is 100m http://en.wikipedia.org/wiki/Category_5_cable So it should work.
     Cheers, Tom

  • ANNOUNCE: JSF Summit 2009: New Workshops and Sessions

    We're less than two months away from the 2nd annual JSF Summit conference, co-sponsored by JSFCentral and the No Fluff Just Stuff Symposiums. The conference will take place December 1st-4th in warm, sunny Orlando, FL.
    We already have an all-star lineup of speakers such as Ed Burns, Matthias Wessendorf, Dan Allen, Ted Goddard, Keith Donald, David Geary and several others, covering every aspect of JSF 2.0 plus JSF 1.x, Seam, MyFaces, ICEfaces, Trinidad, Spring/JSF integration, Comet, Portlets, JSR 299, testing, and more.
    But Jay Zimmerman and I wanted to make the show even better, so I'm happy to announce two full-day workshops on Seam and JSF 1.x, and several new sessions covering RichFaces, JSR 299, PrimeFaces, amd more.
    Read more here: http://weblogs.java.net/blog/kito75/archive/2009/10/13/jsf-summit-2009-new-workshops-and-sessions

    The Oracle related ones will probably available for download via the content builder etc shortly.
    Mine can be seen here http://www.slideshare.net/MGralike , but you will not be able to download them (although maybe you are allowed via the Oracle content builder part). The reasons regarding them (aka mine) to be on "seen only", are that there went a lot of work and stress into them, the topics are not always clear if you weren't their (mostly slides with only pictures) so I want it to be in the right context and/or my company paid for the time making them (so I am only the representative on this on behalve of them).
    If you have a valid reason that you me really need them then you could always drop me a line.

Maybe you are looking for

  • How can I connect my iMac [Mavericks OS] to my TV so that I can show a Keynote presentation on the TV?

    I want to connect my iMac [Mavericks OS] to my TV so that I can show a Keynote presentation on the TV.  I have a local wireless network.  My TV is Internet accessible.

  • Media Playback With Windows Media Player and Quicktime

    I just bought a mac book. Is there any way to have quicktime not the default player or to have it bring out the video from the safari window. because there are some sites that i go to and it just starts playing quicktime inside the browser video but

  • Order deletion process

    Considering COO2 and marking the order for deletion is the standard deletion process, i would like to know what are the effects of this transaction. How do we reconcile the materials to the WH ( if lets say, production has ensued in the WH and some r

  • Is there a limit to the number of App pages like the iPhone?

    On the iPhone there is a limit to 11 pages of apps showing. (I know, I know... that's a lot). If you have more than that number of apps on the phone they won't display, you have to use searchlight to find them. Is that the same with the iPad? Does an

  • IPhoto picture to iPhone

    Can I send an iPhoto picture in my iMac to my iPhone for inclusion into the iPhone photo gallery. I apologize for my inability to solve this issue.