Build with ant in a new way

Hello everyone,
I'm not sure if the title is proper, but I have a project to upgrade to weblogic 10, along with the upgrade I'm going to enhance the build files. Currently we have 450 ant file. There are many dependencies and all build files have hardcoded paths such "c:\sourcecode ...". Our application is about 6000000 lOC. Anyway, my job is to replace these paths with properties and change some old ant tasks.
You now imagine what I'm going to go through. Obviously, I need to edit 450 (can build tool for that) and do check in and out. Then test to make sure I didn't missed up with the dependency.
I'm no expert in ANT but we did some evaluation to ANT, Maven, Jam and we found ANT is the best fit for our environment because we have some structuring issues.
While working I have got this idea, however I'm not sure if it's the best, so I hope you can help here and give me your advice.
I will create a utilityBuild.xml. This ant file will contain the entire tasks we perform in all the 450. Rest of 450 ant will perform call to this utilityBuild.xml whenever it needs to do something e.g .
{color:#008000}<!-- Create Jar file of the classes in the ${tempdir} and then apply appc compilation on them-->{color}
<ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="appc"/>
Note: UTILITYBUILD = utilityBuild.xml
UtilityBuild.xml has this task as
{color:#008000}<!-- Perform weblogic.appc on the given Jar file to generate the Skeleton files -->{color}
<target name="appc" depends="jar.ejb" >
<java classname="weblogic.appc" fork="yes">
<sysproperty key="weblogic.home" value="${WL_HOME}"/>
<arg line="-compiler javac ${appdir}/${jarfile}"/>
<classpath>
<pathelement path="$classpath"/>
</classpath>
</java>
</target>
The {color:#ff0000}*benefit*{color} of doing this is {color:#ff0000}*if we decide to use wlcompile and wlappc instead of the above we only need to change one place utilityBuild.xml*{color} . I understand that I can make a custom ant task instead of relying on the properties that's passed when calling the child ant task.
{color:#0000ff}*For complete Source file* {color}
UtilityBuild.xml
<project name="SIMIS" basedir=".">
<!-- set global properties for this build -->
<property environment="env"/>
<property file="gosi.properties"/>
<target name="maketempdir" description="Create ${tempdir} directory">
<echo message="#### S T A R T B U I L D I N G ####"/>
<echo message="Started on ${TODAY} at ${TSTAMP}"/>
<mkdir dir="${tempdir}"/>
<mkdir dir="${tempdir}/META-INF"/>
<copy todir="${tempdir}/META-INF">
<fileset dir="${xmldir}">
<include name="*.xml"/>
</fileset>
</copy>
</target>
<!-- Clean all build related dirs, jars and xmls -->
<target name="cleantemp" description="Deletes ${build.dir}/** and ${dist.dir}/**." >
<delete includeEmptyDirs="true" failonerror="false">
<fileset dir="${clientclasses}" includes="**/*EJB.class"/>
<fileset dir="${tempdir}" includes="**/*"/>
</delete>
<delete dir="${tempdir}"/>
<echo message="#### E N D B U I L D I N G ####"/>
</target>
<!-- Perform weblogic.appc on the given Jar file to generate the Skeleton files -->
<target name="appc" depends="jar.ejb" >
<java classname="weblogic.appc" fork="yes">
<sysproperty key="weblogic.home" value="${WL_HOME}"/>
<arg line="-compiler javac ${appdir}/${jarfile}"/>
<classpath>
<pathelement path="$classpath"/>
</classpath>
</java>
</target>
<target name="jar.ejb" >
<jar jarfile="${appdir}/${jarfile}"
basedir="${tempdir}" update="yes">
</jar>
</target>
<target name="javac">
<javac srcdir="${sourcedir}" destdir="${destinationdir}" includes="${include}" excludes="${exclude}" classpath="${classpath}" />
</target>
<target name="copy" description="copy contents to directory">
<copy todir="${todir}">
<fileset dir="${fromdir}">
<include name="${include}"/>
<exnclude name="${exclude}"/>
</fileset>
</copy>
</target>
<target name="clean" description="clean contents of directory">
<delete includeEmptyDirs="true" failonerror="false">
<fileset dir="${cleandir}" includes="${include}" excludes="${exclude}"/>
</delete>
</target>
<target name="delete" description="delete entire directory">
<delete dir="${deletedir}"/>
</target>
<!-- deploy split directory application -->
<target name="deploy"
description="Deploy ear to WebLogic on ${wls.hostname}:${wls.port}.">
<wldeploy
user="${wls.username}"
password="${wls.password}"
adminurl="t3://${wls.hostname}:${wls.port}"
debug="true"
action="deploy"
source="${appdir}/${jarfile}"
failonerror="${failondeploy}"/>
</target>
</project>
CMN_Core_Session.xml (one of the 450 files)
<project name="default" default="build">
<!-- Specific Properties to this file. Please don't change these names, because it has been used by the ${UTILITYBUILD} -->
<property file="../gosi.properties"/>
<property name="srcdir" value="${SOURCE_CODE}/gosi/core"/>
<property name="xmldir" value="${SOURCE_CODE}/gosi/core/projects/session"/>
<property name="jarfile" value="CMN_Session.jar"/>
<!-- Main build task for this ant file -->
<target name="build" description="Builds components.">
<!-- Create Temp folders and copy the deployment descriptor their -->
<ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="maketempdir"/>
<!-- Compile the java classes in to ${clientclasses} -->
<ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="javac">
<property name="sourcedir" value="${srcdir}"/>
<property name="destinationdir" value="${clientclasses}"/>
<property name="include" value="**/*Session.java,**/*SessionHome.java"/>
<property name="exclude" value="**/*MaintainDateChangeSession.java,**/*MaintainDateChangeSessionEJB.java,**/*MaintainDateChangeSessionHome.java,**/*MaintainHolidaysSession.java,**/*MaintainHolidaysSessionEJB.java,**/*MaintainHolidaysSessionHome.java,**/*StartupUtilitySession.java,**/*StartupUtilitySessionEJB.java,**/*StartupUtilitySessionHome.java,**/UserSession.java"/>
</ant>
<!-- Compile the java classes again in to ${tempdir} this folder will be used to create the Jar file -->
<ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="javac">
<property name="sourcedir" value="${srcdir}"/>
<property name="destinationdir" value="${tempdir}"/>
<property name="include" value="**/*Session.java,**/*SessionHome.java,**/*SessionEJB.java"/>
<property name="exclude" value="**/*MaintainDateChangeSession.java,**/*MaintainDateChangeSessionEJB.java,**/*MaintainDateChangeSessionHome.java,**/*MaintainHolidaysSession.java,**/*MaintainHolidaysSessionEJB.java,**/*MaintainHolidaysSessionHome.java,**/*StartupUtilitySession.java,**/*StartupUtilitySessionEJB.java,**/*StartupUtilitySessionHome.java,**/UserSession.java"/>
</ant>
<!-- Create Jar file of the classes in the ${tempdir} and then apply appc compilation on them-->
<ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="appc"/>
<!-- Remove all file in ${tempdir} -->
<ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="cleantemp"/>
</ant>
</target>
<!-- Main deploy task for this ant file -->
<target name="deploy" description="Deploy the components">
<ant inheritAll="true" dir="${ROOT}" antfile="${UTILITYBUILD}" target="deploy"/>
</ant>
</target>
</project>
gosiProperties file
### Build Files Properties File ###
-- Configure the global properties for the ant build files
-- You may need to change this section to match your machine
BEA_HOME=C:/bea
SIMIS_DOMAIN=${BEA_HOME}/gosiprojects/server/simis
WL_HOME=${BEA_HOME}/wlserver_10.0/server
JAVA_HOME=${BEA_HOME}/jdk150_06
SOURCE_CODE=C:/sourcecode
ROOT=${SOURCE_CODE}/build_files
UTILITYBUILD=UtilityBuild.xml
-- Here we set the JARs directory and server and client classes
appdir=${SIMIS_DOMAIN}/applications
tempdir=${SIMIS_DOMAIN}/classes
clientclasses=${SIMIS_DOMAIN}/clientclasses
serverclasses=${SIMIS_DOMAIN}/serverclasses
web-inf=${appdir}/GOSI/WEB-INF/classes
startup=${appdir}/StartUp/WEB-INF/classes
-- Set the ClassPath for the ant tool
classpath=${JAVA_HOME}/lib/tools.jar;${WL_HOME}/lib/weblogic.jar;${WL_HOME};${SIMIS_DOMAIN}/APP-INF/lib/CMN_DMS_WS_RequestClient.jar;
Thanks and regards
Edited by: Nawaf on Mar 9, 2008 8:18 AM

Any idea, I'm looking for your opinion, what do you think of the above

Similar Messages

  • Problem building with ant

    Hi all,
    For some reason i get the following error message when trying to build any of the code in the j2ee tutorial.
    C:\WINDOWS\system32\ntvdm.exe
    Error while setting up environment for the application. Choose 'close' to terminate the application
    If anyone has any ideas as to why this happens, any help would be much appreciated.
    thanks

    i'm using windows xp pro. i have actually sorted that problem out by replacing ant 1.3 with ant 1.5
    I now have another error message. When i try to run the application client with the foolowing command:
    C:\forte4j\j2sdkee1.3\bin>runclient client \examples\ears\SavingsAccountApp.ear -name SavingsAccountClient -textauth
    I get the following
    Initiating login ...
    Username = null
    Enter Username:guest
    Enter Password:guest123
    Binding name:`java:comp/env/ejb/SimpleSavingsAccount`
    Application threw an exception:java.lang.NoClassDefFoundError: SavingsAccountHome
    Unbinding name:`java:comp/env/ejb/SimpleSavingsAccount`
    Not sure why i am getting the exception.

  • Is it too early for someone to reccomend a build with one of the new Sandy Bridge CPUs?

    Hi all I need to build a new PC and was told to wait until the new Sandy Bridge CPUs were out.
    This will be my first build but I'll have some help from my brother putting it together.
    I'm coming from working in CS3 on Vista 32 and want to build a PC to run Windows7 64 and CS5.
    As for a monitor I think I'm going to get a NEC MultiSync EA231WMi 23". The reason being it is a cheap IPS. The only other one I was looking at is a ViewSonic VP2365wb but the NEC has better reviews. If anyone has any other recommendations for an IPS in that price range, I'd be grateful.
    For a case I'm going to go with a Silverstone SST-FT02B Fortress or a FRACTAL DEFINE R3.
    As for the guts, I'm a little lost.
    I was going to get a 60gb SSD to stick the OS on but I see Harm Millaard reccomending a Velociraptor over on this thread. I didn't know what one was but I looked it up and discovered it was a 10,000rpm 300gb hard drive that costs about $280. Is that right? Are there cheaper and smaller versions?
    As anyone any reccomendations on what other Hard drives I should get and what RAID I should use? My budget for the whole build is mid range I suppose.
    So that brings me to the CPU, GPU and MOBO.
    Does anyone know enough about the new Sandybridge CPUs to reccomend one and which motherboard I shoud get? Do I need a seperate GPU still. People are talking about it having an integrated GPU.
    I suppose I would like to have 12gb of RAM with an option to upgrade to 24. I initially thought 8gb would suffice but people on here seem to be using 12 or 24.
    Thanks for any advice.

    common sense Harm,
    our not oced Sandy bridge ranked 13th beating any stock processor. (for some reason you have it listed as OCed)
    remove the absurbly overpriced Xeons that makes it 8th
    remove every OCed processor its now #1.
    and its #1 without the absurd 8-12 drive raid arrays... which most people have no need for.
    for the average user your recommendation like mine was the 950 stock 950 which ranks 40th is severaly beat by the 2600 not oced..
    so your replacement recommendation should be as mine is, the 2600 over the 950 all day long..
    anything less you are arguing with your own bencmark?
    but just for giggles i am having Eric resubmit with an SSD OS and a 8 drive raid the OCed to 4.7GHz system.
    Scott
    ADK

  • Building with Ant

    Hi,
    I try to build my application using Ant. Here is the fragment
    from build.xml:
    <java jar="${flex.mxmlc.jar}" fork="true">
    <arg line="-file-specs ${src.dir}/${app.name}.mxml"/>
    <arg line="-load-config ${flex.dist.config}"/>
    </java>
    When I run this, I get this error:
    [java] command line: Error: default arguments may not be
    interspersed with other options
    [java] Use 'mxmlc -help' for information about using the
    command line.
    When I do not use "-load-config" option, I get following:
    [java] defaults: Error: unable to open './flex-config.xml'
    What is wrong?
    Thanks.
    .Vlad.

    I wasn't able to reproduce the first error you got. But the
    second error happens for me.
    Somehow, invoking mxmlc.jar from a directory other than the
    flex frameworks directory leads to an error where it's looking for
    files relative to flex frameworks.
    I got around this by specifying a dir to invoke the VM in.
    i.e
    <property name="flex.dir" value="c:\flex\sdk" />
    <property name="flex.mxmlc.jar"
    value="${flex.dir}/lib\mxmlc.jar" />
    <java jar="${flex.mxmlc.jar}" dir="${flex.dir}/frameworks"
    fork="true">
    <arg line="-file-specs ${src.dir}/${app.name}.mxml"/>
    </java>

  • J2EE Tutorial: Exception when building with ant

    I am trying to build the converter example on page 48 of the J2EE tutorial using ant. Ant seems to choke on the following line from the build.xml:
    <property environment="myenv" />
    The output of the "ant converter" command is:
    Buildfile: build.xml
    init:
    BUILD FAILED
    /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    --- Nested Exception ---
    /usr/j2sdkee1.3/j2eetutorial/examples/src/build.xml:18: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    --- Nested Exception ---
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1525)
    at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:248)
    at org.apache.tools.ant.taskdefs.Property.execute(Property.java:172)
    at org.apache.tools.ant.Target.execute(Target.java:153)
    at org.apache.tools.ant.Project.runTarget(Project.java:898)
    at org.apache.tools.ant.Project.executeTarget(Project.java:536)
    at org.apache.tools.ant.Project.executeTargets(Project.java:510)
    at org.apache.tools.ant.Main.runBuild(Main.java:421)
    at org.apache.tools.ant.Main.main(Main.java:149)
    Total time: 1 second
    My best guess is that the "myenv" line in the build.xml requires some additional attribute. I'm using ant version 1.3. My OS is Solaris (noted for possible environment-related issues).
    Thanks in advance!
    Eric Smith

    On Windows XP Pro, the line
    <property environment="myenv" />
    in the init target of build.xml for the j2ee tutorial examples triggers a windows error message:
    16 bit MS-DOS Subsystem
    =======================
    C:\WINDOWS\system32\ntvdm.exe
    Error while setting up environment for the application. Choose 'Close' to terminate the application.
    <<Close>> <<Ignore>>
    So it looks as if ant is trying and failing to access the winnt system environment here.
    According to Ant Developers Handbook (Sams, October 2002, chapter 4, p. 151), the ant environment property "specifies a prefix, giving access to OS-specific environment variables. This is not supported on all platforms." Until this problem is fixed, it appears that on XP systems anyway, any ant settings in build.xml files that rely on direct access to the system environment will fail. Here is some debug output from the j2ee tutorial examples init target which demonstrates this:
    C:\apps\j2sdkee1.3.1\j2eetutorial\examples>ant init
    Buildfile: build.xml
    init:
    [echo] starting init target
    [echo] reached marker 1
    [echo] reached marker 2
    [echo] value of J2EE_HOME is ${myenv.J2EE_HOME}
    [echo] finished init target
    BUILD SUCCESSFUL
    where the task:
    <property environment="myenv" />
    (which generates the OS error popup noted above) occurs between marker 1 and marker 2. Clearly the value of J2EE_HOME is NOT being successfully read from the system environment here.

  • ECLIPSE BUILD WITH ANT CFURLGetFSRef failed

    Hi,
    someone know why when a build the same code I create with the DollyXs and use in my Xcode in Eclipse appear this message error?
    [echo] Now compiling FR file /Users/rbueno/Development/Indesign Plugin Editor/sdk/source/sdksamples/myplugin/MyPlug.fr for mac
    [exec] Beginning ODFRC
    [exec] CFURLGetFSRef failed - maybe the output directory doesn't exist (ODFRC.res)
    [echo] FR Compilation Complete: Attempting to build C++ files...
    [exec] xcodebuild: Warning: configuration release is not in the project. Building default configuration.
    I see in archived post some guy have the some problem and fix that when he changed the location form release build. I try to do the some, but i don't have success.
    Thanks a Lot!

    The full build message.
    Buildfile: /Users/rbueno/Development/Indesign Plugin Editor/projects/MyPlugin/build.xml
    mac:
    [echo] Now compiling FR file /Users/rbueno/Development/Indesign Plugin Editor/sdk/source/sdksamples/myplugin/MyPlug.fr for mac
    [exec] Beginning ODFRC
    [exec] CFURLGetFSRef failed - maybe the output directory doesn't exist? (ODFRC.res)
    [echo] FR Compilation Complete: Attempting to build C++ files...
    [exec] xcodebuild: Warning: configuration release is not in the project. Building default configuration.
    [exec] === BUILDING NATIVE TARGET Debug WITH THE DEFAULT CONFIGURATION (Default) ===
    [exec] Checking Dependencies...
    [exec] PhaseScriptExecution "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/../../../source/sdksamples/myplugin/MyPlug.fr"
    [exec] cd "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj"
    [exec] /bin/sh -c "\"../../../devtools/bin/odfrc-cmd\" -d DEBUG -d MACINTOSH -d __GNUC__ -o \"$REZ_COLLECTOR_DIR/$INPUT_FILE_NAME.rsrc\" \"$INPUT_FILE_PATH\""
    [exec] Beginning ODFRC
    [exec] ResMergerCollector "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/build/MyPlugin.build/Default/Debug.build/ResourceManagerResource s/MyPlugin.rsrc"
    [exec] cd "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj"
    [exec] /Developer/Tools/ResMerger -dstIs DF "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/build/MyPlugin.build/Default/Debug.build/ResourceManagerResource s/MyPlug.fr.rsrc" -o "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/build/MyPlugin.build/Default/Debug.build/ResourceManagerResource s/MyPlugin.rsrc"
    [exec] ResMergerProduct "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/../debug/sdk/MyPlugin.InDesignPlugin/Versions/A/Resources/MyPlug in.rsrc"
    [exec] cd "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj"
    [exec] /Developer/Tools/ResMerger "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/build/MyPlugin.build/Default/Debug.build/ResourceManagerResource s/MyPlugin.rsrc" -dstIs DF -o "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/../debug/sdk/MyPlugin.InDesignPlugin/Versions/A/Resources/MyPlug in.rsrc"
    [exec] Touch "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/../debug/sdk/MyPlugin.InDesignPlugin"
    [exec] cd "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj"
    [exec] /usr/bin/touch -c "/Users/rbueno/Development/Indesign Plugin Editor/sdk/build/mac/prj/../debug/sdk/MyPlugin.InDesignPlugin"
    [exec] ** BUILD SUCCEEDED **
    [echo] C++ Build Complete
    BUILD SUCCESSFUL
    Total time: 6 seconds

  • Compiling Flash Builder Projects with ant - error

    I'm fairly new to FlashBuilder as well as using ant to build projects.
    I'm working on a project in FlashBuilder 4.5. I'm using a 3rd party SWC that contains an alchemy-compiled C application in the SWC. Building my entire project within FlashBuilder is working fine. However, due to other parts of the project (not imported into FlashBuilder) I need to build with ant on occasion.
    The Class specific to the C app within the SWC is throwing errors when building with ant - it says it can not find the source. I had one recommendation to look into adding/editing something within the build.xml file, but I don't know what that addition/edit would be.
    Any help appreciated.

    Apparently related to switching workspaces... the error log identifies a path to an old workspace I changed out of weeks ago. I created a new workspace and moved the project (just the source, etc, not the settings) into it. been running fine for a while now... though funny how this problem didn't show up until yesterday.

  • IPhoto 11: A new way to use the old E-Mail behaviour.

    iPhoto 11 works with email in a new way. Rather than using an Application to send the email as before, what they have done is handle the email within iPhoto. So, you input your Email Account details - the name of your service, the account name, password, etc, and iPhoto uses that information to send the email via your account.
    There's an element of swings and roundabouts in this.
    Users of Apps like Thunderbird or Postbox could not email from within iPhoto in the past as those apps are not scriptable. Neither could it be used by people who use Web Mail and access their mail via a web browser. By going this way these people users have the same service as Mail/Entourage/Eudora users have.
    So much for the swings: on the roundabouts, however, users of Mail (and I suspect Entourage and Eudora) have a change. Share -> Email does not work as before and you can no longer select pics within iPhoto, resize them and pass them over to their preferred application. Neither can you send photos without a Template.
    However, by creating a Service sing Automator, it's perfectly possible to recreate the previous usage, though accessed a little differently. Here's one way:
    1. Launch Automator
    2. From the Dropdown sheet select to make a Service
    3. On the Right hand side, over the large pane (under the record button) select 'Service Receives +no input+'
    Uploaded with Skitch!
    3. From the Library Column (extreme left) click on Photos.
    4. From the Middle Column drag 'Get Selected iPhoto Items to the large pane.
    5. In the drop down on 'Get Selected Photo Items, select 'Photos'
    Uploaded with Skitch!
    6. Back to the Library column, extreme left and this time click on Mail
    7. Drag 'New Mail Message' to the right hand pane, under the existing 'Get iPhoto Items'
    8. Drag 'Add Attachments to Front Message' under that.
    9. Save it, Name it.
    Now, in iPhoto select the photos you want to email
    then
    iPhoto Menu -> Services -> And select the Service you created.
    The Mail app comes forward with your Message, with files attached.
    You can resize the Photos using the option at lower right of the Mail window:
    Uploaded with plasq's Skitch!
    Using the Keyboard Shortcuts in System Preferences you can choose a shortcut to do the whole thing from the keyboard.
    Regards
    TD

    You can also drag from iPhoto '11 to Entourage 2008 and Outlook 2011.
    Both of these will create a new email adding the photos as full size attachments
    Good tip and I just tried it. Too bad Entourage does not have the size box in the
    lower right like Apple's Mail. I really don't like sending full size pictures in email
    messages so I will use Terence Devlin's Automator script or drag and drop to the
    the Mail Dock Icon.
    Two very good workarounds for the slow iPhoto mailer. I got spoiled using the
    IPhoto 09 email interface with Entourage that let me select the size and the x-number
    of Great IPhotos
    Thanks again for another tip on how to mail photos using iPhoto 11.
    Message was edited by: aRKay

  • How to define new classpath of libraries while making jar files with ant

    I am useing eclipse and ant and trying to make a jar file. I have used some external jar files. I have managed to add external jar files to my jar. But Still I have a problem. In my project all libraries in lib folder. But when I put them into jar file. They are in the root folder.Classpath has changed and It couldn't find the class path.
    Is there any body knows how to define a new class path for external libraries with ANT. or How can I put my libraries into a lib folder in jar ?? I think both of them would solve my problem.
    thanks in advance.
    My code is like that, I think it requires a little modification
    <target name="jar">
            <mkdir dir="build/jar"/>         
            <jar destfile="build/jar/Deneme.jar" basedir="build/classes" >             
                <manifest>
                    <attribute name="Main-Class" value="${main-class}"/>                    
                </manifest>             
                 <fileset  dir="${lib.dir}" includes="**/*.jar"/>           
            </jar>
        </target>

    I can see why your other "question" was likely deleted. You need to drop the editorial comments and just ask a question. I believe what you want to know is how to configure something using php on your Apache server so that it can be read. If that's your question, here's a couple of places that discuss the topic:
    http://www.webmasterworld.com/linux/3345459.htm
    http://forums.macrumors.com/showthread.php?t=427742
    http://en.allexperts.com/q/PHP5-3508/configuring-installing-permissions.htm
    For a general introduction to 'nix permissions, take a look at this:
    http://www.osxfaq.com/Tutorials/LearningCenter/UnixTutorials/ManagingPermissions /index.ws
    And here's a whole book on the subject of Leopard permissions:
    http://my.safaribooksonline.com/9780321579331
    Try doing a Google search on "leopard permissions php apache" and see if you find what you are looking for.
    Francine
    Francine
    Schwieder

  • Building the ADF 11g project with ANT or MAVEN

    I want to automate the build process of my project using ant or maven. Is there already some build scripts for ant / maven. which can compile and package it using the structure which JDeveloper follows?

    Anthony,
    You probably can. However, since I wrote the original article, I have changed my way of thinking on this; at the time I wrote the article, ojdeploy was not working - now it is. Installing JDev on a build machine takes a bit of space, but it's not a big deal; it doesn't require a license or anything. If I were doing this today, there is no way I would consider anything but ojdeploy for doing the build - it guarantees that what I set up in JDev is what gets built. The one thing that could make me change my mind is if and when JDeveloper gets fully-baked Maven support, including keeping a POM in synch with any libraries added to a project, but that's neither here today nor a certainty, since Oracle hasn't made any specific announcements that I am aware of about the direction of Maven support in JDev.
    We did have a discussion about this on the [url http://groups.google.com/group/adf-methodology/browse_thread/thread/52f7aab00d201b4c/bec6e076a7c82520?lnk=gst&q=ojdeploy#bec6e076a7c82520]ADF Enterprise Methodology Group a while back, and I recall quite a discussion in the forums as well about ojdeploy vs ANT/Maven. I used to be more of a "purist" mindset (i.e. don't make me install an IDE on the build server), but if you like, don't think of it as an IDE in this function - it doesn't require a user to operate it, it's just another build tool that you'd install on the server. That build tool can be integrated with ANT using the ojdeploy tasks.
    John

  • Muss: a new way to control mpd with dmenu

    muss is fast and simple. It allows you to type a few word fragments and then it automatically creates a playlist with all matching music files. The interface is bimodal: either pure command-line search (similar to plait) OR a dmenu-based browse interface showing all of your music files as you enter keywords. Again, the difference from other mpd controllers is that ALL of the matching items from dmenu get put into the playlist, not just one. (This ability to return multiple results requires a small patch to dmenu, as described in the documentation)
    For code and docs, see https://github.com/dbro/muss
    Suggestions and comments are welcome.
    Dan

    A new way to keep up with all the Office 365 Dev news, tips and tricksToday we’re excited to announce The Office Dev Show, a new dedicated Channel 9 show devoted to all things Office 365 dev-related. The show, hosted by Sonya Koptyev, will include guests from the Office 365 Extensibility engineering team, as well as key community members. The show will feature new code and capabilities that have been added for devs to customize the Office platform, including the desktop, online and mobile versions, as well as a series on how to “Get Started” building on the platform. The Office Dev Show airs weekly, on Wednesdays.The first show, released on July 17, 2015, features an interview with Yina Arenas, senior program manager, who describes all the great features available in the Office 365 unified API Preview.Upcoming showsIn the following...

  • New build with big bang x-power board. Any help welcome and appreciated.

    Started new build with big bang x-power board, i7 960 processor, 3 x 4gb mushkin cl7 ram and imation m-class 128gb solid state drive running Windows 7 ultimate x64. This particular SSD is probably just temporary. Since I don't have the SSD I really want (yet) and this 1 was given to me at no cost, by a friend who really hated it, I thought it would suit my current needs. The specs & reviews were not encouraging, but they were not exactly "terrible" either.
    Anyway, I was unable to install the OS on the Imation drive, while connected to a sata2 port. Got repeat bsod despite many variations in settings, including fail safe defaults. After clearing cmos and switching to a sata3 port, I got it to install no problem after putting settings back to cpu voltge: 1.35, dram voltage: 1.65, mode: AHCI and all others: default with only 1 RAM module seated.
    So... I think this may be a BIOS issue and was hoping someone could point me to the most recent BIOS version available for me to update my BBXP board. I believe v1.6 is what i'm looking for, unless my info is outdated. Since my plan is ultimately to run the OS from an SSD using a sata2 port, I definitely want to resolve this, and hopefully any other issues with the v1.0 BIOS that I just haven't encountered yet.

    Thanks again HU16E, and sorry for any confusion and/or lack of information. I'm guess you can tell i'm still new at this, but I'll try to do better with specifics in the future   -please forgive me.
    SSD = Solid State Drive. The brand of this particular solid state drive is "Imation" and the series is "M-Class." It is a sataII device that would not install the OS while connected to any of the sataII ports on the board. Initial attempt was made with all settings on auto. When that didn't work, I adjusted voltages because it seemes unstable with repeat freezes and restarts. The install seemed to start ok with adjusted voltages but still would not complete.
    I then moved the sataII drive to a sataIII (marvell) port, put all settings back on auto and the install went further (loaded files, copied files, expanded files, etc) but would froze several times during windows start up attempt. I then changed cpu & dram voltages back to the adjusted values I tried when the drive was connected to the sataII port and everything worked fine. Tested under load for 4 hours and no problems of any kind. Its still working now. I do however suspect I will have many more problems when I move the solid state back to a sataII port, or when I add my other Hard Disk Drives.
    BIOS version showed: 1.0.0 but i can check again to assure I didn't misread anything in my haste. If i'm mistaken, I will post the correction. Hope I answered everything the way you wanted & didn't just make matters worse and more confusing  lol.  thanks for the link as well, i'll check on it asap

  • Is there a way to stop being bombarded with IAds when playing games on the iPad? This is a very annoying new way to advertise Apps.

    Is there a way to stop being bombarded with IAds when using games on my IPad? Is this a new way to advertise Apps?

    If these are the free versions of the games, buy the full version and the iAds should go away. The developer can offer the app for free by selling advertising. If the developer is going to give the app away, he has to be paid for his work somehow.
    There may be some paid apps that might include iAds as well. In those instances, the developer includes the ads in order to subsidize the cost of the app to the end user in order to reduce the cost of the app. You should always read the app description when you download any app to make sure that you know what you are getting into - with regard to ads and in-app purchases.
    Games are the worst offenders - IMO. Many "free" games become totally useless after you reach a certain level or if you reach your limit in lives or potions or things like that. If you want to continue in the game, you than have to make in-app purchases for levels, lives, potions, beads, whatever. You can rack ip quite a bill playing those "free" games if you are not aware of what you are getting into.

  • HT4972 I replaced the computer I originally used to synch my iPhone. I get the message stating that my content will be erased, even though this is the computer I now synch with. Is there a way to make the update recognize the new computer?

    I replaced the computer I originally used to synch my iPhone. When trying to update to iOS5.0, I get the message stating that my content will be erased, even though this is the computer I now synch my phone with. Is there a way to make the update recognize the new computer so that my content will be kept?

    The best option is to copy your entire iTunes folder from your old computer to your new one using one of the methods described here: http://support.apple.com/kb/HT4527.  This will allow iTunes on your new computer to recognize and sync with your phone without deleting content.  You will also need to copy over any other synced data not in your iTunes library such as photos synced to your phone, calendars and contacts.
    If you can't do this, these articles will help you start syncing with your new computer with minimal or no data loss:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive
    Recovering your iTunes library from your iPod or iOS device

  • Error while building Web Services for Invoking PL/SQL with ANT

    Hello,
    i tried to build the demo- webservice for plsql- stored procedure, but while i want to run the demo with ant i get the following error:
    The same Error occures while Run the Demo with seperate commands: Step 5a(1) Assembly:
    env-check:
    init:
    [mkdir] Created dir: D:\ORAWebServices\webservices_demos\webservices_demos\db\plsql\build\classes\service
    wsa:
    [java] Fehler: oracle.j2ee.ws.tools.wsa.cli.CommandLineMessageBundle_de
    BUILD FAILED
    D:\ORAWebServices\webservices_demos\webservices_demos\db\plsql\build.xml:45: The following error occurred while executing this line:
    D:\ORAWebServices\webservices_demos\webservices_demos\common.xml:74: Java returned: 1
    Total time: 3 seconds
    The Database runs on a remote system and the service-connfig.xml is updated.
    Thanks for Help.

    I assume you have OC4J 10.1.3 webservices installed. Then you should not be using service-config.xml. Check out the 10.1.3 documentation about WebServiceAssembler. I am afraid, you are using 10.1.2 style service-config.xml along with 10.1.3 style WebServiceAssembler.

Maybe you are looking for

  • SPRY menu bar not working in IE 9

    Hey! I recently just finished building my very first website using Dreamweaver CS5.5!  It looks really great and works perfectly in firefox and safari however the SPRY menu bar does not work in IE 8 or 9. Does anyone know what i can do to fix this wi

  • Where Can I Buy a Zen Xtra Ca

    I have the leather one that it came with, but I am looking for perhaps a plastic non-grip/non-slip one like you can get for an Ipod. Or a canvas or nylon one. The leather one is not good for working out at the gym. Anyone have any idea where I can pu

  • TS4006 HOW DO I FIND THE IOS 5 UPDATE FOR MY IPOD

    i cant get anything to download from the app store due to a message that requires app to update to iOS5.. but i have no warranty to get help from apple.. can anyone tell me how to update

  • Working with dup rows

    I have this (duplicates) on customer_id Table. customer_id, store, store2 1234,  45, 45 1234,  46, 45 1234,  45, 45 4322, 3,   12 4322, 12, 12I need to select the duplicate customer_ids where their store is different for any duplicate rows, and then

  • Role Creation with Virsa

    Hi All, We have implemented ECC 6.0 and Virsa components.Can someone please provide the procedure for creating roles using Virsa. Thanks in Advance.