Problems about Ant tool

here goes my build.xml
<project name="lniteims" default="build" basedir=".">
<property name="j2ee.home" value="c:/sun/appserver"/>
<path id="classpath">
<fileset dir="${j2ee.home}/lib">
<include name="j2ee.jar"/>
</fileset>
</path>
<target name="build" depends="init">
<javac srcdir="source" destdir="build" description="Comiple the source files">
<inculde name="**/*.java"/>
<classpath refid="classpath"/>
</javac>
</target>
<target name="init">
<tstamp/>
<mkdir dir="build"/>
</target>
</project>
When i tried to run asant build, ant told me that :C:\Documents and Settings\Liu Bo\My Documents\lniteims\build.xml:9: The <javac>
type doesn't support the nested "inculde" element.
it shouldn't be like that because i fould in the manul of ant this snippet of xml: <javac sourcepath="" srcdir="${src}"
destdir="${build}" >
<include name="**/*.java" />
<exclude name="**/Example.java" />
</javac>
Who can tell me WHY??????????????????????
Thanks in advance!!!!!!!!!!!!!!!!!!!!!!!!!1

Thanks!
i do misspell the word.
by the way, i wanna discuss with you some of the problems that i've been suffering for a long time.
there are three:
The first problem goes below.
Several JSP pages in bookstore2 refer to the only BookDBAO object created in servelet context using this statement:
<jsp:setProperty name="bookDB" property="database" value="${bookDBAO}" />
Why are there no database sycronizations in bookstore2 application?
I know that the BookDB bean is created in page scope, but its database property is refering to the only BookDBAO object created in application scope.
i am confused about this.
By the way, can we just use EL expressions in this way:${bookDBAO}?
i bet it should be ${applicationScope.bookDBAO}
The second problem is about the only servlet dispatcher in bookstore2.
I refer to the "Java Servlet Specification Version 2.4".
it says that :"For a servlet not hosted in a distributed environment (the default), the servlet
container must use only one instance per servlet declaration."
The dispatcher in bookstore2 also use the application-scoped BookDBAO object.
if the only instance of diapatcher handles several requests from web clients, the application-scoped BookDBAO object is actually accessed by several threads created by the container to provide servies to those web clients.
In this context, i consider that the access to database in BookDBAO object should be syncronized to keep the application work well.
The last one is about resource reference.
in admin console of the application server, we configure pointbasepool for the bookstore applications. There is one parameter called "resource type". it has been configured "javax.sql.xaDatasource" This connection pool is used by one jdbc resource whose jndi name is "jdbc.bookdb". When i run the deploytool of the application server, i opened the bookstore2.war(provided war) and moved to resource reference tab and saw that the resouce type is configured javax.sql.Datasource. i am confused about the difference. I 've looked up the j2se documentation and read through materials about the two interfaces. But i just don't know how to use them.
i will be grateful if you can help me.
Thanks!!!!

