Jwsdp_1.2 - build.properties not accessible
Hello,
since I've updated my jwsdp-version (to jwsdp_1.2), I cannot use ant to install my services, because the manager.username and manager.password in build.xml aren't accessible for ant, although a build.properties files exists in my home directory (OS: Win XP).
Therefore I do have to set the values for manager.username and manager.password explicitly in my build.xml
Can anyone give me some advice, what to do or is it a bug
Best regards, Macar
if you would like build.xml to access build.properties in your home dir, please ensure build.xmls reference to build.properties does point to the appropiate location.
Similar Messages
-
EJB project IDE build dos not include properties files
We have property files also which we want included as part of the build process
for EJB projects but if we use the IDE build it does not include them. We have
to therefore export the IDE build and customize it to include *.properties like
this
<zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
/> </zip>
which causes a problem for us because the exported build file is specific to a
user's local PC and cannot be used in a team environment.
How can we have the IDE build include all the files within an EJB project i.e.
include properties files also.Hey Jamie,
Currently there is no support to include other .properties files into
the internal build. There's a build.properties that you get as part of
an EJB project which you could place your values into and use that as
your template for your team based development and check that into your
source control.
If you'd really like to get gross and hack Workshop a little bit you
could modify the default EJB project template to use your .properties
file for every EJB project you create. This would then splat a copy of
your .properties file into the root of the EJB project.
To do that you'd go to {your BEAHOME}\workshop\templates and crack open
the ejb-project.zip template zip file and merge your settings into the
existing build.properties file. This has the same
effect as replacing the .properties file after you've created your
project only it keeps you from having to perform that step each time.
The downside of this is that each person on your team would then have to
update that template zip file in their workshop installation. (I'd make
sure to backup the original template file before performing this
activity so you can always go back to the original template).
Hope this helps,
-Michael
Jamie wrote:
We have property files also which we want included as part of the build process
for EJB projects but if we use the IDE build it does not include them. We have
to therefore export the IDE build and customize it to include *.properties like
this
<zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
/> </zip>
which causes a problem for us because the exported build file is specific to a
user's local PC and cannot be used in a team environment.
How can we have the IDE build include all the files within an EJB project i.e.
include properties files also. -
Shared Variable Deployment not accessible in Build Specificat​ion
Hi everyone,
I have a large project developed in LV 8.6.1 from which I executed numerous applications. I converted the project in LV 11 sp1f1, everything works well in code, everything is saved.
I wanted to build executable without cod change for LV 11 here is what I found:
Build the executable with Build Specifications inherited from LV 8.6 for which I checked on Use Labview 8.x file layout in Advanced. My application programmatically deploys all internal shared variables and when I wanted to access the Shared Variable Deployment in project in Build Specification then labview locked and I have to kill LV. Other time I did not access the Shared Variable Deployment and I start building executable when it looks the build progressing similar as in LV8.6 and last step before popping the attached error all the saved files in the build location were deleted.
I set up a build specification just for this LV 11. Again I wanted to access the Shared Variable Deployment and again labview is looping something from which I had to kill labview. I opened it again, I skipped the shared variable deployment line and I build the application. Because my application programmatically deploys shared variables I included in builder the lvlib where shared variables belong. The build files does not includes this time as output the file *.lvlib for which my inherited LV8.6 code programmatic deploys shared variables.
My question is should I change the code (very large code) taking out the programmatic variables deployment and to relay on the build executable to do deploy them then what should I do with Shared Variable Deployment line in Build Specification which for my large application is not accessible or is any way to still use the shared variable as in LV8.6 but for which I need *.lvlib in build location.
Another important issue: when I launched my application built as I showed in previous second case, first thing that I see is that my application is not able to save errors (I have a log file where I save different drivers or communication errors). Any idea why application even without shared variable deployed is not able to write a text file? I am administrator of my computer with all rights.
Thank you,
VirginiaNo, I am not able to close Labview because of the windows error with only one button to close application. The application is correct executed. Next time when I start this project it is asking me if I want o recover even if I accept to recover it looks what I had last time it does not save.
For my application also I am building a VI without diagram built as source distribution for which I set in my builder this top vi and I excluded everything from the project because my application copies instances at the run time of this vi as many times as hardware modules I have in the system and also I have this vi included in my application (for the content of this vi). My vi contains interfaces for hardware configuration as well as drivers functions call for each hardware module I have to control in my application. Everything is good building this vi, but in less then one minute after the build is executed and build interface closes again I have the windows error which force me to close project. Next time when I open project I did not see the option to recover the project.
In the mean time I received second message and I wonder if you refer to files names or to folder names or all together. I checked and the maximum size is 122 characters in the vi paths.
Thank you,
Virginia -
FU4CIListener build.xml not setting properties?
I am following the Ant Task Setup. I have flex sdk 3.6.0.X, apache-ant 1.8.2 and the flexunit source 4.1.0.
When I run > ant -v clean package
function(){return A.apply(null,[this].concat($A(arguments)))}
Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Trying the default build file: build.xml
Buildfile: C:\projects\FlexUnit4CIListener\build.xml
Detected Java version: 1.7 in: C:\Program Files\Java\jdk1.7.0\jre
Detected OS: Windows XP
parsing buildfile C:\projects\FlexUnit4CIListener\build.xml with URI = file:/C:/projects/FlexUnit4CIListener/build.xml
Project base dir set to: C:\projects\FlexUnit4CIListener
parsing buildfile jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
Importing file C:\projects\utils.xml from C:\projects\FlexUnit4CIListener\build.xml
Overriding previous definition of reference to ant.projectHelper
parsing buildfile C:\projects\utils.xml with URI = file:/C:/projects/utils.xml
[macrodef] creating macro gpg
[macrodef] creating macro sonatype-bundle
Overriding previous definition of reference to ant.projectHelper
[property] Loading Environment env.
Property "build.version" has not been set
Property "build.number" has not been set
Property "build.sdk" has not been set
Build sequence for target(s) `clean' is [clean]
Complete build sequence is [clean, init, compile, report, package, deploy, ]
clean:
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\bin
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\docs
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\sonatype
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target
[delete] Deleting C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
Build sequence for target(s) `package' is [init, compile, report, package]
Complete build sequence is [init, compile, report, package, clean, deploy, ]
init:
[mkdir] Skipping C:\projects\FlexUnit4CIListener\libs because it already exists.
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\sonatype
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\bin
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\docs
[copy] Copying 1 file to C:\projects\FlexUnit4CIListener\libs
[copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-as3_y.y.y.y.swc to C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
compile:
[compc] Loading configuration file C:\flexunit\frameworks\flex-config.xml
[compc] Adobe Compc (Flex Component Compiler)
[compc] Version 3.6.0 build 16995
[compc] Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.
[compc]
[compc] command line: Error: configuration variable 'output' value contains unknown token 'build.version'
[compc]
[compc] Use 'compc -help' for information about using the command line.
BUILD FAILED
C:\projects\FlexUnit4CIListener\build.xml:50: compc task failed
at flex.ant.FlexTask.executeInProcess(FlexTask.java:299)
at flex.ant.FlexTask.execute(FlexTask.java:225)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 1 second
build.version, build.number & build.sdk are properties that are not being set. I would assume that they should be set internally somehow. However, if I manually set them via -D switches (with arbitrary values) I get the following:
>ant -v clean package -Dbuild.version=1.2.3.4 -Dbuild.number=666 -Dbuild.sdk=4.1
function(){return A.apply(null,[this].concat($A(arguments)))}
Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Trying the default build file: build.xml
Buildfile: C:\projects\FlexUnit4CIListener\build.xml
Detected Java version: 1.7 in: C:\Program Files\Java\jdk1.7.0\jre
Detected OS: Windows XP
parsing buildfile C:\projects\FlexUnit4CIListener\build.xml with URI = file:/C:/projects/FlexUnit4CIListener/build.xml
Project base dir set to: C:\projects\FlexUnit4CIListener
parsing buildfile jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/C:/apacheAnt/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
Importing file C:\projects\utils.xml from C:\projects\FlexUnit4CIListener\build.xml
Overriding previous definition of reference to ant.projectHelper
parsing buildfile C:\projects\utils.xml with URI = file:/C:/projects/utils.xml
[macrodef] creating macro gpg
[macrodef] creating macro sonatype-bundle
Overriding previous definition of reference to ant.projectHelper
[property] Loading Environment env.
Build sequence for target(s) `clean' is [clean]
Complete build sequence is [clean, init, compile, report, package, deploy, ]
clean:
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\bin
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\docs
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target\sonatype
[delete] Deleting directory C:\projects\FlexUnit4CIListener\target
[delete] Deleting C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
Build sequence for target(s) `package' is [init, compile, report, package]
Complete build sequence is [init, compile, report, package, clean, deploy, ]
init:
[mkdir] Skipping C:\projects\FlexUnit4CIListener\libs because it already exists.
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\sonatype
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\bin
[mkdir] Created dir: C:\projects\FlexUnit4CIListener\target\docs
[copy] Copying 1 file to C:\projects\FlexUnit4CIListener\libs
[copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-as3_y.y.y.y.swc to C:\projects\FlexUnit4CIListener\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
compile:
[compc] Loading configuration file C:\flexunit\frameworks\flex-config.xml
[compc] C:\projects\FlexUnit4CIListener\target\bin\flexunit-cilistener-1.2.3.4-666-4.1.swc (11773 bytes)
report:
Skipped because property 'build.report' not set.
package:
[copy] Copying 1 file to C:\projects\FlexUnit4CIListener\target
[copy] Copying C:\projects\FlexUnit4CIListener\target\bin\flexunit-cilistener-1.2.3.4-666-4.1.swc to C:\projects\FlexUnit4CIListener\target\flexunit-cilistener-1.2.3.4-666-4.1.swc
BUILD SUCCESSFUL
Total time: 4 seconds
I can see where the previous 3 properties are being used in the swc output file name, but now there is a build.report property that is not being set. How do I know which properties need to be set, and what to set them to?I was using the 4.5.1 flex SDK but there seemed to be other issues so I just used the link directly from the Ant Task Setup page (instead of using the newest SDK). Upon following your instructions to ant build from the root directory, everything seemed to work correctly with a few exceptions. Below is the last part of the output from the build.
function(){return A.apply(null,[this].concat($A(arguments)))}
test:
Detected Java version: 1.7 in: C:\Program Files\Java\jdk1.7.0\jre
Detected OS: Windows XP
Project base dir set to: C:\projects\FlexUnit4Test
[ant] calling target(s) [test] in build file C:\projects\FlexUnit4Test\build.xml
parsing buildfile C:\projects\FlexUnit4Test\build.xml with URI = file:/C:/projects/FlexUnit4Test/build.xml
Project base dir set to: C:\projects\FlexUnit4Test
[property] Loading Environment env.
Override ignored for property "FLEX_HOME"
Property "env.FLEX_COVER_VIEWER" has not been set
[macrodef] creating macro compile-runner
[macrodef] creating macro execute-tests
[macrodef] creating macro execute-tests-using-flexcover
[macrodef] creating macro generate-html-report
[ant] Entering C:\projects\FlexUnit4Test\build.xml...
Build sequence for target(s) `test' is [init, test-only, test-and-instrument, test]
Complete build sequence is [init, test-only, test-and-instrument, test, clean, ]
init:
[mkdir] Created dir: C:\projects\FlexUnit4Test\target
[mkdir] Created dir: C:\projects\FlexUnit4Test\target\bin
[mkdir] Created dir: C:\projects\FlexUnit4Test\target\report\xunit\flex
[mkdir] Created dir: C:\projects\FlexUnit4Test\target\report\xunit\as3
[mkdir] Created dir: C:\projects\FlexUnit4Test\target\report\flexcover
[copy] Copying 5 files to C:\projects\FlexUnit4Test\libs
[copy] Copying C:\projects\FlexUnit4CIListener\target\flexunit-cilistener-4.1.0-x-y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\flexunit-cilistener-4.1.0-x-y.y.y.y.swc
[copy] Copying C:\projects\FlexUnit4FluintExtensions\target\fluint-extensions-4.1.0-x-y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\fluint-extensions-4.1.0-x-y.y.y.y.swc
[copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-as3_y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\flexunit-4.1.0-x-as3_y.y.y.y.swc
[copy] Copying C:\projects\FlexUnit4\target\flexunit-4.1.0-x-flex_y.y.y.y.swc to C:\projects\FlexUnit4Test\libs\flexunit-4.1.0-x-flex_y.y.y.y.swc
[copy] Copying C:\projects\FlexUnit4FlexCoverListener\target\flexunit-flexcoverlistener-4.1.0-x-y.y.y.y. swc to C:\projects\FlexUnit4Test\libs\flexunit-flexcoverlistener-4.1.0-x-y.y.y.y.swc
[copy] Copying 1 file to C:\projects\FlexUnit4Test\libs\build
[copy] Copying C:\projects\FlexUnit4AntTasks\target\flexUnitTasks-4.1.0-x.jar to C:\projects\FlexUnit4Test\libs\build\flexUnitTasks-4.1.0-x.jar
test-only:
[echo] Testing FlexUnit Flex build...
[mxmlc] Loading configuration file C:\flexunit\frameworks\flex-config.xml
[mxmlc] C:\projects\FlexUnit4Test\target\bin\TestRunner-flex.swf (924564 bytes)
[flexunit] Validating task attributes ...
[flexunit] Generating default values ...
[flexunit] Using default working dir [C:\projects\FlexUnit4Test]
[flexunit] Using the following settings for the test run:
[flexunit] FLEX_HOME: [C:\flexunit]
[flexunit] haltonfailure: [false]
[flexunit] headless: [false]
[flexunit] display: [99]
[flexunit] localTrusted: [true]
[flexunit] player: [flash]
[flexunit] port: [1024]
[flexunit] swf: [C:\projects\FlexUnit4Test\target\bin\TestRunner-flex.swf]
[flexunit] timeout: [60000ms]
[flexunit] toDir: [C:\projects\FlexUnit4Test\target\report\xunit\flex]
[flexunit] Setting up server process ...
[flexunit] Starting server ...
[flexunit] Entry [C:\projects\FlexUnit4Test\target\bin] already available in local trust file at [C:\Documents and Settings\Administrator\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust\flexUnit.cfg].
[flexunit] Executing 'rundll32' with arguments:
[flexunit] 'url.dll,FileProtocolHandler'
[flexunit] 'C:\projects\FlexUnit4Test\target\bin\TestRunner-flex.swf'
[flexunit]
[flexunit] The ' characters around the executable and arguments are
[flexunit] not part of the command.
[flexunit]
[flexunit] Opening server socket on port [1024].
[flexunit] Waiting for client connection ...
[flexunit]
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port [1024] ...
[ant] Exiting C:\projects\FlexUnit4Test\build.xml.
After this part of the log I get the following:
function(){return A.apply(null,[this].concat($A(arguments)))}
BUILD FAILED
C:\projects\build.xml:103: The following error occurred while executing this line:
C:\projects\FlexUnit4Test\build.xml:180: The following error occurred while executing this line:
C:\projects\FlexUnit4Test\build.xml:62: java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at org.flexunit.ant.tasks.TestRun.run(Unknown Source)
at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: Socket timeout waiting for flexunit report
at org.flexunit.ant.FlexUnitSocketServer.start(Unknown Source)
at org.flexunit.ant.FlexUnitSocketThread.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.SocketTimeoutException: Accept timed out
at java.net.TwoStacksPlainSocketImpl.socketAccept(Native Method)
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:396)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:183)
at java.net.ServerSocket.implAccept(ServerSocket.java:522)
at java.net.ServerSocket.accept(ServerSocket.java:490)
at org.flexunit.ant.FlexUnitSocketServer.openClientSocket(Unknown Source)
... 7 more
Total time: 1 minute 38 seconds
So everything seems to be building correctly now, but not executing correctly. Also, there are still a number of properties that are not being set:
function(){return A.apply(null,[this].concat($A(arguments)))}
report:
Skipped because property 'build.report' not set.
instrument-compile:
Skipped because property 'build.instrument' not set.
package-instrument:
Skipped because property 'build.instrument' not set.
pmdReport:
Skipped because property 'build.pmd' not set.
Where should these values be set and what are appropriate values? What could be causing the socket timeout and what exactly is it waiting for or attempting to accomplish with the sockets?
The end goal is to be able to use the flex SDK, flexunit and ANT on a linux server to automate my build/test process. I am currently just trying to get ANT to work with the flex SDK and flexunit on a windows XP box so I can see what the output should be and how the whole system works before trying to inject it into my CI system. -
Error in build.properties, how to set j2ee.home?
Hi,
I'm newbie for J2EE platform. I downloaded J2EE tutorial from sun site. I try to compile a app which ConvertApp using the asant build comannd.
I get this error.
build
Buildfile: build.xml
j2ee-home-test:
BUILD FAILED
D:\Projects\j2ee-1_4-doc-tutorial_7\j2eetutorial14\examples\common\targets.xml:1
0: The j2ee.home property is not properly set in <INSTALL>/j2eetutorial14/exampl
es/common/build.properties.
Set the j2ee.home property to the location of your Application Server installati
on.
On Windows, you must escape any backslashes in the j2ee.home property with anoth
er backslash or use forward slashes as a path separator. So, if your Application
Server installation is C:\Sun\AppServer, you must set j2ee.home as follows:
j2ee.home = C:\\Sun\\AppServer
or
j2ee.home=C:/Sun/AppServer
j2ee.home is currently set to:
Total time: 0 secondsIn which line i should add the j2ee.home value?
my build.properties look like this :
# general
build=build
sql.script=create.sql
delete.sql.script=delete.sql
# database
conpool.name=DerbyPool
jdbc.resource.name=jdbc/ejbTutorialDB
# mail
mailhost=mail_server_ip
mailuser=user_id
fromaddress=email_address
mailjndi=mail/MySession
# cmp
pm.resource.name=jdo/cmp-roster
pm.factory.class=com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl
db.schema=APPPlease enlighten me on this.
Thanks in advanceHi,
Updated "j2ee.home" and "j2ee.tutorial.home" properties in "build.properties" file which is stored in
\j2eetutorial14\examples\common
use forward slash as path seprator.
e.g
j2ee.home=D:/ProgramFiles/Sun/AppServ8.1UR2
j2ee.tutorial.home=E:/Ishtiaque/eBooks/Sun/2EE/j2eetutorial14
Regards,
Ishtiaque -
Pulseaudio Error, Home Directory Not Accessible: Permission Denied
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 3.0
D: [pulseaudio] main.c: Compilation host: x86_64-unknown-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Wextra -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
D: [pulseaudio] main.c: Running on host: Linux x86_64 3.7.10-1-ARCH #1 SMP PREEMPT Thu Feb 28 09:50:17 CET 2013
D: [pulseaudio] main.c: Found 2 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is 6aee4708a200492ea6f54ed069a7da94.
I: [pulseaudio] main.c: Session ID is 1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
E: [pulseaudio] core-util.c: Home directory not accessible: Permission deniedIt seems to be fine in windows, I have logged a bug for Linux.
Thanks
Sue -
I really need some help on this. Flex builder will not start.
When I try to run it, I get the error: An error has occured. See
the log file: <has a location to file>.
When I open the file, I get an error log. I will post it to
the end of this message.
So far, I have unisntalled/reinstalled Flex several times. I
have uninstalled Java, and reinstalled Java. I have uninstalled
Flex, removed ALL directories I could find (under /program files/
as well as /documents), run cclean to clear out registry entries,
as well as going through the entries one at a time. I then
rebooted, and reinstalled. I have also downloaded the original
install file 3 times now.
One oddity of my install, is that I am running on a
re-directed desktop, so my /documents/flex builder 3/ directory is
out on the network, but acts like it is locally mapped. I HAVE
logged on my system's local account, which doesn't have a
redirected desktop. This error occurs on both accounts.
I am the administrator of this box, and all permissinos are
run as an administrator. I am running Vista Business, and have run
this both with user access control on and off. I have also tried
running it in compatibility mode for Win XP SP2. While installing
it seems to fail on the Cold Fusion plugin, but it continues to
install, and tells me it installed fine. I am honestly at my wit's
end on this one.
Log File:
!SESSION 2008-04-04 15:17:18.359
eclipse.buildId=unknown
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.equinox.app 2008-04-04 15:17:22.589
!MESSAGE Product com.adobe.flexbuilder.standalone.product
could not be found.
!ENTRY org.eclipse.osgi 4 0 2008-04-04 15:17:22.661
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at
org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer. java:236)
at
org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:98)
at
org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:112)
at
org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
at
org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926 )
at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
at
org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
at
org.eclipse.equinox.internal.app.Activator.start(Activator.java:54)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:9 99)
at java.security.AccessController.doPrivileged(Native
Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:9 74)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:34 0)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackag e.java:37)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java :405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at
org.eclipse.core.internal.runtime.PlatformActivator.startAppContainer(PlatformActivator.j ava:47)
at
org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:32)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:9 99)
at java.security.AccessController.doPrivileged(Native
Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:9 74)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManage r.java:634)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java :508)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelMana ger.java:282)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManage r.java:468)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
!ENTRY org.eclipse.osgi 2 0 2008-04-04 15:17:23.442
!MESSAGE One or more bundles are not resolved because the
following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-04-04 15:17:23.442
!MESSAGE Bundle
update@plugins/org.eclipse.datatools.connectivity.oda.template.ui_3.0.4.200706071.jar
was not resolved.
!SUBENTRY 2
org.eclipse.datatools.connectivity.oda.template.ui 2 0 2008-04-04
15:17:23.442
!MESSAGE Missing required bundle
org.eclipse.pde.ui_[3.2.0,4.0.0).
!ENTRY org.eclipse.osgi 2 0 2008-04-04 15:17:23.497
!MESSAGE The following is a complete list of bundles which
are not resolved, see the prior log entry for the root cause if it
exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-04-04 15:17:23.497
!MESSAGE Bundle
update@plugins/org.eclipse.datatools.connectivity.oda.template.ui_3.0.4.200706071.jar
[52] was not resolved.
!SUBENTRY 2
org.eclipse.datatools.connectivity.oda.template.ui 2 0 2008-04-04
15:17:23.497
!MESSAGE Missing required bundle
org.eclipse.pde.ui_[3.2.0,4.0.0).Ok, this has FINALLY been fixed. There seems to be an issue
with having your documents stored remotely. My documents folder,
instead of being on my C: drive, has been redirected to the server,
so the location is: \\server\share\username\documents\etc
To fix this, I uninstalled Flex Builder 3, then deleted that
directory i makes under documents. I then logged off my account,
and logged on as the local administrator. I installed as the local
administrator which does not have a redirected desktop nor
redirected documents folder. It installed fine. I logged off the
local admin account, and logged in as my account, and was able to
fire up Flex Builder 3. Though, it STILL created it's own "copy" of
Documents on the network drive. So, the directory structure is
\\server\share\userID\Documents, the problem, is that there are TWO
"Documents" directories there. If you go to properties, windows
still recognized the old one, as "My Documents" even though it is
redirected as the file, Documents. The new folder, is also called
Documents.
Odd behavior. Just hope this helps someone else, in the
future. -
App Builder produces "Not Executable" error with Strictly Typed VI Refs
There is a very frustrating problem with the app builder in LV 8.0.1. Certain VIs compile and run fine in labview, but the app builder
refuses to make them into applications.
The error message is very long and ends with something like "The VI is not
executable". Standard advice for this problem is to force LV to recompile
everything you're building by either mass compiling or ctrl-shift clicking the
run arrow, but this hasn't worked for me in two separate cases (completely
different projects).
It seems that this problem is caused by wiring a strictly typed VI reference to
an invoke node with the FP.open method selected. In both cases I resolved
the issue by changing the Static VI Reference to be weakly typed (right-click
the static vi reference and make sure "Strictly Typed VI Reference"
is unchecked). After that, the project build successfully.
This is very hard for a user to track down for several reasons:
- The error message in the application builder does not give any
indication as to what the real problem is
- The app builder reports that the top-level VI is broken, even when the
strictly typed reference and invoke node may occur in a sub VI
- Nothing (that I can
find at least) in the documentation suggests that strictly typed references
won't work with the Open.FP method.
There is a page that says "some of the properties and methods do
not work when you configure this function to output a strictly typed VI
reference," but no indication is given of which methods fail
Note that in one case I was also able to make the project
build by deleting an instance of "IMAQ Create.vi" from the top-level
VI. I
have no explanation for this.
Hopefully this post will save some other users the trouble
of tracking this down and maybe even get NI to correct the issue for future
versions.
Adam BrewsterHello Adam,
Thank you for sharing your experience and insight. Your post was well thought-out and offered a
good description of the problem as well as some possible workarounds. I believe that the issue has been filed and
is under investigation (3TU8T8V9). Feel
free to post back after the next LabVIEW release and inquire as to its status.
Thanks again,
Travis M
LabVIEW R&D
National Instruments -
[svn] 2203: update build.properties to 3.0.3
Revision: 2203
Author: [email protected]
Date: 2008-06-24 07:52:56 -0700 (Tue, 24 Jun 2008)
Log Message:
update build.properties to 3.0.3
Modified Paths:
flex/sdk/branches/3.0.x/build.propertiesAs long as you aren't in Canada. Canadian law does not allow an iTunes card to be used to purchase the new software.
-
Ant build script not working...
Hi!
I'm having problems using Ant to build a WLI-application in a HP-UX
production environment. I exported the Ant buildscripts in Weblogic
Integration (in NT) and made minor adjustments which do not change
classpaths or anything for the taskdefs used. All of the builds I do for
other parts of the app work just fine, but when compiling the processes
(.jpd-files) I get the following error for each process:
[webappbuild] DESCRIPTION: An I/O Exception occurred while attempting to
write the deployment descriptors for Enterprise Java Beans. Error:
Production rule file
'/com/bea/wlw/runtime/core/bean/codegen/ejb-jar.template' not found.
the "ejb-jar.template' file resides in the knex.jar file which is
included in the classpath used for the build. Can anyone help me out
here on this one? One other thing to mention is that when I build the
application using Workshop in our development environment, there are no
problems, even if we have switched from using the "IDE build" to using
the Ant build even there....
Here is the Antscript for the processes:
<?xml version="1.0" encoding="UTF-8" ?>
<project name="Web Application project build" default="build">
<property environment="env" />
<!-- Load local and user build preferences -->
<property file="../build.properties"/> <!-- Component
local -->
<property file="${user.home}/build.properties"/> <!-- User local
-->
<!-- These properties are auto-set to match correct local values when
executed within the IDE. -->
<property name="project.local.directory"
value="${app.local.directory}/PrimaVera" />
<!--end auto properties -->
<path id="task.classpath">
<!-- External dependencies -->
<fileset dir="${platformhome.local.directory}">
<include name="javelin/lib/javelin.jar"/>
<include name="common/lib/log4j.jar" />
<include name="server/lib/knex.jar" />
<include name="server/lib/xbean.jar" />
<include name="server/lib/xqrl.jar" />
<include name="server/lib/weblogic.jar"/>
<include name="server/lib/wli.jar"/>
<include name="server/lib/xmarshal.jar"/>
</fileset>
</path>
<!-- WLI IDE Classpath -->
<path id="ide.class.path">
<pathelement location="${javalib.home}/lib/tools.jar"/>
<pathelement location="${javalib.home}/jre/lib/rt.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/knex.jar"/>
<pathelement
location="${platformhome.local.directory}/common/lib/log4j.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/debugging.jar"/>
<pathelement
location="${platformhome.local.directory}/javelin/lib/javelin.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/wlw-lang.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/weblogic.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/webservices.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/webserviceclient.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/webserviceclient+ssl.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/wli.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/xbean.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/xmarshal.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/xqrl.jar"/>
<pathelement
location="${platformhome.local.directory}/server/lib/netui/netui-compiler.jar"/>
<pathelement
location="${app.local.directory}/APP-INF/lib/iaik_jce_full.jar"/>
<pathelement
location="${app.local.directory}/APP-INF/lib/iipax_shs_api.jar"/>
<pathelement
location="${app.local.directory}/APP-INF/lib/iipax_shs_sdk.jar"/>
<pathelement
location="${app.local.directory}/APP-INF/lib/PVDatabas.jar"/>
<pathelement
location="${app.local.directory}/APP-INF/lib/RIBrygga.jar"/>
<pathelement
location="${app.local.directory}/APP-INF/lib/Schemas.jar"/>
<pathelement location="${app.local.directory}/APP-INF/lib/Vera.jar"/>
<pathelement
location="${app.local.directory}/APP-INF/lib/Gemensam.jar"/>
<pathelement location="${app.local.directory}/APP-INF/lib/Vera.jar"/>
</path>
<taskdef name="webappbuild"
classname="com.bea.wlw.runtime.core.ear.WebAppBuildTask"
classpathref="task.classpath"/>
<taskdef name="webappclean"
classname="com.bea.wlw.runtime.core.ear.WebAppCleanTask"
classpathref="task.classpath"/>
<target name="build" description="Build this Web project">
<property name="class.path" refid="ide.class.path"/>
<antcall target="clean" />
<webappbuild appdir="${app.local.directory}"
appname="${appname}"
servername="${servername}"
domainroot="${domainroot}"
verbose="false"
nowarn="false"
noerr="false"
serverbuild="true">
<Webapp name="${webappname}" contextroot="${webappcontextroot}"
uri="${webappuri}" classpath="${class.path}"/>
</webappbuild>
</target>
<!-- Clean resources -->
<target name="clean" description="Clean this Web project">
<webappclean appdir="${app.local.directory}"
appname="${appname}"
servername="${servername}"
domainroot="${domainroot}"
webappname="${webappname}"
webappcontextroot="${webappcontextroot}"
webappuri="${webappuri}" />
</target>
</project>
Thankful for any help on this matter,
/Eje ThorarinssonI found this post which gave me a clue as to what was happenning: http://forums.adobe.com/message/4653048
The app id was wrong. -
I burned two DVDs, then went to copy a disk image and burn in via Disk Untilities and it didn't work (I don't remember the error message; when I try to burn from DU now it freezes up). Now, when I try to burn in Studio Pro it does all the formatting, and I can hear the drive crank up like normal, but it stops the burn with the error message: "This device is not accessible, probably because it was removed".
This computer was new two and a half years ago, I'll be very disappointed in Apple if the drive is already shot. Does anyone have any suggestions?
Thanks.aliasgm wrote:
I burned two DVDs, then went to copy a disk image and burn in via Disk Untilities and it didn't work (I don't remember the error message; when I try to burn from DU now it freezes up). Now, when I try to burn in Studio Pro it does all the formatting, and I can hear the drive crank up like normal, but it stops the burn with the error message: "This device is not accessible, probably because it was removed".
Can you build the DVD still? In other words are you getting the message during the build? As to the device not being accessible, could be the media is not rated for your drive (which causes some issues when trying to burn. In other words your burner may not handle 8x media. My G5 Tower has a superdrive that cannot burn most new media ) Also if you used the drive alot it can get dirty and/or start going bad. -
Why are protected fields not-accessible from sub-classed inner class?
I ran across a situation at work where we have to sub-class an inner class from a third-party package. So, it looks something like this...
package SomePackage;
public class Outer {
protected int x;
public class Inner {
package OtherPackage;
public class NewOuter extends Outer {
public class NewInner extends Outer.Inner {
}Now the NewInner class needs to access protected variables in the Outer class, just like the Inner class does. But because NewOut/NewInner are in a different package I get the following error message.
Variable x in class SomePackage.Outer not accessible from inner class NewOuter. NewInner.You can still access those protected variables from the NewOuter class though. So, I can write accessor methods in NewOuter for NewInner to use, but I am wondering why this is. I know that if NewOuter/NewInner are in the same package as Outer/Inner then everything works fine, but does not when they are in different packages.
I have to use JDK1.1.8 for the project so I don't know if there would be a difference in JDK1.2+, but I would think that nothing has changed. Anyway, if you know why Java disallows access as I have detailed please let me know.Although I don't have the 1.1.8 JDK installed on my system, I was able to compile the following code with the 1.3.1_01 JDK and run it within a Java 1.1.4 environment (the JVM in the MSIE 5.5 browser). As long as you don't access any of the APIs that were introduced with 1.2+ or later, the classes generated by the JDK 1.2+ javac are compatible with the 1.1.4+ JVM.
//// D:\testing\SomePackage\Outer.java ////package SomePackage ;
public class Outer {
protected int x ;
public Outer(int xx) {
x = xx ;
public class Inner {
}//// D:\testing\OtherPackage\NewOuter.java ////package OtherPackage;
import SomePackage.* ;
public class NewOuter extends Outer {
public NewOuter(int xx) {
super(xx) ;
public class NewInner extends Outer.Inner {
public int getIt() {
return x ;
}//// D:\testings\Test.java ////import OtherPackage.* ;
import java.awt.* ;
import java.applet.* ;
public class Test extends Applet {
public void init () {
initComponents ();
private void initComponents() {
add(new Label("x = ")) ;
int myx = new NewOuter(3288).new NewInner().getIt() ;
TextField xfld = new TextField() ;
xfld.setEditable(false) ;
xfld.setText(Integer.toString(myx)) ;
add(xfld) ;
}//// d:\testing\build.cmd ////set classpath=.;D:\testing
cd \testing\SomePackage
javac Outer.java
cd ..\OtherPackage
javac NewOuter.java
cd ..
javac Test.java//// d:\testing\Test.html ////<HTML><HEAD></HEAD><BODY>
<APPLET CODE="Test.class" CODEBASE="." WIDTH=200 HEIGHT=100></APPLET>
</BODY></HTML> -
An Error Occurs When I Go To "Build Properties-- Icon" -- Custom Icon Build Fails
LV 2011
Mac OS X 10.6.8
1. Create a new Build Specification using the Application Builder.
2. Click on the "Icon" tab.
The following error occurs:
Three possible outcomes from here:
1. Usually LV2011 hangs when changing this option. (i.e. "time to Force-Quit LabView" and recover the project) It hangs after I uncheck the "Use default LabView icon" box, and then select my own custom icon from the file browser that appears.
If it doesn't hang:
2. I build using the default LabView icon. That build succeeds.
3. I build using my own icon (which has worked before in LabView app builds). That build fails, near the end, with the following error:
Please tell me how I can help get this working.Good questions.
1. This happens with all projects. As I mentioned, I get an error box as soon as I select the "Icon" tab in the Build Properties dialog. After that, it either hangs or fails to build. This happens with any new or existing project.
2. I have not built an application with a custom icon with LabView 2011. Remember I am Mac OSX so I install Application Builder separately from a .dmg file.
3. I was able to successfully build an application with a custom icon in LabView 2010.
So, it would seem to me that we should rule out that it's a global bug with LV2011 on Mac OSX (10.6.8). If you install and make a new project, and attempt to add a custom icon, I would bet you can reproduce this exactly. The error dialog pops regardless, and everytime. -
Spy menu only showing some items and properties not available
I am having some issues with the spy menu. In order to try and fix my issues I built the menu from scratch again on one of my pages. Everything works now on that page and when I upload it to the server, it is all there.
However, when I then copy and paste the menu to all the other pages and upload the the server, the submenu doen't show anymore. When I go and troubleshoot it and highlight the menu in its entirety and click properties, no properties will show. On the working page, this ation delievers me a properties bar where I can + or - menu items. Why is this? As this must be why the submenu is not showing either?
The page where everything works is this (See sub menu under coaching clinics) http://www.golifecoaching.com.au/go-beyond-registration-test but on every other page on this website, this submenu disappears.
Can anyone help? I am tearing my hair out and don't fancy having to build the menu from scratch for every page. There has to be a better way.
I use CS4 and this is my menu;
<div id="navigation">
<!--MENU-->
<ul id="MenuBar2" class="MenuBarHorizontal">
<li><a href="index.html">Home</a> </li>
<li><a href="what-is-coaching.html">What is Coaching</a></li>
<li><a href="coaching-benefits.html">Coaching Benefits</a> </li>
<li><a href="do-you-need-a-life-coach.html">Do You Need a Life Coach</a></li>
<li><a href="about-go-life-coaching.html">About Go Life Coaching</a></li>
<li><a href="#" class="MenuBarItemSubmenu">Coaching Clinics</a>
<ul>
<li><a href="holdsworth.html">Coaching for Carers</a></li>
<li><a href="coachingclinic.html">The Coaching Clinic</a></li>
</ul>
</li>
<li><a href="contact-us.html">Contact Us</a></li>
<li><a href="http://www.golifecoaching.com.au/blog">Blog</a></li>
</ul>
<!--END MENU-->
JenThat is brilliant, that is exactly it! Thank you sooooo much for your suggestion. I am so relieved.
Yes a template would be best, but I am not sure how to do that, so I am left with doubling my work evertime I make a change on this site.
Thanks Jen
Date: Sat, 13 Aug 2011 16:43:59 -0600
From: [email protected]
To: [email protected]
Subject: Spy menu only showing some items and properties not available
Disclaimer: I am new to coding in general and this is my first attempt to help someone.
I think the properties bar with the + - has to do with the javascript coding that is generated when you create a new tag, and it is located near the bottom of the page just before the closing body tag.
looks something like this:
<script type="text/javascript">
var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", );
</script>
so dont forget to copy that over too. Also, check the CSS that is associated within each page and make sure they are all in the same style.
P.S. Have you considered using a template for the menu bar so you dont have to copy it over each time?
> -
Revision: 20696
Revision: 20696
Author: [email protected]
Date: 2011-03-08 14:09:49 -0800 (Tue, 08 Mar 2011)
Log Message:
update build.properties values that are used for flex-sdk-description.xml. release.version = 4.5.1 release = Superhero
QE notes: no
Doc notes: no
Bugs: no
Reviewer: lauren
Tests run: no
Is noteworthy for integration: most likely FB will have to be aware of this
Modified Paths:
flex/sdk/trunk/build.propertiesThats good news.
Maybe you are looking for
-
ShowPopupBehavior: pop-up does not stay open
I'm using an <af:showPopupBehavior> component with the triggerType set to "focus" inside an <af:inputText> to display a stylized tooltip. It works fine when I use the mouse to give the text field focus, but when I tab into the text field the pop-up b
-
Once i deauthorize all computers, can I reinstate more than one immediately?
I have already 5 computers authorized for iTunes, but I don't own three of them any more. I am trying to download purchased items, but I would need to deauthorize all of them in order to include those I no longer own. Once I do that, can I authorize
-
I changed ISP and as a result lost access to the email address I used as my Apple ID I went to the Apple ID page and changed my id to my new email address for my personal iPad. But when I use my other iPad, I am asked to login using my old email a
-
Calling stored procedure and returning multiple resultsets
Hello, Is it possible to create a procedure that return multiple result sets? e.g. procedure GetDataFromTables() is begin select * from table_one; select * from table_two; end GetDataFromTables; And I want to call this procedure that returns multiple
-
Effects change bounding box background color
This is a technical continuation of my earlier inquiry - to which I found a workaround but not the solution. Create a document with a black background. Drop a graphic with a transparent background, or a block of white text, on that background. Print.