Help with build.xml
I have this target in my build.xml
<target name="clean">
<property name="classesFolder" value="WebContent\WEB-INF\classes"/>
<delete dir="${classesFolder}"/>
</target>The other targer
<target name="compileSource">
<echo message="compiling source files" />
<mkdir dir="${classesFolder}"/>
<path id="lib.dir" >
<fileset dir="WebContent\WEB-INF\lib">
<include name="**/*.jar"/>
</fileset>
</path>
<javac srcdir="src" classpathref="lib.dir" destdir="${classesFolder}"><!--The src folder under project root that has java class files-->
</javac>
<echo message="all classes compiled successfully" />
</target>The "+mkdir+" under "+compileSource+" creates a folder called "+${classesFolder}+", instead of "+WebContent\WEB-INF\classes+". Why is this happening?
Please help. I've just started using ant.
<property name="classesFolder" value="WebContent\WEB-INF\classes"/>Define your property in the top of the build.xml. that way you can use the property in both the targets "clean and CompileSource"
Now that you have defined your property inside the clean target the other target CompileSource is not able to recognize the property "classesFolder"
Similar Messages
-
Need help with build.xml / junit - pls ignore my previous posting
i'm trying to add unit tests for another class file in a larger package. the package is built with ant. relevant lines of the build.xml that pertain to unit tests are
</target>
<target name="test" depends="dist, build-tests">
<!-- the grouper project doesn't use the junit ant task that's fine with me -->
<java fork="yes"
classname="junit.textui.TestRunner"
taskname="junit"
failonerror="true">
<arg value="organization.organizationSuite"/>
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement path="../organization.jar"/>
<pathelement path="${buildir}" />
</classpath>
</java>
</target>
<target name="test-individual" depends="dist, build-tests">
<!-- the grouper project doesn't use the junit ant task that's fine with me -->
<java fork="yes"
classname="junit.textui.TestRunner"
taskname="junit"
failonerror="true">
<arg value="organization.testFoo"/> <!-- ADJUST THIS FOR YOUR OWN TEST -->
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement path="../organization.jar"/>
<pathelement path="${buildir}" />
</classpath>
</java>
<java fork="yes"
classname="junit.textui.TestRunner"
taskname="junit"
failonerror="true">
<arg value="organization.oldTest"/> <!-- ADJUST THIS FOR YOUR OWN TEST -->
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement path="../organization.jar"/>
<pathelement path="${buildir}" />
</classpath>
</java>i'm trying to add
<arg value="organization.anotherTest"/> <!-- ADJUST THIS FOR YOUR OWN TEST -->
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement path="../organization.jar"/>
<pathelement path="${buildir}" />
</classpath>
</java>right now i can
right now i can
java junit.textui.TestRunner organization.testSuite
or to run a specific test
java junit.textui.TestRunner organization.oldTest
i added the above lines to my build.xml, added the .java file for the anotherTest class to the ${testdir} where oldTest and testSuite and other junit related classes live within the package directory structure, then ran 'ant' to make a new .jar file.
now when i switch in the new .jar file, i get errors whenever i try to
java junit.textui.TestRunner organization.oldTest
i get 'no class oldTest' found
can anyone point me in the right direction?My Ant build.xml doesn't look like yours. I usually do it like this, and it works fine:
<target name="test" depends="compile" description="run all unit tests">
<junit>
<jvmarg value="-Xms32m" />
<jvmarg value="-Xmx64m" />
<classpath>
<path refid="project.class.path" />
</classpath>
<formatter type="xml" />
<batchtest fork="yes" todir="${reports}">
<fileset dir="${output.classes}">
<include name="**/*TestCase.class" />
</fileset>
<fileset dir="${output.classes}">
<include name="**/*TestSuite.class" />
</fileset>
</batchtest>
</junit>
</target>
<target name="report" depends="test" description="create HTML report for JUnit test results">
<junitreport todir="${reports}">
<fileset dir="${reports}">
<include name="TEST-*.xml"/>
</fileset>
<report format="frames" todir="${reports}"/>
</junitreport>
</target>I don't understand why you're running individual tests like that. why not run them all?
% -
Need help with build.xml / junit
i'm trying to add unit tests for another class file in a larger package. the package is built with ant. relevant lines of the build.xml that pertain to unit tests are
</target>
<target name="test" depends="dist, build-tests">
<!-- the grouper project doesn't use the junit ant task that's fine with me -->
<java fork="yes"
classname="junit.textui.TestRunner"
taskname="junit"
failonerror="true">
<arg value="nsit.testSuite"/>
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement path="../nsit.jar"/>
<pathelement path="${buildir}" />
</classpath>
</java>
</target>
<target name="test-individual" depends="dist, build-tests">
<!-- the grouper project doesn't use the junit ant task that's fine with me -->
<java fork="yes"
classname="junit.textui.TestRunner"
taskname="junit"
failonerror="true">
<arg value="nsit.testFoo"/> <!-- ADJUST THIS FOR YOUR OWN TEST -->
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement path="../nsit.jar"/>
<pathelement path="${buildir}" />
</classpath>
</java>
<java fork="yes"
classname="junit.textui.TestRunner"
taskname="junit"
failonerror="true">
<arg value="nsit.ServiceTest"/> <!-- ADJUST THIS FOR YOUR OWN TEST -->
<classpath>
<pathelement path="${java.class.path}"/>
<pathelement path="../nsit.jar"/>
<pathelement path="${buildir}" />
</classpath>
</java>right now i can
java junit.textui.TestRunner organization.testSuite
or to run a specific test
java junit.textui.TestRunner organization.oldTest
i added the above lines to my build.xml, added the .java file for the anotherTest class to the ${testdir} where oldTest and testSuite and other junit related classes live within the package directory structure, then ran 'ant' to make a new .jar file.
now when i switch in the new .jar file, i get errors whenever i try to
java junit.textui.TestRunner organization.oldTest
i get 'no class oldTest' found
can anyone point me in the right direction?My Ant build.xml doesn't look like yours. I usually do it like this, and it works fine:
<target name="test" depends="compile" description="run all unit tests">
<junit>
<jvmarg value="-Xms32m" />
<jvmarg value="-Xmx64m" />
<classpath>
<path refid="project.class.path" />
</classpath>
<formatter type="xml" />
<batchtest fork="yes" todir="${reports}">
<fileset dir="${output.classes}">
<include name="**/*TestCase.class" />
</fileset>
<fileset dir="${output.classes}">
<include name="**/*TestSuite.class" />
</fileset>
</batchtest>
</junit>
</target>
<target name="report" depends="test" description="create HTML report for JUnit test results">
<junitreport todir="${reports}">
<fileset dir="${reports}">
<include name="TEST-*.xml"/>
</fileset>
<report format="frames" todir="${reports}"/>
</junitreport>
</target>I don't understand why you're running individual tests like that. why not run them all?
% -
Hi all,
I need a little help with building a new comp and any help will be appericiated.
My wife is a video editor and she needs a new CPU.
She is editing HD films from various cameras (she have several clients).
The budget is around 1500-2000$ for the CPU without screens and software which she already owns.
She is working with CS5.5 and using windows 7 pro 64bit.
I read quite a lot in the past few days and I ended up more confused then I was, this is the setup which I thought of:
CPU: I was thinking about the i7 960 3.2 (310$) or the i7 2600k (330$).
MB: Asus p6x8D 1366 ddr 1600
Graphics: Gigabyte nVidia GTX460 1gb gddr5 (210$) or gtx560(230$) the 570 is way off the budget (440$)
BLURAY: Pioneer BDR-206
RAM: I don't know really.. I was thinking about 12gb but I am cluless about it.
Power: AX 850W Gold Active PFC 12cm Fan Modular (No particular reason, when I'll know my final setup I'll check the power I need with http://www.extreme.outervision.com/psucalculatorlite.jsp).
Case: Antec / Thermaltake, No idea which model..
OS HDD: I'm still puzzled weather to go for the small (60gb) ssd for the OS and programs or go for a 7200 rpm hd.
HDD: W.D Caviar black 1tb 7200 rpm, 64mb, Sata III * 4 with raid on board (Raid 0 or Raid 5? - I'll save it for another thread).
Coolers: Help needed
Any help will be more then welcomed.
Regards,
Eliran.While waiting for a specific answer, you might read these recent discussions
http://forums.adobe.com/thread/910208
http://forums.adobe.com/thread/907698
http://forums.adobe.com/thread/762381
http://forums.adobe.com/thread/906848
http://forums.adobe.com/thread/912120
http://forums.adobe.com/thread/912119
And one specific... SSD is high $$ and there is a thread concerning problems... forum search for ssd will find at least 2 message threads about using ssd or not -
Need help with Berkeley XML DB Performance
We need help with maximizing performance of our use of Berkeley XML DB. I am filling most of the 29 part question as listed by Oracle's BDB team.
Berkeley DB XML Performance Questionnaire
1. Describe the Performance area that you are measuring? What is the
current performance? What are your performance goals you hope to
achieve?
We are measuring the performance while loading a document during
web application startup. It is currently taking 10-12 seconds when
only one user is on the system. We are trying to do some testing to
get the load time when several users are on the system.
We would like the load time to be 5 seconds or less.
2. What Berkeley DB XML Version? Any optional configuration flags
specified? Are you running with any special patches? Please specify?
dbxml 2.4.13. No special patches.
3. What Berkeley DB Version? Any optional configuration flags
specified? Are you running with any special patches? Please Specify.
bdb 4.6.21. No special patches.
4. Processor name, speed and chipset?
Intel Xeon CPU 5150 2.66GHz
5. Operating System and Version?
Red Hat Enterprise Linux Relase 4 Update 6
6. Disk Drive Type and speed?
Don't have that information
7. File System Type? (such as EXT2, NTFS, Reiser)
EXT3
8. Physical Memory Available?
4GB
9. Are you using Replication (HA) with Berkeley DB XML? If so, please
describe the network you are using, and the number of Replica’s.
No
10. Are you using a Remote Filesystem (NFS) ? If so, for which
Berkeley DB XML/DB files?
No
11. What type of mutexes do you have configured? Did you specify
–with-mutex=? Specify what you find inn your config.log, search
for db_cv_mutex?
None. Did not specify -with-mutex during bdb compilation
12. Which API are you using (C++, Java, Perl, PHP, Python, other) ?
Which compiler and version?
Java 1.5
13. If you are using an Application Server or Web Server, please
provide the name and version?
Oracle Appication Server 10.1.3.4.0
14. Please provide your exact Environment Configuration Flags (include
anything specified in you DB_CONFIG file)
Default.
15. Please provide your Container Configuration Flags?
final EnvironmentConfig envConf = new EnvironmentConfig();
envConf.setAllowCreate(true); // If the environment does not
// exist, create it.
envConf.setInitializeCache(true); // Turn on the shared memory
// region.
envConf.setInitializeLocking(true); // Turn on the locking subsystem.
envConf.setInitializeLogging(true); // Turn on the logging subsystem.
envConf.setTransactional(true); // Turn on the transactional
// subsystem.
envConf.setLockDetectMode(LockDetectMode.MINWRITE);
envConf.setThreaded(true);
envConf.setErrorStream(System.err);
envConf.setCacheSize(1024*1024*64);
envConf.setMaxLockers(2000);
envConf.setMaxLocks(2000);
envConf.setMaxLockObjects(2000);
envConf.setTxnMaxActive(200);
envConf.setTxnWriteNoSync(true);
envConf.setMaxMutexes(40000);
16. How many XML Containers do you have? For each one please specify:
One.
1. The Container Configuration Flags
XmlContainerConfig xmlContainerConfig = new XmlContainerConfig();
xmlContainerConfig.setTransactional(true);
xmlContainerConfig.setIndexNodes(true);
xmlContainerConfig.setReadUncommitted(true);
2. How many documents?
Everytime the user logs in, the current xml document is loaded from
a oracle database table and put it in the Berkeley XML DB.
The documents get deleted from XML DB when the Oracle application
server container is stopped.
The number of documents should start with zero initially and it
will grow with every login.
3. What type (node or wholedoc)?
Node
4. Please indicate the minimum, maximum and average size of
documents?
The minimum is about 2MB and the maximum could 20MB. The average
mostly about 5MB.
5. Are you using document data? If so please describe how?
We are using document data only to save changes made
to the application data in a web application. The final save goes
to the relational database. Berkeley XML DB is just used to store
temporary data since going to the relational database for each change
will cause severe performance issues.
17. Please describe the shape of one of your typical documents? Please
do this by sending us a skeleton XML document.
Due to the sensitive nature of the data, I can provide XML schema instead.
18. What is the rate of document insertion/update required or
expected? Are you doing partial node updates (via XmlModify) or
replacing the document?
The document is inserted during user login. Any change made to the application
data grid or other data components gets saved in Berkeley DB. We also have
an automatic save every two minutes. The final save from the application
gets saved in a relational database.
19. What is the query rate required/expected?
Users will not be entering data rapidly. There will be lot of think time
before the users enter/modify data in the web application. This is a pilot
project but when we go live with this application, we will expect 25 users
at the same time.
20. XQuery -- supply some sample queries
1. Please provide the Query Plan
2. Are you using DBXML_INDEX_NODES?
Yes.
3. Display the indices you have defined for the specific query.
XmlIndexSpecification spec = container.getIndexSpecification();
// ids
spec.addIndex("", "id", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
spec.addIndex("", "idref", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// index to cover AttributeValue/Description
spec.addIndex("", "Description", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_SUBSTRING, XmlValue.STRING);
// cover AttributeValue/@value
spec.addIndex("", "value", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// item attribute values
spec.addIndex("", "type", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// default index
spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
// save the spec to the container
XmlUpdateContext uc = xmlManager.createUpdateContext();
container.setIndexSpecification(spec, uc);
4. If this is a large query, please consider sending a smaller
query (and query plan) that demonstrates the problem.
21. Are you running with Transactions? If so please provide any
transactions flags you specify with any API calls.
Yes. READ_UNCOMMITED in some and READ_COMMITTED in other transactions.
22. If your application is transactional, are your log files stored on
the same disk as your containers/databases?
Yes.
23. Do you use AUTO_COMMIT?
No.
24. Please list any non-transactional operations performed?
No.
25. How many threads of control are running? How many threads in read
only mode? How many threads are updating?
We use Berkeley XML DB within the context of a struts web application.
Each user logged into the web application will be running a bdb transactoin
within the context of a struts action thread.
26. Please include a paragraph describing the performance measurements
you have made. Please specifically list any Berkeley DB operations
where the performance is currently insufficient.
We are clocking 10-12 seconds of loading a document from dbd when
five users are on the system.
getContainer().getDocument(documentName);
27. What performance level do you hope to achieve?
We would like to get less than 5 seconds when 25 users are on the system.
28. Please send us the output of the following db_stat utility commands
after your application has been running under "normal" load for some
period of time:
% db_stat -h database environment -c
% db_stat -h database environment -l
% db_stat -h database environment -m
% db_stat -h database environment -r
% db_stat -h database environment -t
(These commands require the db_stat utility access a shared database
environment. If your application has a private environment, please
remove the DB_PRIVATE flag used when the environment is created, so
you can obtain these measurements. If removing the DB_PRIVATE flag
is not possible, let us know and we can discuss alternatives with
you.)
If your application has periods of "good" and "bad" performance,
please run the above list of commands several times, during both
good and bad periods, and additionally specify the -Z flags (so
the output of each command isn't cumulative).
When possible, please run basic system performance reporting tools
during the time you are measuring the application's performance.
For example, on UNIX systems, the vmstat and iostat utilities are
good choices.
Will give this information soon.
29. Are there any other significant applications running on this
system? Are you using Berkeley DB outside of Berkeley DB XML?
Please describe the application?
No to the first two questions.
The web application is an online review of test questions. The users
login and then review the items one by one. The relational database
holds the data in xml. During application load, the application
retrieves the xml and then saves it to bdb. While the user
is making changes to the data in the application, it writes those
changes to bdb. Finally when the user hits the SAVE button, the data
gets saved to the relational database. We also have an automatic save
every two minues, which saves bdb xml data and saves it to relational
database.
Thanks,
Madhav
[email protected]Could it be that you simply do not have set up indexes to support your query? If so, you could do some basic testing using the dbxml shell:
milu@colinux:~/xpg > dbxml -h ~/dbenv
Joined existing environment
dbxml> setverbose 7 2
dbxml> open tv.dbxml
dbxml> listIndexes
dbxml> query { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }
dbxml> queryplan { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }Verbosity will make the engine display some (rather cryptic) information on index usage. I can't remember where the output is explained; my feeling is that "V(...)" means the index is being used (which is good), but that observation may not be accurate. Note that some details in the setVerbose command could differ, as I'm using 2.4.16 while you're using 2.4.13.
Also, take a look at the query plan. You can post it here and some people will be able to diagnose it.
Michael Ludwig -
Problem with build.xml (not compiling)
Hi
I am not sure if this is an ANT specific question or a general XML question. DO forgive me for being naive
I wrote this ant build.xml file for my web applications and I find that it simply refuses to compile any classes. I am sure I am doing something wrong
<project basedir="." default="PortalMar23">
<target name="PortalMar23"/>
<property name="src.dir" value="src"></property>
<property name="build.dir" value="${basedir}/build"></property>
<property name="build.lib" value="${build.dir}/lib"></property>
<property name="dist.dir" value="dist"></property>
<property name="classes.dir" value="${build.dir}/classes"></property>
<property name="build.etc" value="${src.dir}/etc"></property>
<property name="build.resources" value="${src.dir}/resources"></property>
<property name="lib.dir" value="lib"></property>
<property name="web-inf.dir" value="WEB-INF"></property>
<property name="war.name" value="concepts"></property>
<property file="../common.properties"></property>
<!-- Main Target -->
<target name="init">
<mkdir dir="${build.dir}"></mkdir>
<mkdir dir="${classes.dir}"></mkdir>
<mkdir dir="${dist.dir}"></mkdir>
</target>
<target name="compile" depends="init">
<javac classpath="${libs}" compiler="${compiler}" debug="off" deprecation="on" destdir="${classes.dir}" optimize="on" srcdir="${src.dir}">
<include name="org/apache/commons/fileupload/**/*.java"></include>
<include name="com/portalbook/portlets/**/*.java"></include>
<include name="com/portalbook/portlets/content/**/*.java"></include>
</javac>
</target>
<!--
<target depends="init" name="compile">
<javac debug="true" deprecation="true" destdir="${classes.dir}" optimize="false">
<src>
<pathelement location="${src.dir}"></pathelement>
</src>
<classpath>
<fileset dir="${lib.dir}">
<include name="*.jar">
</include>
</fileset>
</classpath>
</javac>
</target>
-->
<target name="buildwar" depends="compile, init">
<war destfile="${dist.dir}/${war.name}.war" webxml="WEB-INF/web.xml">
<classes dir="${classes.dir}"></classes>
<lib dir="${lib.dir}"></lib>
<webinf dir="${web-inf.dir}"></webinf>
</war>
</target>
<!-- create concepts-lib.jar -->
<jar jarfile="${build.lib}/concepts-lib.jar">
<fileset dir="${classes.dir}"></fileset>
</jar>
<!-- create concepts.war -->
<jar jarfile="${build.lib}/concepts.war" manifest="${build.etc}/concepts-war.mf">
<fileset dir="${build.resources}/concepts-war"></fileset>
</jar>
<!-- concepts.ear -->
<copy todir="${build.resources}/concepts-ear">
<fileset dir="${build.lib}" includes="concepts.war,concepts-lib.jar">
</fileset>
</copy>
<copy todir="${build.resources}/concepts-ear/META-INF">
<fileset dir="${build.resources}/etc" includes="application.xml">
</fileset>
</copy>
<jar jarfile="${build.lib}/concepts.ear">
<fileset dir="${build.resources}/concepts-ear" includes="concepts.war,concepts-lib.jar">
</fileset>
</jar>
<target depends="init, compile, buildwar" name="explode">
<taskdef classname="org.jboss.nukes.common.ant.Explode" classpath="${libs}" name="explode"></taskdef>
<explode file="${build.lib}/concepts.ear" name="concepts.ear" todir="${build.lib}/exploded"></explode>
</target>
<target name="clean">
<delete dir="${build.dir}">
</delete>
<delete dir="${dist.dir}">
</delete>
</target>
</project>------------------
Could anybody help me out on this?
thanks a lotWell, it could be because the compile target is a comment..
Remove the <!-- before the compile step and the "-->" after it.
Then, Ant will see the step, and either compile your programs, or give you errors about them.
Dave Patterson -
Begging for help with podcast xml file
Hey All,
I have a podcast on iTunes. I am hosting the xml file and podcast mp3s on a friends server so Im not using any service. Everything is working and Ive sucessfully added 4 podcasts so far, and it shows up correctly in iTunes on my PC.
However my podcasts do not showup correct in the iTunes store website, or on idevices. Meaning, I number my shows 001_"NAME" 002_"NAME" etc. Yet in the iTunes store they show up out of order. So my last show is not at the top its at the bottom, and they are all mixed up (like 002, 001, 004, 003 instead of 4,3,2,1) Also the publish date is the same on two of them (and not what i have in the xml file) and doesnt show up at all on the other two. I assume this is a problem with the xml file, yet I dont see any problems with it. But it seems odd that it all works correctly in the actual iTunes program. Ive tried different code, but im very much a noob at it, and everything i find online is from 5 - 10 years ago or wants you to host your podcasts with their site and I dont need that.
Here is the link to the show on the iTunes website so you can see what i mean: http://itunes.apple.com/us/podcast/your-reality-recap/id501295325
If anybody can, would you mind checking out the code in my xml file and letting me know if you see anything thats causing this issue?
I zipped the xml file and put it here: http://www.ericcurto.com/podcast/YRR.zip
I would be truly greatfuly for any help with this. Ive been trying to fix this for days and dont know what else to do.
Thanks!
EricYour feed is at http://www.ericcurto.com/podcast/YourRealityRecap.xml (please always post the feed URL, not its contents or a copy).
I don't see the issues you mention. The order in the Store and when subscribing is what I would expect:
The order in the Store depends on clicking the header to the column: the default is the first one. Some of the dates are a day out - this is quite commmon and is probably a time zone issue (it may be different where you are - I'm in the UK). I don't know why you are seeing a garbled order unless you've clicked on one of the other columns in the Store. -
Help with building flash files for streaming
I filmed a product demonstration for a client who wanted to put it on his website. I edited the footage in PremPro CS4 and exported to Media Encoder as F4V file format. After encoding imported footage into CS4 Encore, created timeline, chose, Flash from Format and swf for output. Progressive Download which allows video to begin playing as it is downloaded (I believe), chose destinations and settings. After transcoding I had 1 file folder, Sources that contained the following files _PGC_Bpge_entryPoint_Bbp_1.f4v, and then 3 separate files, *not* in the file folder called Sources. They are
AuthoredContent.xml, FlashDVD.swf, and Index.html.
I submitted all files to client who gave them to web designer. Designer said these were the wrong files and he could not use them. I called designer and basically he said I didn't know what I was doing. I told him he needed all files to put up the flash video. Anyway, am I missing something, doing something wrong? Are there other files he needs? He said he only needed 1 file. Or is it the designer? I'm not thin skinned so if it's me please tell me so, so I don't make the same errors. Thanks. All suggestions/comments are appreciated!<The client wants a control player, i.e. play, stop, pause, etc., that's it, so the viewer can simply provide the function themselves. This is similar to youtube, blogger, etc.
The web designer can use what you provided, which does what you describe the client wanting. But the web designer may need to integrate what Encore provided onto a web page, and the client may not have made the expectations clear and may not know what is needed. As I said, the Encore to flash player gives almost no options for the player controls and colors etc may be problems.
<Encore did encode the f4v file. When I exported from PremPro what preset should I hve chosen -- mpeg2 DVD, flv/f4v. So the only file he needs in addition to what I gave him is the original f4v file?
I don't know whether the f4v you exported from Premiere was progressive. The f4v from Encore might be fine, or you might need to export from Premiere again.
The other issue is that some "player" with controls needs to be provided by you or the web designer (who may have an issue with the client not getting the designer to lay all this out to begin with). There are several threads about "flv players" you might check out. Does the client have video on his site already? If so, you can figure out what they are using, and it will help with your process.
should I have chosen "flash server" instead of "progressive". i must admit i never did this before. other clients just have me post it to youtube and provide them with embed code.
It depends on what they want. -
<p>Need help with the following error.....what does it mean....</p><p>28943 3086739136 XML-240304 3/7/07 7:13:23 PM |SessionNew_Job1<br /><font color="#ff0000">28943 3086739136 XML-240304 3/7/07 7:13:23 PM XML parser failed: Error <An exception occurred! Type:UnexpectedEOFException, Message:The end of input was not expected> at</font><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM line <7>, char <8> in <<?xml version="1.0" encoding="WINDOWS-1252" ?><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfigurations><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <DSConfiguration default="true" name="Configuration1"><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <case_sensitive>no</case_sensitive><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <database_type>Oracle</database_type><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_alias_name1>ODS_OWNER</db_alias_name1><br />28943 3086739136 XML-240304 3/7/07 7:13:23 PM <db_ali>, file <>.<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM |SessionNew_Job1<br />28943 3086739136 XML-240307 3/7/07 7:13:23 PM XML parser failed: See previously displayed error message.</p><p>Any help would be greatly appreciated. It's something to do with my datasource and possibly the codepage but I'm really not sure.</p><p>-m<br /></p>
please export your datastore as ATL and send it to support. Somehow the internal language around configurations got corrupted - never seen before.
-
Little help with complex XML data as data provider for chart and adg
Hi all,
I've been trying to think through a problem and Im hoping for
a little help. Here's the scenario:
I have complex nested XML data that is wrapped by subsequent
groupings for efficiency, but I need to determine if each inner
item belongs in the data collection for view in a data grid and
charts.
I've posted an example at the bottom.
So the goal here is to first be able to select a single
inspector and then chart out their reports. I can get the data to
filter from the XMLListCollection using a filter on the first layer
(ie the name of the inspector) but then can't get a filter to go
deeper into the structure in order to determine if the individual
item should be contained inside the collection. In other words, I
want to filter by inspector, then time and then tag name in order
to be able to use this data as the basis for individual series
inside my advanced data grid and column chart.
I've made it work with creating a new collection and then
looping through each time there is a change to the original
collection and updating the new collection, but that just feels so
bloated and inefficient. The user is going to have some buttons to
allow them to change their view. I'm wondering if there is a
cleaner way to approach this? I even tried chaining filter
functions together, but that didn't work cause the collection is
reset whenever the .refresh() is called.
If anyone has experience in efficiently dealing with complex
XML for charting purposes and tabular display purposes, I would
greatly appreciate your assistance. I know I can get this to work
with a bunch of overhead, but I'm seeking something elegant.
Thank you.Hi,
Please use the code similar to below:
SELECT * FROM DO_NOT_LOAD INTO TABLE IT_DO_NOT_LOAD.
SORT IT_DO_NOT_LOAD by WBS_Key.
IF SOURCE_PACKAGE IS NOT INITIAL.
IT_SOURCE_PACKAGE[] = SOURCE_PACKAGE[].
LOOP AT IT_SOURCE_PACKAGE INTO WA_SOURCE_PACKAGE.
V_SYTABIX = SY-TABIX.
READ TABLE IT_DO_NOT_LOAD into WA_DO_NOT_LOAD
WITH KEY WBS_Key = WA_SOURCE_PACKAGE-WBS_Key
BINARY SEARCH.
IF SY-SUBRC = 0.
IF ( WA_DO_NOT_LOAD-WBS_EXT = 'A' or WA_DO_NOT_LOAD-WBS_EXT = 'B' )
DELETE IT_SOURCE_PACKAGE INDEX V_SYTABIX.
ENDIF.
ENDIF.
ENDLOOP.
SOURCE_PACKAGE[] = IT_SOURCE_PACKAGE[].
ENDIF.
-Vikram -
Need help with simple XML validation
I am new to Spry and need some help creating a simple
validation. There is a form field which must not contain a value
already in the database. I have a script which accepts a parameter
and returns a boolean result. Here is the XML:
<samples>
<sample>
<ISFOUND>0</ISFOUND>
</sample>
</samples>
1. How do I call this script when the form field changes and
pass the form value as the parameter?
2. How do I check the returned value in the XML and throw an
error if true?
I appreciate any help with this. Please let me know if there
is a better way to achieve the same result.
Thanks,
RichI enabled the call to the XML response. However, I am having
trouble identifying when the call is complete so I can parse the
result. How do I run my check after the data load and display the
proper message? -
i have msi pc with build in cam
i dont remembar wath the taip m series somthing i have cure 2 duo cpu t5750 2 gb ram 320 gb
giforce 8400
now i dont find any driver for the cam and the pc dos'nt know the cam....
i run vista 32bit
any one can halp me pleas!!!:(:(:(You have some notebook or? Read >>Posting Guide<<
-
Need help with this xml gallery !!!
i have build a gallery but its very simple...... it takes images from xml file.
i have attached all files in zip.
i just want two things if anyone can help.
first when i press next button it goes to next image but with no effect. it just displays next image ... i want to incorporate a sliding effect when the image is changed to another.
and second i want to use autoplay feature.
as soon as swf starts the images came one by one with difference of few seconds.
thx in advance... i really need help in this....!You're welcome.
I don't have an example to offer for the autorun. You should be able to think it thru. One key, as I mentioned is to preload all of the images first, that will allow for smooth playing of the show--no waiting for images to load between changes. You can load them into empty movieclips and hide them (_viisible = false) until they are needed. You could load them when called for, but you would have to put conditions on the displaying of things until the image loads, which will change when they are all loaded, so I recommend just loading them all first.
For the timing you can use setInterval. If something is going to be allowed to interupt the autorun, then you will need to make use of the clearInterval function as well, so that you stop the clock.
Since you will be wanting to know when things are loaded, you will need to use the MovieClipLoader.loadClip method for loading the images instead of using loadMovie. This is because the MovieClipLoader class supports having an event listener. If you look in the help documents in the MovieClipLoader.addListener section, there is an example there that provides a fairly good complete overview of using the code. The only difference is you'd be looking for the onLoadComplete event rather than the onLoadInit event. -
Hello, I'm pretty new to LifeCycle and don't even know if this is the right program I should be using to do this but I thought I'd give it a shot.
The branch I work for in my company has been doing media planning up in Saskatchewan for about a year now. We build and distribute ads through small towns across Saskatchewan for all types of people. We have been building up a list of newspapers that we can use including the contact information and prices of various sized ads.
We don't have a way to reference all the newspapers quickly. We have to go back through prior folders and find each newspaper and their contact information before we can plan for the next ad run. What I would like to do is build a form that would be easy to just click on a drop down menu, find the newspaper that you want, and then all the information will pop up in a contact box below the drop down menu.
I've already build a mini drop down menu with about 10 newspapers to see if this will work but I don't know how to link the drop down menu item with another box that will open up all the contact and pricing info.
Can someone please help?
Thanks!Hi,
you can do what you want with LiveCycle, and it might help you to look at this reference as it shows how to work with data ( it does depend how your data is stored)
http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000006.htmlhttp://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000006.html
If you data does not change very often then I would recommend just using an XML file to store the data and then use thebinding ability with possible some JavaScript to create the solution you would like.
Hope this helps
Malcolm -
Help with building a database portlet (reference_path) issues
I'm attempting to create a Provider Portlet based on the Database Provider example. The goal of the portlet is to
dynamically display a Portal Report based upon a session storage variable. The session storage variable is set in another portlet on the same page. My portlet is named DYNAMIC_RPT.
I'm able to display the report from within my database portlet by calling the report's .show procedure.
But, my problem is this: The reference_path is generated for my database portlet, for example 131_DYNAMIC_RPT_123123, so when I click the NEXT button on the report, the page is refreshed but the report is still on page 1.
I think the problem is that my portlet needs to internally determine what the reference_path SHOULD BE for the report I'm trying to display, and use it in the associated provider API's.
If I could call the API which is generating the reference_path I could then pass an appropriate reference_path. I would need to be able to dynamically regenerate the reference_path when ever the session variable changes. Is this possible ?
Also, when I'm building the p_arg_names, and p_arg_values whould I ONLY extract the argument(parms) which are associated with the p_reference_path of the portlet report currenttly being displayed ?
Also is there a session storage variable which contains the current PAGE ID and TAB ID. I'm extracting it form the PAGE_URL but it's very messy code.
Thanks in advance for your help !!Hi,
you can do what you want with LiveCycle, and it might help you to look at this reference as it shows how to work with data ( it does depend how your data is stored)
http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000006.htmlhttp://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000006.html
If you data does not change very often then I would recommend just using an XML file to store the data and then use thebinding ability with possible some JavaScript to create the solution you would like.
Hope this helps
Malcolm
Maybe you are looking for
-
Accounts without opportunities for a given date range
Greetings report gurus, I am trying to develop a report that shows distinct account names that do not have any opportunities for a given period of interest. For example, I have one report that queries opportunities that closed during a given period o
-
Deployment issue using BPM TaskForms-ViewController to the SOA Server
Hi Guyzz, I am facing an issue in deploying View Controller project created using BPM activity -- Human Task. I am depolying to the standalone weblogic -- Soa Server. but i am getting the below error Error log: Caused by: java.lang.Throwable: Substit
-
Error: The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have
-
Just got my new 9930 and really like it so far. I have a question about email though. I have 3 different email accounts on the phone. 1 gmail, 1 roadrunner and 1 yahoo. Only the yahoo email icon has an icon on it that let's me know it's my yahoo acc
-
Multi page tiling grayed out?
So I'm trying to save a lot of work recombining individual pages by doing a project as 1 sheet in illustrator (CS3) and then printing it to a PDF. But, I cannot click the Create Multi-page PDF from Page Tiles option in the General section like the i