Similar Messages

  • Information About Ant Tool

    What is the main purpose of ANT Tool? Can any body tell me?
    Thanks in advance
    Srinivasa Rao Somu
    Software Engineer
    Netsoft Global Informatics Pvt ltd.
    [email protected]

    Ant is a tool for automating the process of building Java applications. It can do just about anything you need to do: compile, package, move files around, even create javadoc. The documentation is actually pretty good:
    http://ant.apache.org/manual/index.html
    http://ant.apache.org/
    At my company we use it to build our applications from source then take the classes, wrap them up with configs (and other stuff) and deploy the archive file to a location for each instance.
    The config can be a little intimidating at first. I'd suggest getting a few example build files to get started.
    ~ Robert

  • About ant tools dtd file

    An XML document that conforms to a given DTD or XML Schema can be said to be well formed according to the XML syntax rules and valid according to that DTD or XML Schema.
    Ant build files must be well formed XML documents. However, there are no formal DTD's or XML Schemas for Ant build files. Ant doesn't have DTD's or XML Schemas essentially because the rules for a valid Ant build file can change so easily. For example, Ant allows you to create your own types of XML elements and use them in your build files - which would immediately make your build file invalid according to the 'standard' DTD or XML Schema.
    QUESTION : if ANT doent have a dtd file , how it is decided that it is well
    formed or valid or wher r the rules defined ... please explain

    You cannot have a formal XML schema:
    http://www.theone.ru/lists/comp.lang.java.programmer/msg00560.html
    You can find an informal XML DTD or schema at
    http://www.sdv.fr/pages/casa/html/ant-dtd.en.html
    http://www.lal.in2p3.fr/cgi-bin/cvsweb/cvsweb.cgi/build/ant.dtd

  • Some problems about making USB boot

    Hi AF!
    I'm having really big problems about making a USB Install Key!
    Its a 256mb (I will only use base) But how should I make the partitions??
    After reading another topic - http://bbs.archlinux.org/viewtopic.php?t=18643
    I still having some problems - Normally I would say the whole USB key should be FAT16 - is that correct or how should I make this ????
    Another part is about making the bootloader ?? Should that be Lilo or should I use the mksysconfig. If I use lilo with /sbin/lilo -M /dev/sda - I get the error upon boot - this is not a bootable floppy or disc??
    And if I use mksyslinux?? - well not sure I'm using the correct command - so how do I use this ???
    Thanks
    Peque

    well its been some time since i did this but if memory serves well
    make sure that in /etc/mkinitrd.conf the USB= "   "  <thats blank  not
    USB=1   
    i believe i told mkinitrd to install all the usb modules i needed even then i had to use initrd-full.img
    also i needed mdadm installed
    i ran lilo on my pen  grub just wouldnt work for me it installed but couldnt find what to boot . lilo would boot up on the machine i installed it on but wouldnt boot on ant other machine never did figure that out , my thoughts went else where at that time & havent  gone back to it yet.
    thats what i remember how much pertains to you i dont know hope this helps

  • Ant Tool

    Folks, can anybody put some light on working of Ant Tool / Ant Directory Structure / Ant Configuration files.
    Thanks
    Randhir

    http://ant.apache.org
    The build.xml file that comes with the standard Identity netbeans tools is relatively straightforward once you understand ant syntax. What are you having problems with?

  • About Ant

    I know, this is not the right forum to talk about Ant. But they don't have an own one.
    My first impression of Ant is: good idea, but no good design.
    Ant's XML files effectively imitate an own programming syntax. Thats not what XML is suited for. I think no future programming language or script language will ever use XML as their main source files like Ant does. Nor will any other Library or Framework do that.
    Being an Ant beginner, I have to learn to to program Ant scripts with XML. I cannot "reuse" my Java knowledge for that purpose. All the very basic things I must learn again when learning Ant: like calling a "method", passing "parameters", controlling program flow and so on. They are expressed different in XML syntax than in Java syntax.
    So what is the alternative? The alternative would if the Ant creator would not have used XML as Ant's source files but Java source files instead. This would have resulted in a Library or a Framework.
    Imagine all the Java Libraries and Java Frameworks being designed like Ant. How many different XML syntaxes would we have to learn!
    I think its sad that Ant used the XML files. It wold be okay to use them as property files, but not as the main source files.
    I could say more against the Ant design, but this is the main design blunder in my eyes.
    What do you think?

    I know, this is not the right forum to talk about Ant. But they don't have an own one.There is an Ant mailing list. Perhaps you should send this to the list and see what kind of response you get.
    My first impression of Ant is: good idea, but no good design.It's an excellent design, IMO. You couldn't be more wrong.
    Ant's XML files effectively imitate an own programming syntax. Thats not what XML is suited for. I think no
    future programming language or script language will ever use XML as their main source files like Ant does. Nor will any other Library or Framework do that.Ant does not pretend to be a programming language. There aren't constructs for looping, and the conditional logic is quite limited. I've even read in the docs (can't recall where right now) that it's not intended to be a full-fledged scripting language.
    Being an Ant beginner, I have to learn to to program Ant scripts with XML. I cannot "reuse" my Java
    knowledge for that purpose. All the very basic things I must learn again when learning Ant: like calling a
    "method", passing "parameters", controlling program flow and so on. They are expressed different in XML syntax than in Java syntax."Being an Ant beginner" - there's the problem. Shallow knowledge.
    They didn't intend for you to reuse your Java knowledge. Ant isn't a replacement for Java. It's a replacement for make. It is a framework that happens to use Java classes to implement common tasks, passing parameters to those tasks via XML.
    Actually, I think it's a very nice framework that makes it possible for people to add tasks as they discover them, because they can define the task class and the XML to drive it in such a way that they're orthogonal to all other tasks. Today one programmer can add WebLogic EJB tasks, tomorrow it's another sending in JBoss EJB tasks for inclusion. It's a flexible, elegant design IMO.
    So what is the alternative? The alternative would if the Ant creator would not have used XML as Ant's
    source files but Java source files instead. This would have resulted in a Library or a Framework.What do you think is doing the work behind the scenes in that ant.jar? Java classes! XML happens to be a convenient, well-understood syntax for providing input values to drive those tasks and glue them together.
    Imagine all the Java Libraries and Java Frameworks
    being designed like Ant. How many different XML
    syntaxes would we have to learn!This comment tells me that you don't understand libraries, frameworks, or Ant.
    I think its sad that Ant used the XML files. It wold be okay to use them as property files, but not as the
    main source files.You'd rather have property files than XML? You're a minority of one there. XML is routinely used to supply properties to Web apps, EJB descriptors, B2B apps, etc. What do you have against the use of XML? It's quite common, and a natural choice.
    I could say more against the Ant design, but this is the main design blunder in my eyes.Please do pass this note to the Ant mailing list. I'm sure the designers are waiting to hear from you.
    What do you think?I think this is one of the most ignorant posts I've seen in a while. - MOD

  • A problem about build project fail...

    Hi all, I'm fairly new to iPhone programing and now get a problem about build project fail. ><
    I've downloaded a couple of sample codes from Apple web site and build them, but there are some errors messages as below...
    Could some body help me to handle this problem?? I'll be very appreciated~
    ================================ Error msg of "MoveME" sample ============================
    Building target “MoveMe” of project “MoveMe” with configuration “Debug” — (21 errors, 1 warning)
    Checking Dependencies
    warning: couldn't add 'com.apple.XcodeGenerated' tag to '/Volumes/MoveMe/build/MoveMe.build': Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x33ba1f0 "Operation could not be completed. No such file or directory"
    error: unable to create '/Volumes/MoveMe/build' (Read-only file system)
    error: unable to create '/Volumes/MoveMe/build' (Read-only file system)
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    warning: couldn't add 'com.apple.XcodeGenerated' tag to '/Volumes/MoveMe/build/MoveMe.build': Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x33ba1f0 "Operation could not be completed. No such file or directory"
    error: unable to create '/Volumes/MoveMe/build' (Read-only file system)
    error: unable to create '/Volumes/MoveMe/build' (Read-only file system)
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    Unable to create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    <com.apple.tools.info-plist-utility> Info.plist -genpkginfo /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/PkgInfo -expandbuildsettings -o /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/Info.plist
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    error: The file “PkgInfo” does not exist.
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    error: The file “PkgInfo” does not exist.
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks /Volumes/MoveMe/Default.png /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    pbxcp: error: open(): /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/Default.png [/SourceCache/pbxtools/pbx_tools-1059/pbxcp/fileutils.m:392]: No such file or directory
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks /Volumes/MoveMe/Placard.png /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    pbxcp: error: open(): /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/Placard.png [/SourceCache/pbxtools/pbx_tools-1059/pbxcp/fileutils.m:392]: No such file or directory
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks /Volumes/MoveMe/DisplayStrings.strings /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    pbxcp: error: open(): /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/DisplayStrings.strings [/SourceCache/pbxtools/pbx_tools-1059/pbxcp/fileutils.m:392]: No such file or directory
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/MainWindow.nib /Volumes/MoveMe/MainWindow.xib
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    /* com.apple.ibtool.errors */
    Internal Error:
    Description: Compilation failed. Unable to write to path: /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/MainWindow.nib
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -resolve-src-symlinks /Volumes/MoveMe/Icon.png /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    pbxcp: error: open(): /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/Icon.png [/SourceCache/pbxtools/pbx_tools-1059/pbxcp/fileutils.m:392]: No such file or directory
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/MoveMeView.nib /Volumes/MoveMe/MoveMeView.xib
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    /* com.apple.ibtool.errors */
    Internal Error:
    Description: Compilation failed. Unable to write to path: /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app/MoveMeView.nib
    error: couldn't create directory /Volumes/MoveMe/build/Debug-iphonesimulator/MoveMe.app: Read-only file system
    mkdir /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386 (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_IPHONE_OS_VERSION_MINREQUIRED=20000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0 .sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-ge nerated-files.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- own-target-headers.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- all-target-headers.hmap -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-pr oject-headers.hmap -F/Volumes/MoveMe/build/Debug-iphonesimulator -I/Volumes/MoveMe/build/Debug-iphonesimulator/include -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Derived Sources -include /var/folders/bW/bWmyU-LjHBKBRZqhplPNE++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoveMePrefix-chaljwmdesvmdlfdlkpiazlaoxmy/MoveMePrefix.pch -c /Volumes/MoveMe/main.m -o /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/main.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    {standard input}:unknown:FATAL:can't create output file: /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/main.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    mkdir /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386 (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_IPHONE_OS_VERSION_MINREQUIRED=20000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0 .sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-ge nerated-files.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- own-target-headers.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- all-target-headers.hmap -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-pr oject-headers.hmap -F/Volumes/MoveMe/build/Debug-iphonesimulator -I/Volumes/MoveMe/build/Debug-iphonesimulator/include -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Derived Sources -include /var/folders/bW/bWmyU-LjHBKBRZqhplPNE++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoveMePrefix-chaljwmdesvmdlfdlkpiazlaoxmy/MoveMePrefix.pch -c /Volumes/MoveMe/Classes/MoveMeAppDelegate.m -o /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/MoveMeAppDelegate.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    {standard input}:unknown:FATAL:can't create output file: /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/MoveMeAppDelegate.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    mkdir /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386 (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_IPHONE_OS_VERSION_MINREQUIRED=20000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0 .sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-ge nerated-files.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- own-target-headers.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- all-target-headers.hmap -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-pr oject-headers.hmap -F/Volumes/MoveMe/build/Debug-iphonesimulator -I/Volumes/MoveMe/build/Debug-iphonesimulator/include -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Derived Sources -include /var/folders/bW/bWmyU-LjHBKBRZqhplPNE++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoveMePrefix-chaljwmdesvmdlfdlkpiazlaoxmy/MoveMePrefix.pch -c /Volumes/MoveMe/Classes/PlacardView.m -o /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/PlacardView.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    {standard input}:unknown:FATAL:can't create output file: /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/PlacardView.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    mkdir /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386 (error: Read-only file system)
    cd /Volumes/MoveMe
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D_IPHONE_OS_VERSION_MINREQUIRED=20000 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0 .sdk -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-ge nerated-files.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- own-target-headers.hmap -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe- all-target-headers.hmap -iquote /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/MoveMe-pr oject-headers.hmap -F/Volumes/MoveMe/build/Debug-iphonesimulator -I/Volumes/MoveMe/build/Debug-iphonesimulator/include -I/Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Derived Sources -include /var/folders/bW/bWmyU-LjHBKBRZqhplPNE++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoveMePrefix-chaljwmdesvmdlfdlkpiazlaoxmy/MoveMePrefix.pch -c /Volumes/MoveMe/Classes/MoveMeView.m -o /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/MoveMeView.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    {standard input}:unknown:FATAL:can't create output file: /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386/MoveMeView.o
    error: couldn't create directory /Volumes/MoveMe/build/MoveMe.build/Debug-iphonesimulator/MoveMe.build/Objects-n ormal/i386: Read-only file system
    Build failed (21 errors, 1 warning)

    Ya, something like that...
    I'm even new to Mac, thanks for your answer ^^"

  • Ant tools: converter java card

    Hi,
    I have already a problem with the ant tools for java card.
    I build a build.xml file which has for aim to generate the CAP,EXP, JCA and the *.script files before downloading them on cref.
    I have a problem with the command converter. Here you can find my code:
    <!--generation of the JCA,EXP and CAP file-->
              <echo message = "Generation of the CAP,JCA and EXP files..."     />
              <convert
                   JCA="true"
                   EXP="true"
                   CAP="true"
                   packagename="versionZero"
                   packageaid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00"
                   majorminorversion="1.0"
                   verbose = "true">               
                   <AppletNameAID
                        appletname="versionZero.VersionZero"
                        aid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00:0x00"/>
                   <classpath refid="classpath"/>
              </convert>
         My problem is the following: the command converter say mys package is empty and it is not the case: it contains all the *.java file.
    Must I compile the files with javac before using the convert command or it is another problem?
    Here is the trace of my build.xml file:
    Buildfile: /home/ehoudart/app-manager/VersionZero/src/build.xml
    testinit:
    [echo] Deleting the old generated files...
    [echo] Generation of the CAP,JCA and EXP files...
    [convert] Java Card Ant Tasks, Version 1.0
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] Note: Usage of Java Card Ant Tasks is optional. Java Card Ant Tasks are not supported by Sun Microsystems, Inc.
    [convert] Java Card 2.2.2 Class File Converter, Version 1.3
    [convert] Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
    [convert] error: versionZero: empty package.
    [convert] conversion completed with 1 errors and 0 warnings.
    BUILD FAILED
    /home/ehoudart/app-manager/VersionZero/src/build.xml:115: Conversion failed
    Total time: 384 milliseconds
    Thanks in advance for your answer.

    Hi,
    Please use &#123;code} tags for posting code etc.
    <!--generation of the JCA,EXP and CAP file-->
              <echo message = "Generation of the CAP,JCA and EXP files..."     />
              <convert
                   JCA="true"
                   EXP="true"
                   CAP="true"
                   packagename="versionZero"
                   packageaid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00"
                   majorminorversion="1.0"
                   verbose = "true">               
                   <AppletNameAID
                        appletname="versionZero.VersionZero"
                        aid="0xB0:0x02:0x03:0x04:0x05:0x06:0x07:0x08:0x09:0x00:0x00"/>
                   <classpath refid="classpath"/>
              </convert>
         My problem is the following: the command converter say mys package is empty and it is not the case: it contains all the *.java file.
    Must I compile the files with javac before using the convert command or it is another problem?That is correct. You can make your convert task depend on a compile task for this.
    Cheers,
    Shane

  • ANT tool calling jsp

    Hi
    I'm using ant tool for my project with WSDP(uploading various file formats using jaxm +soap
    ) .I have declared java classes and servlets in build.xml file java classes and servlets are run perfectly
    problem is i need to introduce jsp for my front end , simply jsp will call
    the servlet .
    How do i declare my jsp file in ANT build.xml file.Since jsp files compile at run time
    under which task do i have to declare the name like (javac ,java )
    Thanks

    Hi Priyanka,
    You need to copy the jsp(from the location/ directory where you have stored it) to root directory of your application. The JSP will get automatically compiled when requested for the first time, by the Web Server. I hope the example shown below should help you.
    <!-- Below target copies the JSP file to root of your application, ie.myApplication & java classes get compiled into WEB-INF/classes directory-->
    <target name="target-transfer-to-tomcat-application-root">
    <!-- copy jsp, html to build dir -->
    <copy todir="C:/Tomcat/webapps/myApplication">
    <fileset dir="C:/ProjectDirectory/web" />
    </copy>
    <javac srcdir="C:/ProjectDirectory/web"
    destdir="C:/Tomcat/webapps/myApplication/WEB-INF/classes"
    includes="**/*.java"
    classpathref="" > <!-- Specify the lib reqd in claspath -->
    </javac>
    <target/>
    DEEPAK

  • An old and difficult problem about "UnsatisfiedLinkError"

    Hi dear all,
    I have been struck with the problem about "UnsatisfiedLinkError". I have a c++ class HelloWorld with a method hello(), and I want to call it from within a java class. In fact, I have succeeded in calling it on the windows platform. But when I transfer it to linux, the error "UnsatisfiedLinkError" comes out. I have tried to take the measures as Forum has suggested, but it failed.
    The source code is very simple to demonstrate JNI.
    "HelloWorld.h"
    #ifndef INCLUDEDHELLOWORLD_H
    #define INCLUDEDHELLOWORLD_H
    class HelloWorld
    public:
    void hello();
    #endif
    "HelloWorld.cpp"
    #include <iostream>
    #include "HelloWorld.h"
    using namespace std;
    void HelloWorld::hello()
    cout << "Hello, World!" << endl;
    "JHelloWorld.java"
    public class JHelloWorld
    public native void hello();
    static
    System.loadLibrary("hellolib");
    public static void main(String[] argv)
    JHelloWorld hw = new JHelloWorld();
    hw.hello();
    "JHelloWorld.cpp"
    #include <iostream>
    #include <jni.h>
    #include "HelloWorld.h"
    #include "JHelloWorld.h"
    JNIEXPORT void JNICALL Java_JHelloWorld_hello (JNIEnv * env, jobject obj)
    HelloWorld hw;
    hw.hello();
    All the files are in the same directory and all the processes are under the dirctory:
    1. javac JHelloWorld.java
    2. javah -classpath . JHelloWorld
    3. g++ -c -I/usr/java/jdk1.3/include -I/usr/java/jdk1.3/include/linux JHelloWorld.cpp HelloWorld.cpp
    4. ld -shared -o hellolib.so *.o
    5. java -cp . -Djava.library.path=. JHelloWorld
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no hellolib in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1349)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at JHelloWorld.<clinit>(JHelloWorld.java:7)
    Tried another measure:
    i) export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
    ii)java -cp . JHelloWorld
    The same error came out as above.
    I really don't know what is wrong with it.
    Would you like to help me as soon as possible?
    Thanks.
    Regards,
    Johnson

    Hi Fabio,
    Thanks a lot for your help.
    It is very kind of you.
    Regards,
    Johnson

  • How can i use JWSDP1.6 from Ant tool to convert .wsdl file into Java class

    Hi All,
    i m very new in the development field.plese help me...
    i have a .wsdl file and i have to make some modification in the file and return this file with build file used in Ant tool.
    means my requirement is to conver the .wsdl file into java class,modify it and convert back to wsdl file.how can i do it using JWSDP1.6 and Ant tool.
    thanks in advance...
    Vikram Singh

    lemilanais wrote:
    hello!
    I have developpe an animation with flash. before give it to othe person in order to use it, i would like to secure it by integrated a security module inside the software.Secure it from what? Being played? Copied? Deleted? Modified?
    Because, i am a java developper, i have choose Netbeans 6.1 to secure it.That has to be the most random thing I've read in some time.
    do you know how can i do to integrate my animation .swf inside my java class?Java can't play SWF files and Flash can't handle Java classes, so what you're suggesting here doesn't make a lot of sense.

  • A problem about calling Labview vi in VB

    Hi all:
    I meeting a problem about data transfer and parallel operation between VB and Labview.
    Actually, I want develop a VB program, in which, the Labview VI can be called and corresponding parameters can be transferred to Labview. and then, I also can operate my system by VB program at same time. something like parallel operation (VB and Labview program).
     But the question is :
    1.   If I use "Call" method of ActiveX in VB,  and the LabVIEW subvi is not stopped (for example, a loop structure), I can not do  parallel operation on VB program. The error message is "other application is busy" which is attached below. The sample codes is also attached.
    2.   I tried to use other methods like "OpenFrontPanel" and "Run", but I am not sure how to transfer the parameter??
    3.  Then I tried to use "SetControlValue" to set the parameters, but there is a error " := expected", which is very strange, because the statement  I wrote is followed with the help documents [ eg: VI.SetControlValue ("string", value)], why it is still need a "=" ??
    Does anybody know something about it? Thanks a lot
    Message Edited by hanwei on 11-07-2008 03:18 PM
    Attachments:
    vb_labview_error_message_1.JPG ‏14 KB
    VB_to_LV.zip ‏10 KB

    I sure hope OP has solved it by now.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • HT201210 hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    Try the suggestions here to see if they resolve your problem:
    http://support.apple.com/kb/ts1559
    If these don't work you may have a hardware problem. Visit an Apple store for an evaluation or contact Apple Support.

  • I am running Windows 7  and trying to update to iTunes version 10.5 (from version 10.3.1.55) and I keep getting the following error message, 'Error occurred while installing the updates. If the problem persists, choose Tools Download Only and try instal

    I am running Windows 7 home edition and trying to update to iTunes version 10.5 (from version 10.3.1.55) and I keep getting the following error message, ‘Error occurred while installing the updates. If the problem persists, choose Tools > Download Only and try installing manually’ which I do only to have the same error message pop up.

    Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
    http://www.apple.com/itunes/download/

  • Problem about Handling of Empty Files in File Adapter

    Hello everyone,
    NetWeaver 2004s --- XI
    In Sender i have a File Adapter.
    Now i meet a problem about Handling of Empty Files. When i send empty file, but don't cerate a leer message.
    I have seen following text in help document. But in adapter configuration i can not find the correspond parameter.
    can you give me some tips?
    Thx in advance
    best regards
    Yaning
    SAP Help Document über File Adapter
    +Handling of Empty Files
    Specify how empty files (length 0 bytes) are to be handled.
    &#9675;       Do Not Create Message
    No XI messages are created from empty files.
    The files are processed according to the selected Processing Mode.
    For example, if the processing mode is Delete, empty files are deleted in the source directory.
    &#9675;       Process Empty Files
    XI messages are created with an empty main payload.
    The files are processed according to the selected Processing Mode.
    &#9675;       Skip Empty Files
    No XI messages are created from empty files.
    Empty files are skipped and remain in the source directory.+
    Help Docu

    hi,
    it's available since Sp19 for XI 3.0
    and the corresponding SPS fpr XI 7.0
    http://help.sap.com/saphelp_nw04/helpdata/en/44/f565854b7341e6e10000000a1553f6/frameset.htm
    so probably you need to install the new SP
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • How to run lint in the Sun Studio 12 IDE

    I'm a newbie to the Sun Studio IDE, and I can't find a way to run lint in the IDE. The C compiler does not give many warnings (unused variables, etc), and lint does, so I want to get the lint diagnostics within the IDE. I can run lint from a terminal

  • Removing SIDHistory for all users in an OU

    Hello everyone, I have tried this (I'm on Windows Server 2012 R2) http://technet.microsoft.com/en-us/library/powershell_remove_sid_history(WS.10).aspx (I previously imported the module ActiveDirectory) But it gives me the error  Get-ADUser : Error pa

  • Export from FCE to Apple TV

    Hi: I'm trying to export a short movie from Final Cut Express to Apple TV. I tried the Apple TV export option, but the resulting video always comes out squished in 4:3 format rather than 16:9 format like the original. The video was put together using

  • ID CS2 installation not added to Help Center

    I installed Indesign CS2 for a new employee, but when she looks up Help, the adobe Help center only displays help for Photoshop Elements 5.0 and Help Center 2.1 I've tried a Repair install, and an Uninstall/Reinstall, as well as manually copying file

  • Tuxedo configuration global parameters

    Hi I have tuxedo configuration related question which I am unable to understand. There are two parts to the question: 1. We have an already running tuxedo configuration which is working with certain values of global parameters. My concern is that if