Filer warning of creating multiple files even though only one is created

I'm using the Apt tool with a custom program that I wrote to autogenerate some Java classes for my project. Unfortunately, the Filer is throwing a warning. Even thought the below code is only called once, I get a multiple create warning. Any ideas what's causing this?
Mark McKay
Filer filer = env.getFiler();
PrintWriter pw = filer.createSourceFile(indexClassName);
warning: Attempt to create 'C:\dev\cvs.kitfox.com\scarlet\gen\com\kitfox\scarlet\\Index.java' multiple times

I disocvered that this error was coming from the fact that my processor was being called twice - once for my original soruce files, and then again to process the file I had just generated. Once I handled the case of the reentrant call to process(), I was able to avlid this warning.

Similar Messages

  • Firefox is not warning when closing multiple tabs, even though it is set to warn me in preferences!

    Firefox is not warning when closing multiple tabs, even though it is set to warn me in preferences! Unchecking and rechecking the box does not help, it's as if Firefox is ignoring the option to warn when closing multiple tabs.

    You can set the warn prefs on the about:config page to true via the right-click context menu or toggle with a double left-click.
    * browser.showQuitWarning, see http://blog.zpao.com/post/3174360617/about-that-quit-dialog
    * browser.tabs.warnOnClose, see http://kb.mozillazine.org/About%3Aconfig_entries
    * browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
    * browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    You can use History > Restore Previous Session to get back the previous session.<br />
    There is also a "Restore Previous Session" button on the default about:home Home page.
    Another possibility is to use:
    *[http://kb.mozillazine.org/Menu_differences Firefox > Preferences] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • Create multiple portal instances with only one database?

    Can someone create multiple portal instances with only one database?
    If so, how is this done, just by running the portal configuration wizard?
    How are most people running with multiple developers working on portal? Do they share a portal instance, or create their own?
    Thank you very much!
    Phillip

    i'm currently using 9ias rel 2(9.0.2) and i have install one infrastructure and two mid tier, hoping that this will create two portal, but it didn't. Can you please tell me how to do create two portal within one server.
    thanks and regards;
    andrew

  • Two events getting trigered even though only one is being raised !

    I am creating a workflow for TRIP approval. In Start events I have added following two events :
    1. CREATED
    2. CHANGED
    Whenever a trip gets created or changed both the events get triggered thus two workflows start.
    I can customize my workflow for only one event but the issue is why two events are getting triggered ?

    Hi AD,
    not dealt with TRIP object,
    but the CHANGED event, is it created by you thru SWEC?
    If yes, check if the entry has OnChange and not Create.
    Hope it helps.
    Aditya

  • Why am I not warned when closing multiple tabs even though it is set in the preferences to do so ... using Version 4 on a MAC

    I have set the preferences to warn me when I close the browser window with multiple tabs open. No warning is given and the multiple tabs have to be reproduced every time I open. In previous versions I would be asked if I wanted to SAVE the tabs for the next session ... which I do. And, when opening Firefox the next time, the tabs would all be there.

    You can use "History > Restore Previous Session" to get back the previous session.
    There is also a "Restore Previous Session" button on the default about:home Home page.
    Another possibility is to use:
    *Firefox > Preferences > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"
    You can set the warn prefs on the about:config page to true via the right-click context menu or toggle with a double left-click.
    * browser.showQuitWarning, see http://blog.zpao.com/post/3174360617/about-that-quit-dialog
    * browser.tabs.warnOnClose, see http://kb.mozillazine.org/About%3Aconfig_entries
    * browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
    * browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • Can XSQL create multiple session variables using only one database call?

    Right now if I want to set session variables for username and accesslevel, I code out like this:
    <xsql:set-session-param name="name" bind-params="username password">
    SELECT DISTINCT USERNAME
    FROM LKUP_USER
    WHERE USERNAME = ? AND PASSWORD = ? AND ACCESSLEVEL = 0
    </xsql:set-session-param>
    <xsql:set-session-param name="authlvl" bind-params="username password">
    SELECT DISTINCT ACCESSLEVEL
    FROM LKUP_USER
    WHERE USERNAME = ? AND PASSWORD = ? AND ACCESSLEVEL = 0
    </xsql:set-session-param>Is there any way to do it so that I don't have to do multiple queries to the database to set session variables? i.e., something like this:
    <xsql:set-multiple-session-param name="user authlvl" bind-params="username password">
    SELECT DISTINCT USERNAME,
    ACCESSLEVEL
    FROM LKUP_USER
    WHERE USERNAME = ? AND PASSWORD = ? AND ACCESSLEVEL = 0
    </xsql:set-multiple-session-param>Sort of like how bind-params works. Setting bind-params="username password" makes the first ? akin to username and the next ? akin to password.
    Is this functionality already in existence?
    Thanks!
    Malik Graves-Pryor

    Not currently possible to collapse into one request without doing it in a custom action handler.
    A custom action handler can:
    [list=1]
    [*]Get the current JDBC connection from the XSQLPageRequest
    [*]Get the SQL statement to perform using the function getActionElementContent
    [*]Handle any bind parameters specified an a bind-params attribute on the action element by calling handleBindVariables()
    [*]Execute and fetch the row from the query
    [*]Check to see that the return value of getPageRequest().getRequestType() equals the value "Servlet"
    [*]Cast the page request to an XSQLServletPageRequest and call getHttpServletRequest()
    [*]Call getSession() on the request
    [*]Set the session variables you want to
    [*]Close the JDBC statement
    [list]
    will consider a built-in enhancement for a future XSQL release.

  • To create multiple files with same content but with different names

    Hi SapAll.
    here i have got a tricky situation on Idoc to File Scenario.
    in my interface of an Idoc to file ,there  is requirement to create multiple files with different file names but with same content based on one Idoc Segment.
    which means there will be one Zsegment with two fields in the idoc,where one field with (content refers to the name which file name should start with .so lets say if this segment is repeated for 3 times then PI should create 3 files in the same directory with same content but with different file names (from the filed).
    so here for now iam using one reciever file communication channel.
    can any body give me the quick answer.
    regards.
    Varma

    What do you mean by different names?
    when i make proper setting in the Receiver Channel....on how to create the filename (what to append) like add Timestamp, counter, date, messageid.....even in this case you will ahve file with different names and that too from same File channel.
    You can perform multi-mapping in XI/ PI and then your File channel will place the files in the target folder with relevant names. You cannot use Dynamic Configuration with Multi-Mapping!
    If you intend to use different File channels, then do the configuration as required (normal)...even over here you can follow multi-mapping.
    Do not use a BPM!
    Regards,
    Abhishek.

  • JDBC to  File Sender: Create Multiple Files

    Hi All,
    I have a requirement that I have to pick data form a SQL table and then based on the data in it I have to create multiple files using File receiver. Even the file name has to be derived from the data in the SQL table.
    e.g. The SELECT statement is fetchin 30 record and I have to make 3 files out iof it. Please suggest.
    regards,
    Piyush

    Hi,
    You can achieve without BPM, By using Enhance Interface Determination  i,e Multimapping without BPM.
    In additon you would required ASMA and dynamic configuration for this scenario.
    Regards,
    Abid

  • Can't open iphoto file to edit in Elements 10 even though external editor is set

    Right clicking on iphoto file, selecting "edit in external editor" resullts in spinning beach ball.  Each attempt at opening a file initiates a reopening of Elements even though it is already opened.

    Can you open images normally in Photoshop Elements?  I would recommend including this information as well as which verson of iPhoto and Mac OS you are using to the Photoshop Elements forum.  It might also possibly be a problem with iPhoto but the users in the Photoshop Elements forum should better be able to determine where the problem lies.

  • How to create multiple files with Receiver File Adapter in SAP PI 7.31 Java Stack

    Dear Friends,
    I am using Sender JDBC Adapter and Receiver File Adapter in Integration Flow in SAP PI 7.3 EHP 1 SP08 Java Stack environment. The requirement is that we need to create multiple files based on the row count in jdbc resultset. If there are 5 rows in resultset, we need to create 5 XML files with one row elements in one file. Similarly if there are 10 rows, we need to create 10 XML files.
    So how can we create multiple files in this scenario. I tried placing a for loop in the Java Mapping as below in the transform method:
    DynamicConfiguration conf = arg0.getDynamicConfiguration();
    StringBuffer sbFileData = new StringBuffer();
    for (int i =0; i < record.size(); i++ {
         . // Create XML for each row and Marshal the object into to the String Buffer
         String strFileName = "DC_" + new SimpleDateFormat("ddMMyyyyHHmm").format(new java.util.Date())+"_"+i+".xml";
         conf.put(KEY_FILENAME, strFileName);
         arg1.getOutputPayload().getOutputStream().write(sbFileData.toString().getBytes("UTF-8"));
         arg1.getOutputPayload().getOutputStream().flush();
    So here I'm flushing the OutputStream for each record. But it's not creating the multiple file, instead it creates only one file will all record XMLs appended to each other.
    Please let me know if I missing something or need to do some thing else.
    Regards,
    Shreyansh Shah

    Hi
    You can easily achieve this using graphical mapping.  Create your target message type like below
    MT_Target
      Details  0 to 1
          Data  0 to 1
    Source sample structure
    <resultset>
    <row>
    <column-name>column-value</ column-name>
    </row>
    Then do the message mapping like below
    map <row> with  MT_Target
    contant ----> Deatils
    column-name ------>Data
    In the signature tab of message mapping, choose the occurrence of your target message type as
    0 to unbounded.
    This will generate multiple files from multiple rows.
    Let me know if you have any doubt.

  • Acrobat 9 Pro - Batch Create Multiple Files from InDesign CS5 files

    When attempting to batch create PDFs from Indesign CS5 files using Acrobat Pro 9's File>Create PDF>Batch Create Multiple Files ... option the operation fails with the error 'Could not find the application that created this file: [path to file] Please select a file created by an application that resides on your computer.' as shown in the screenshot below:
    Acrobat 9 Professional was bundled with Creative Suite 5 Design Standard so shouldn't this work? My machine is running OS X 10.6.7, Acrobat Pro 9.44 and InDesign CS5 7.04.
    Any help to solve this issue would be most gratefully received - this feature had previously saved me a lot of time on my old machine with 10.5.8, Acrobat Pro 9 and CS4.

    I have uploaded the files and shared them.  These are the links
    Grade 11 Maths Standardisation Project Paper 2 2013.doc
    https://files.acrobat.com/preview/9694310d-ca7f-4919-883d-c53b36215d89
    Grade 11 Maths Standardisation Project Paper 2 Analysis Grid 2013.doc
    https://files.acrobat.com/preview/97da9e5f-d412-4d25-9bbc-d1a525d90826
    Grade 11 Maths Standardisation Project Paper 2 Diagram Sheet 2013.doc
    https://files.acrobat.com/preview/f50dd62e-af04-4060-85c5-fa81ce6803d8
    Grade 11 Maths Standardisation Project Paper 2 Formula Sheet 2013.doc
    https://files.acrobat.com/preview/7fc6007b-aaa6-4d65-9a8c-bf99818474a5
    Grade 11 Maths Standardisation Project Paper 2 Marking Guidelines 2013.doc
    https://files.acrobat.com/preview/b3a715bb-3683-48df-b0ec-3d17442275be
    Grade 11 Maths Standardisation Project Paper I Analysis Grid 2013.docx
    https://files.acrobat.com/preview/ab62e6b6-0261-434e-8a2f-382f74335685
    The first file is the problem file.  If you create this file separately, Acrobat will convert it perfectly.  But "Batch create multiple files" and the graphics are deconstructed on page 8

  • Acrobat 9 - Batch Create Multiple Files

    Hopefully someone can help me with this problem, or at least shed some light on it for me.
    I am using Acrobat 9. I have Creative Suite 4 (InDesign, Illustrator, Photoshop, etc.) There is a new feature in Acrobat 9 called "Batch Create Multiple Files", which can be found in the File menu, under "Create PDF".
    This feature is supposed to create pdfs from multiple native file types, including InDesign. Acrobat uses the native application, in this case InDesign CS4, to open each file selected in the batch and then create a pdf file from it. This would be a really cool feature if I could get it to work.
    Each time I try to run this, I get an error message stating "Cannot open the document". I have an operator who can get this to work, if they use CS3 InDesign documents (she also has CS3 installed on her mac), which doesn't make sense to me because Acrobat 9 is a part of CS4.
    Is it possible that I am missing a plug-in? Has anyone experienced a similar problem, or does anyone have a solution for me?
    Thanks,
    Jeff

    You should remember that Acrobat 9 Pro came out BEFORE InDesign CS4. It has not yet had an update. The release InDesign CS4 format DID NOT EXIST when Acrobat 9 Pro came out, so it cannot yet convert it.
    You'll have to wait for an update to Acrobat 9 Pro.

  • Combine functionality Batch Create Multiple files and Set Security

    Greetings,
    Is there any way to combine the functionality of Acrobat Pro’s “Batch Create Multiple Files” (File (drop down) -> Create PDF -> Batch Create Multiple Files…) and running a batch process (Advanced -> Document Processing -> Batch Processing -> Batch Sequences -> Set Security)?
    Ideally I’d like to either:
    1)      Add the “Set Security” batch process to the “Batch Create Multiple Files … command located under the File (drop down) -> Create PDF
    or
    2)      Be able to create a batch process that first allows me to select the documents (Word, Excel, etc.) I want to convert into PDF files, then converts them, then runs the Set Security batch process.
    Right now it isn’t too much trouble to first “Create Multiple Files…” then run the batch process Set Security, but it would be nice to be able to do both with a single command.
    Any suggestions?
    Thank you,
    TPK

    I have uploaded the files and shared them.  These are the links
    Grade 11 Maths Standardisation Project Paper 2 2013.doc
    https://files.acrobat.com/preview/9694310d-ca7f-4919-883d-c53b36215d89
    Grade 11 Maths Standardisation Project Paper 2 Analysis Grid 2013.doc
    https://files.acrobat.com/preview/97da9e5f-d412-4d25-9bbc-d1a525d90826
    Grade 11 Maths Standardisation Project Paper 2 Diagram Sheet 2013.doc
    https://files.acrobat.com/preview/f50dd62e-af04-4060-85c5-fa81ce6803d8
    Grade 11 Maths Standardisation Project Paper 2 Formula Sheet 2013.doc
    https://files.acrobat.com/preview/7fc6007b-aaa6-4d65-9a8c-bf99818474a5
    Grade 11 Maths Standardisation Project Paper 2 Marking Guidelines 2013.doc
    https://files.acrobat.com/preview/b3a715bb-3683-48df-b0ec-3d17442275be
    Grade 11 Maths Standardisation Project Paper I Analysis Grid 2013.docx
    https://files.acrobat.com/preview/ab62e6b6-0261-434e-8a2f-382f74335685
    The first file is the problem file.  If you create this file separately, Acrobat will convert it perfectly.  But "Batch create multiple files" and the graphics are deconstructed on page 8

  • Changing the pdf profile of batch create multiple files in Acrobat?

    Is it possible to load another pdf profile for batch create multiple files from Acrobat? I am batching indesign pages and I need to use a high resolution pdf profile with printer marks
    The default seems to be low res rgb. Any idea if this can be done?

    it is a custom Pdf Profile but basically an X1a with a few tweeks, When I try a watch folder with distiller it just errors out all the files.
    Batch Processing using the "Create PDF, Batch Create Multiple Files " in Acrobat works but does not let me choose a pdf profile.
    C

  • Batch create Multiple files in Acrobat X and X1 cannot convert Word 2010 with graphics

    I work for an exams board where hundreds of exam papers are produced. Once approved, these exams are converted to PDF and sent to print.  Using the Batch Create Multiple Files option is therefore essential to getting these papers print ready on time.  We have found that using this function to convert multiple Word 2010 files with graphics will not render it properly.  It deconstructs the graphics which loses the integrity of the exam paper. 
    I have trialled the same group of files on Acrobat X1 with the same result.
    Have other Acrobat Pro Users experienced the same problem?  Is there a fix? 

    I have uploaded the files and shared them.  These are the links
    Grade 11 Maths Standardisation Project Paper 2 2013.doc
    https://files.acrobat.com/preview/9694310d-ca7f-4919-883d-c53b36215d89
    Grade 11 Maths Standardisation Project Paper 2 Analysis Grid 2013.doc
    https://files.acrobat.com/preview/97da9e5f-d412-4d25-9bbc-d1a525d90826
    Grade 11 Maths Standardisation Project Paper 2 Diagram Sheet 2013.doc
    https://files.acrobat.com/preview/f50dd62e-af04-4060-85c5-fa81ce6803d8
    Grade 11 Maths Standardisation Project Paper 2 Formula Sheet 2013.doc
    https://files.acrobat.com/preview/7fc6007b-aaa6-4d65-9a8c-bf99818474a5
    Grade 11 Maths Standardisation Project Paper 2 Marking Guidelines 2013.doc
    https://files.acrobat.com/preview/b3a715bb-3683-48df-b0ec-3d17442275be
    Grade 11 Maths Standardisation Project Paper I Analysis Grid 2013.docx
    https://files.acrobat.com/preview/ab62e6b6-0261-434e-8a2f-382f74335685
    The first file is the problem file.  If you create this file separately, Acrobat will convert it perfectly.  But "Batch create multiple files" and the graphics are deconstructed on page 8

Maybe you are looking for

  • IOS 8 RAW Support - Photos Resized

    Can anyone else confirm this possible bug? Importing JPG+RAW files using the Camera Connector on iOS 8 resizes the RAW files to the exact same file size as the JPG. This ends up being about a 50% reduction in RAW file size. At this point I have no id

  • Use iMac as monitor for a PC laptop

    Can i use my iMac (2009) as a monitor for a Windows 7 Laptop?

  • Does HP G7-1368DX support SATA III ?

    Does HP G7-1368DX support SATA III ? This question was solved. View Solution.

  • In FCE can I use timecode to be displayed on the movie frame?

    Hi, I would like to know if FCE has the capability of displaying a timecode such as 00:00:00 om the frame or another words on the movie say in the right lower section of the picture? Also can it be set to zero at any point I choose to show a certain

  • Flex tree

    Hi. I have some problem with Flex tree component. When I have XML (1), then I have correct tree output folder -item -item But when I create something like(2) , then I will have folder XXX like item. How can I solve it ?