Warning: [path] bad path element
Hello Everybody,
I am building a project in Eclipse , using an ant build.
I used the Xlint Option , to determine the usage of deprecated API's.
I am building the project against JRE 1.5. I get the following compiler warnings
[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\jakarta-ant-1.5.1\lib\xalan.jar": no such file or directory
[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\jakarta-ant-1.5.1\lib\xalan.jar": no such file or directory
[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\xerces.jar": no such file or directory
[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\jdbc-se2.0.jar": no such file or directory
[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\jndi.jar": no such file or directory
[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tools\external\Castor\jta1.0.1.jar": no such file or directory
[javac] warning: [path] bad path element "C:\Views\snapshot\JRE5__cpnm2_0_proto.ntss\enm_herbie\framework\tpp\JavaMail1.4\lib\jcommon-1.0.0.jar": no such file or directory.
any idea as to why this is happening? what is that I need to chnage , in order to fix it ?
Thank you so much.
Thank you so much,
I used the Xlint:path , option , the compiler output is still the same,
I still get the path related warnings.
According to the documentation online,
Xlint:path , will basically remove all the path related warnings, but I have to figure out , as to how the compiler is even referring to these missing jars, even though the ant build.xml does not make a reference to them
Similar Messages
-
-Xlint:path : bad path element
When i compile my code with the compiler optione "-Xlint:path" I get several warnings, e.g.:
warning: [path] bad path element "D:\data\iComps\icf\prg\java\bin\lib\xercesImpl-2.2.1.jar": no such file or directory All of them don't exist because I don't need them. I remember that I had them long time ago in my classpath, but changed it and also deleted those files. My classpath doesn't have these files and i don't need them. I also searched my source/config/properties files for these occurences but didn't find them. I don't have these files in my classpath and Eclipse project classpath and it compiles and runs fine. So where the hell is the 5.0 compiler getting these paths from?nothing as i don't have a CLASSPATH environment variable. I use an IDE (Eclipse) and Apache ANT with a classpath property. I searched my files for such substrings (also eclipse workspace, my whole porject folder on the harddisc) but can't find any occurence. this is really strange ...
-
Virtual directory mapping: how to use variable in local-path element
Hi all
We are using a virtual-directory-mapping declaration in the deployment descriptor
for our web application to load jsp'a and other files from the file system.
This declaration looks like this:
<virtual-directory-mapping>
<local-path>c:/views/jsp</local-path>
<url-pattern>*.jsp</url-pattern>
</virtual-directory-mapping>
Here is my question:
Is there a possibility to use a variable in the local-path element? Something
like:
<virtual-directory-mapping>
<local-path>%PATH_TO_JSP%</local-path>
<url-pattern>*.jsp</url-pattern>
</virtual-directory-mapping>
If yes, how does it look like? My example above didn't work.
If no, is there another way to do that?
Thanks in advance
Regards
Iwanposting to servlets newsgroup
"Iwan Bussmann" <[email protected]> wrote in message
news:[email protected]..
>
Hi all
We are using a virtual-directory-mapping declaration in the deploymentdescriptor
for our web application to load jsp'a and other files from the filesystem.
This declaration looks like this:
<virtual-directory-mapping>
<local-path>c:/views/jsp</local-path>
<url-pattern>*.jsp</url-pattern>
</virtual-directory-mapping>
Here is my question:
Is there a possibility to use a variable in the local-path element?Something
like:
<virtual-directory-mapping>
<local-path>%PATH_TO_JSP%</local-path>
<url-pattern>*.jsp</url-pattern>
</virtual-directory-mapping>
If yes, how does it look like? My example above didn't work.
If no, is there another way to do that?
Thanks in advance
Regards
Iwan -
Hi guys,
I am not able to understand few differences when i am trying to compile my flex project using ANT. In the adobe resource i can see lots of places they mention as "compiler.source-path path-element="" "
And lots of places i use as <source-path path-element="" />. Can anybody give a better explaination about this.
The below example you can see there are lot of places where they used the attribute as compiler. & some places direct name
<?xml version="1.0" encoding="utf-8"?>
<!-- myMXMLCBuild.xml -->
<project name="My App Builder" basedir=".">
<taskdef resource="flexTasks.tasks" classpath="${basedir}/flexTasks/lib/flexTasks.jar" />
<property name="FLEX_HOME" value="C:/flex/sdk"/>
<property name="APP_ROOT" value="apps"/>
<property name="DEPLOY_DIR" value="c:/jrun4/servers/default/default-war"/>
<target name="main">
<mxmlc
file="${APP_ROOT}/Main.mxml"
output="${DEPLOY_DIR}/Main.swf"
actionscript-file-encoding="UTF-8"
keep-generated-actionscript="true"
incremental="true"
>
<!-- Get default compiler options. -->
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<!-- List of path elements that form the roots of ActionScript
class hierarchies. -->
<source-path path-element="${FLEX_HOME}/frameworks"/>
<!-- List of SWC files or directories that contain SWC files. -->
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs" />
<include name="../bundles/{locale}" />
</compiler.library-path>
<!-- Set size of output SWF file. -->
<default-size width="500" height="600" />
</mxmlc>
</target>
<target name="clean">
<delete dir="${APP_ROOT}/generated"/>
<delete>
<fileset dir="${DEPLOY_DIR}" includes="Main.swf"/>
</delete>
</target>
</project>I know that Oracle has been putting work into improving the performance of XMLTable and XQuery and that is their direction for what we as developers should be using in our code. I've yet to write any production code like your query 2 but I agree with you that they should be equivalent. For a quick and dirty test, you could simply do an explain plan on both queries and see if they come out similar. As always, an explain plan does not mean that is exactly what Oracle will run during execution, but it is close enough for most situations.
-
Warning: [path] Unexpected file on path:
Hi
I try to compile a lott of files with the command:
javac -classpath c:\ -sourcepath c:\test\*.java
And that gives the following warning:
warning: [path] Unexpected file on path: c:\test\AnalyzeAccNum.java
The result is that that file is not compiled.
And if I use javac to compile only that file it works.
Why isn't it compiling the first time? And how can I fixed it so that file will be compiled with all the other files.
Thanks in advance.What you have specified is not a sourcepath. It's a specification of which files to compile. A sourcepath is a directory. I suspect you can get rid of the -sourcepath part altogether.
-
Basic Warn DD_Warn: Bad count; corrupt NSEC RDATA
I have a one week old Mac Pro (2013 and have been getting the following error 12/16/14 11:48:22.339 PM discoveryd[54]: Basic Warn DD_Warn: Bad count; corrupt NSEC RDATA
I have had issues with my raid drives disconnecting and am wondering what this message might mean.
Thanks
RussMaybe this
http://apple.stackexchange.com/questions/144457/os-x-keeps-rebooting-by-itself
You have 90 days of free telephone support. Why not give Apple a call.
Complimentary Support (USA)
For the Raid problem you need to provide us info on what Raid you are using and how they are connected. Are yo doing anything whne they disconnect? -
How can I get a file path element in XML to work in AI javascript?
Hi all - this is my first post. I'm pretty familiar with javascript, but I'm new to the Adobe scripting environment.
Our client wants Illustrator at startup to load a certain pattern swatch. It works fine when I hard code the pattern file path, but it needs to be user configurable, so I put the file path info in an XML file to be read in at startup. The XML file is read in and the elements are extracted into varibles. When I concatenate the variables to create the file path string and try to open the pattern file, it says file not found.
Here is my source code:
var fileObj = new File("aiConfig.xml");
fileObj.open("r:");
var xmlString = new XML(fileObj.read());
var driveLetter = xmlString.fullPathName.driveLetter.text();
var filePath = xmlString.fullPathName.filePath.text();
var fileName = xmlString.fullPathName.fileName.text();
var fullFilePath = driveLetter + filePath + fileName;
var styled_ai = app.open(new File(fullFilePath));
app.activeDocument = styled_ai;
Here is aiConfig.xml:
<?xml version="1.0" encoding="windows-1252" ?>
<aiConfig>
<fullPathName>
<driveLetter>C:</driveLetter>
<filePath>/Program Files/Adobe/Adobe Illustrator CS4/Presets/en_US/Swatches/Patterns/Decorative/</filePath>
<fileName>Decorative_Modern.ai</fileName>
</fullPathName>
</aiConfig>
Any help would be greatly appreciated - this is driving me a little crazy.
Thanks,
TomHi Tomchag,
Your script works fine on MAC OS X & illustrator CS4.
i have change only pathway to aiConfig.xml like this:
var fileObj = new File("/Volumes/LaCie/aiConfig.xml"); //<- path of my external HDD should be D:/ on windows
and the contents in aiConfig.xml to :
<?xml version="1.0" encoding="windows-1252" ?>
<aiConfig>
<fullPathName>
<driveLetter></driveLetter>
<filePath>/Applications/Adobe Illustrator CS4/Presets.localized/fr_FR/Nuancier/</filePath>
<fileName>VisiBone2.ai</fileName>
</fullPathName>
</aiConfig>
So.. i notice twice thing:
1) complete file and path for aiConfig.xml
2) i didn't use drive letter (but it's specific to windows)
I hope this post can help you
Cyao, art.chrome -
Nested class path element in ANT task
I am having some problems with the nested classpath element in the
enhancer ANT task. Does anyone else use this? If so can you share your
config with me.
class loader could not resolve the class name "XYZ"
sean.Sean Hager wrote:
I am having some problems with the nested classpath element in the
enhancer ANT task. Does anyone else use this? If so can you share your
config with me.
class loader could not resolve the class name "XYZ"Impossible to say what your error means without looking at your build.xml.
My enhancer task looks like:
<taskdef name="jdoc" classpathref="eclipse.classpath"
classname="com.solarmetric.modules.integration.ant.JDOEnhancerTask"/>
<jdoc>
<fileset dir="${src.dir}">
<include name="**/*.jdo" />
</fileset>
<fileset dir="${testsrc.dir}">
<include name="**/*.jdo" />
</fileset>
<classpath>
<pathelement location="bin/"/>
<path refid="eclipse.classpath"/>
</classpath>
</jdoc>
Hope that helps.
Tom -
Error warning CA Headless. Elements 9
1) I have Elements 9 Photoshop and Premiere.
Installed and worked fine for a year. Now have an intermittent message coming up CA Headless Debug Event. CA Headless has encountered an error ... then file path shown as [:\:\src\Datamanager.cpp-410]
Does this meaningless drivel have anything to do with ADOBE? If so how to cure please? (I've deinstalled and then reinstalled programme). If not an ADOBE warning, any suggestions as to what program it belongs to? It doesn't seem to affect performance and you can click on 'continue' to remove for a minute or two. Just very annoying as it returns when Elements open.
2) I have 4 pictures showing in the Photoshop catalogue as normal, however I cannot find the original hard drive pictures in any folder. (Searched image number and if you go to delete the option of 'Hard drive copy deletion' isn't given). I cannot think that I deleted the originals - certainly not on purpose and they are not in recycle bin. Is there any way of 'connecting' to a hard drive image by recreating the hard drive image from the catalogue. Or will I have a choice of deleting from Catalogue or having them show with either a ? in the top right hand corner or sometimes an ADOBE icon.
Appreciate any help you experts could give me.
Many thanks
NoblavitchThanks Hatstead for info. If I carry out this task, what's to stop it happening again? Finally found some other people who have had this problem way back a year ago. The search function on ADOBE 'problem solving' needs sorting!
Does anyone know whether it is the auto analyzer which causes the problem? Why on earth don't ADOBE fix it, I thought they were supposed to be market leaders. Would Elements 10 fix it? Does anyone know? Is anyone at ADOBE listening or remotely interested?
All questions I know, but appreciate it if anyone has found a more simple cure which eliminates the problem completely. Perhaps best to look for better software producer?
Thanks
Noblavitch -
Warning in TextView UI Element.
In the NWDS, I set the "text" property of a TextView UI Element by clicking on the "Edit" button. A pop-up window opens, and I enter a multi-line text, using the Enter key to break the lines.
What I get is working perfectly, but I get a couple of annoying warnings saying:
"The source text contains "\n"
"The source text contains "\r"
Of course, if I bind the "text" property to an attribute and then, programmatically, I assign it a string containing "\n", I get no warning.
Any suggestion on how to avoid such warnings?
Best regards,
LivioTry this:
/people/valery.silaev/blog/2005/11/23/display-formatted-text-using-webdynpro-for-java
regards,
Angelo -
Prompted 'Warning' when launching Photoshop Elements 8
Please help! I had downloaded Adobe Elements Inspiration browser (Trial). But when i tired to launch it, there would be a pop-up that said, 'Warning, The Elements Inspiration Browser works best when launched directly from your Adobe Elements Software. Please open Photoshop or Premiere Elements 7 and open the inspiration browser from there.
Does that means that i have to download Premiere Elements 7? Kindly advise.
Thanks!!You access the inspiration browser from the Help Menu in either Photoshop Elements or Premiere Elements.
-
Warning - LR2.7 and Elements 7 are no longer compatible
Tom Hogarty has confirmed that Adobe are not providing ACR5.7 for Elements 7
http://forums.adobe.com/message/2757553#2757553
hence losing compatibility between the 2 products
IanIt doesn't mean they are no longer compatible, just that Lightroom will have to render the file rather than Elements. Much the same with those who use older versions of PS.
-
Remove warning: Set Listener ? element Listener T usage
Hello,
I have a class using listeners for diffent classes. I don't know how to remove the unchecked warning.
The class stores Listener for differen classes. When called with an object of a registered class the method doIt from the registered XListener should be called with the object.
Here comes the code:
public class XSupport {
private Set<Listener<?>> listeners = new HashSet<Listener<?>>();
public <T> void addXListener(Class<T> clazz, XListener<T> xListener) {
listeners.add(new Listener<T>(clazz, xListener));
@SuppressWarnings("unchecked")
public <T> void doIt(T data) {
Class<?> dataClass = data.getClass();
for (Listener listener : listeners)
if (dataClass.equals(listener.getClazz()))
listener.getXListener().doIt(data);
private class Listener<T> {
private Class<T> clazz;
private XListener<T> xListener;
public Listener(Class<T> clazz, XListener<T> xListener) {
this.clazz = clazz;
this.xListener = xListener;
public Class<T> getClazz() {
return clazz;
public XListener<T> getXListener() {
return xListener;
}Rem.: Listener also has equals and hashCode which I did not copy here
The XListener interface is definied like this:
public interface XListener<T> {
public void doIt(T data);
}I suppose the for loop with raw Listener is the problem, but I can't use Listener<?> neither Listener<T> there.Kurt76 wrote:
I have a class using listeners for diffent classes. I don't know how to remove the unchecked warning.Your code "anonymizes" the generic type of incoming listeners by adding them to a wildcarded Set. What you would need here is to "re-set" the type information by time of usage, which you cannot do reflectively.
I'd suggest a small redesign as follows:
public class XSupport {
private Set<Listener<?>> listeners = new HashSet<Listener<?>>();
public <T> void addXListener(Class<T> clazz, XListener<T> xListener) {
listeners.add(new Listener<T>(clazz, xListener));
public void doIt(Object data) {
for (Listener<?> listener : listeners) {
listener.visit(data);
private class Listener<T> {
private Class<T> clazz;
private XListener<T> xListener;
public Listener(Class<T> clazz, XListener<T> xListener) {
this.clazz = clazz;
this.xListener = xListener;
public void visit(Object data) {
if (clazz.isInstance(data)) {
xListener.doIt(clazz.cast(data));
}Edit: Just as I missed that one: was the use of "equals" deliberate? If so, you have to change the visit() method implementation to check on "clazz.equals(data.getClass())". An equal on classes will only match if both are the same class (uses object identity). That is, you only can use concrete classes for adding listeners, no interfaces or abstract classes, nor make use of class hierarchies.
Edited by: stefan.schulz on Oct 13, 2007 11:15 AM -
Hi,
I am running Adobe Elements 11 and have one irritating problem. I make a perfect on screen recording but when I import the .avi to elements some things just become poor. For example when I scroll a window while recording it just becomes a weird buzz and laggy. The raw file is flawless but when imported this happens.
Thankful for any help,
ArashScreen capture software sometimes/often/??? uses ODD information in the video file that causes problems when trying to edit
First, Exactly what is INSIDE the video you are editing?
Codec & Format information, with 2 links inside for you to read http://forums.adobe.com/thread/1270588
Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
http://forums.adobe.com/thread/592070?tstart=30 for screen shot instructions
Free programs to get file information for PC/Mac http://mediaarea.net/en/MediaInfo/Download
Second, some links I've saved about screen capture... not the program you are using, but the information MAY help
NOTE - do NOT use a Variable Frame Rate capture setting !!!
Free Open Source software http://camstudio.org/
-use with Lossless Lagarith http://forums.adobe.com/thread/875797
http://www.pixelmetrics.com/
Some of these notes are for Premiere Elements, but may help with PPro
Fraps & Elements http://forums.adobe.com/thread/967201
-and Elements preset http://forums.adobe.com/thread/943772
-and more Elements http://forums.adobe.com/thread/871095
Camtasia http://forums.adobe.com/thread/836800
-and Lagarith Codec http://forums.adobe.com/thread/1287577
-and http://forums.adobe.com/thread/775288
-and http://forums.adobe.com/thread/453044
-and http://forums.adobe.com/message/3202148
Techsmith codec http://forums.adobe.com/message/3692768
-and http://forums.adobe.com/thread/1046914?tstart=0
BB Flashback http://forums.adobe.com/thread/1074014
XSplit recorder http://forums.adobe.com/thread/1160940
Elgato http://forums.adobe.com/thread/1163126 w/picture
Dxtory http://forums.adobe.com/message/5172056
Bandicam read #10 http://forums.adobe.com/thread/954394
Hauppauge MPEG-2 TS http://forums.adobe.com/thread/1285168
-and http://forums.adobe.com/thread/1289304 for MANY links -
Need help with setting PATH in Windows 98
Hi
Can anyone please help me!!!
I am new to java and I am confuse how to set the path in my pc. I have a windows 98, I downloaded the Java 2 SDK Standard Edition v 1.4.1 from the CD that came with the fifth edition "Java How to Program" book. I followed the instruction in how to set PATH permanently but it is not working. When I open my AUTOEXEC.BAT this is what I have:
@ECHO OFF
rem
rem *** DO NOT EDIT THIS FILE! ***
rem
rem This file was created by the System Configuration Utility as
rem a placeholder for your AUTOEXEC.BAT file. Your actual
rem AUTOEXEC.BAT file has been saved under the name AUTOEXEC.TSH.
rem
SET PATH=%PATH%;C:\PROGRA~1\BORLAND\CBUILD~1\BIN;C:\PROGRA~1\BORLAND\CBUILD~1\PROJECTS\BPL
@REM Added by MATLAB installer
SET PATH="%PATH%;c:\matlab_sv12\bin\win32"
PATH=%PATH%;C:\PROGRA~1\SSHCOM~1\SSHSEC~1
REM >>>CS ChemOffice: Do Not Edit!
path="c:\PROGRA~1\CHEMOF~1\COMMON\dlls";%PATH%
REM <<<CS ChemOffice: Do Not Edit!
I added the C:\J2SDK1.4.1\BIN and the end of PATH=%PATH%;C:\PROGRA~1\SSHCOM~1\SSHSEC~1 but it is not working. When I try to compile javac HelloWorldApp.java in MS-DOS Prompt I get "Bad command or file name".
If anybody can please help, I'd greatly appreciate it...
Thank you
GemI added the C:\J2SDK1.4.1\BIN and the end of
PATH=%PATH%;C:\PROGRA~1\SSHCOM~1\SSHSEC~1 but it iswell, you could have written that directory wrong...
are you sure that your java is in J2SDK1.4.1 ? for me
that directory has _02 at the end of it as well...
it also might be that you didn't separate your path
element with ';'
that's important too.
you could try it from dos-prompt like that:
set PATH=%PATH%;c:\j2sdk1.4.1\bin
if it works from dos-prompt, then it should work in
autoexec as well...
HTHThank you very much for your help!!!
I tried what you suggest set PATH=%PATH%;c:\j2sdk1.4.1\bin in the dos-prompt and it worked, but it didn't work in the autoexec.bat. I am getting "Out of environment space".
Gem
Maybe you are looking for
-
Long loading time if no internet connection available (VS 2005 Redist)
Hallo forum members! I've been searching for a solution for my problem for a while - without success. It isn't really a critical issue, but quite annoying anyways. Here's the problem i'm dealing with: I've developed an .NET application using Visual S
-
ECC v6.0 installation error : CJS-30022 and FCO-00011
Hi All, I enconter the while <u><b>installing ECC 6.0 in windows 2003 server and MSSQL 2005 as the database</b></u>. The error occurs during <u><b>import ABAP phase ( exactly the Job name was SAPSDIC and this is the first job out of 19)</b></u> The s
-
Table for network system status
Hi All, Can anyone tell us , what are the tables of Network system systems. Regards, Ravindra
-
Why logic can't send post pan audio to buses with CoreAudio?
Hi, The "post Pan" send option is only for TDM users- Routing a track to a bus, then to an Aux track in order to obtain a post pan send is really anoying : http://docs.info.apple.com/article.html?artnum=300058 This issue turns the mix in logic into a
-
When Firefox was automatically updated to 29, it removed my yahoo toolbar and I can't reinstall it. I go through the motions of installing the toolbar and when I restart Firefox, the toolbar is there for a split second and then is deleted from the di