Dynamic Acceleo Project Plugin

I want to run an Acceleo Project from an Installed Plugin, i.e. I have written a plugin that uses Acceleo and I want it to run an Acceleo template from a project that is in the workspace.
Currently, I have an Acceleo project which I run from my Eclipse Plugin programmatically:
try {
final File outputDir = new File("C:/outputDir/");
List<String> arguments = new ArrayList<String>();
/*fc is an instance of a EMF Compare Comparison object
* the nsURI for it is http://www.eclipse.org/emf/compare
Generate generator = new Generate(fc, outputDir, arguments);
generator.doGenerate(new BasicMonitor());
} catch (IOException e) {
e.printStackTrace();
The template is simple at the moment:
[comment encoding = UTF-8 /]
[module generate('http://www.eclipse.org/emf/compare')]
[template public generateElement(comparison : Comparison)]
[comment @main/]
[file ('update.sql', false, 'UTF-8')]
/*SQL UPDATE SCRIPT TEST*/
[comparison.getDifferences().toString() /]
[/file]
[/template]
This generates perfectly.
The issue is that I need to deploy the plugin but I still need end users to be able to modify the templates. The end goal is to have the Acceleo project in the end users' workspace and let my plugin call it at runtime, but no matter how I set it up, I have to include the Acceleo project in my Plugin Feature.
Things I have attempted:
- Overriding the Acceleo Module from a project in the end users workspace
- Various attempts with java class loaders (I feel this is the way to go but I can't seem to get a working example)
I am running:
Eclipse Luna SR2 (4.4.2)
Windows 7 Pro - 64bit - SP1
Acceleo 3.5.1.201409021433
JRE 1.8.0_45
Thanks in advance for any help

http://qtip2.com
I ended up using a jQuery plugin for this instead. It is very well designed and flexible.

Similar Messages

  • Creating a Dynamic Web Project from existing source?

    I don't see this option in OEPE like there is in Workshop for Weblogic. All I can choose from is "Create Dynamic Web Project" which creates a new project from scratch, or "Create Java Project" which has an option in the wizard to import existing source.. however this makes it a vanilla Java project instead of a Dynamic web project.
    Did the concept of importing existing code into a project not cross anyone's minds when this plugin was developed? It's as if the expectation was that everyone would use this on their own private projects and there would be no collaborative/parallel development.
    What is the recommended way for creating a Dynamic Web project off of existing source code without stomping all over the existing web.xml weblogic.xml?

    There are many "import" scenarios, so let's break them down and lay out the support expectations:
    1. A java ee project created with base Eclipse using Web Tools Platform project types. This scenario includes both the case where the project creator had OEPE installed as well as the case where there was no OEPE installed. In this case, one should use the import existing projects wizard as the project being included already has metadata that can be read directly.
    2. A java ee project created with a non-Eclipse IDE or perhaps completely by hand with rudimentary tools such as notepad. Currently, the way this case is supported is by creating new projects and copying application source into them. Advanced users may be able to configure support in place, but we cannot support users with this approach as the possibility of corruption is high. We are currently working on a set of wizards that will help automate this case. These wizards will be available in the release of OEPE that's slated to ship around the end of 2009 or early 2010.
    3. A project created with BEA Workshop. This case is not supported as there are a number of technologies in Workshop that have been end-of-lifed (such as Apache Beehive). Users with Workshop applications should stay with Workshop until they are able to remove dependencies on end-of-lifed technologies. At that point moving to OEPE is recommended. Unofficially (this option is not supported but may work), advanced users may be able to migrate a Workshop app to OEPE, by stripping out all Workshop metadata (.project, .classpath, .settings, etc.) and by pretending that this is scenario #2 (import of a non-Eclipse application). Don't try this if your application still have dependencies on end-of-lifed technologies.
    - Konstantin

  • Dynamic web project link absent in Eclipse Junos

    I cant see the option of Dynamic web project link in Eclipse Junos.
    From where i can download the plugin for the same.

    Hi,
    while your question is not necessarily a Java related question, if you downloaded the Eclipse Juno J2EE you should have the option in File->New->DynamicWebProject.
    All the best !

  • Data Palette not showing Managed Beans for Dynamic Web Project, JSF 2.1

    Hello.
    I have a problem in OEPE (oepe-juno-distro-win32.zip), where the Data tab in Palette shows no Managed Beans,
    even if I created them in the ManagedBeans in faces-config.xml using the Faces Config Editor.
    I have created a Dynamic Web Project with these Facets:
    Dynamic Web Module 3.0
    Java 1.7 (JDK 1.7_21)
    Java Annotation Processing Support 5.0
    JavaScript 1.0
    JavaServer Faces 2.1
    JSTL 1.2
    Oracle WebLogic Web App Extensions 12.1.1
    I am using Oracle WebLogic Server 12c 12.1.1 zip distribution for hosting the application.
    For example, I have a UserBean Managed Bean of Session scope, that has 3 String fields
    and the respective getters and setters.
    I create a "test.jspx" file, and from the Palette -> Tags tab -> JSF HTML I drag a Form into
    the new file so I can connect it to UserBean and generate a form to enter its details.
    I select the "Generate a form tag and content from data" and in the Choose Bean dialog
    there is none of my Beans.
    What could be the problem?
    Thanks in advance.
    Edited by: 997841 on Apr 30, 2013 6:09 PM
    I forgot to mention the Oracle WebLogic Web App Extensions version 12.1.1 and that also
    for JSF 2.1 the "sub-directory" Faces Configuration below the project in Project Explorer is not
    existent, as in projects created with earlier versions of JSF.

    Yes, they are both listed under the WebLogic System Libraries.
    This is the content of .classpath file when using WebLogic System Library:
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
         <classpathentry kind="src" path="src"/>
         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Oracle WebLogic Server 12c (12.1.1) JRE">
              <attributes>
                   <attribute name="owner.project.facets" value="java"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="src" path=".apt_src">
              <attributes>
                   <attribute name="optional" value="true"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.system">
              <attributes>
                   <attribute name="owner.project.facets" value="jst.web"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
         <classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.shared/jstl/exact/1.2"/>
         <classpathentry kind="output" path="build/classes"/>
    </classpath>
    And this is the content when using User Library with Mojarra:
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
         <classpathentry kind="src" path="src"/>
         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Oracle WebLogic Server 12c (12.1.1) JRE">
              <attributes>
                   <attribute name="owner.project.facets" value="java"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="src" path=".apt_src">
              <attributes>
                   <attribute name="optional" value="true"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.system">
              <attributes>
                   <attribute name="owner.project.facets" value="jst.web"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
         <classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.shared/jstl/exact/1.2"/>
         <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/JSF 2.1 (Mojarra 2.1.6-FCS)">
              <attributes>
                   <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
                   <attribute name="owner.project.facets" value="jst.jsf"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="output" path="build/classes"/>
    </classpath>

  • [Acceleo] Random Plugin Errors

    I am getting errors such as:
    An internal error occurred during: "Acceleo".
    Errors running builder 'Acceleo Builder' on project '<Acceleo Project Here>'.
    Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
    All with this exact stack trace:
    Quote:
    java.lang.IllegalArgumentException: The feature 'iff' is not a valid feature
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eStructuralFeature(BasicEObjectImpl.java:733)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eObjectForURIFragmentSegment(BasicEObjectImpl.java:551)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.getEObject(ResourceImpl.java:766)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.getEObject(ResourceImpl.java:742)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setValueFromId(XMLHandler.java:2850)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setAttribValue(XMLHandler.java:2755)
    at org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler.handleObjectAttribs(SAXXMIHandler.java:79)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFactory(XMLHandler.java:2229)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFeatureType(XMLHandler.java:2195)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:2071)
    at org.eclipse.emf.ecore.xmi.impl.XMIHandler.createObject(XMIHandler.java:128)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1876)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1030)
    at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:81)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1008)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:719)
    at org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHandler.java:163)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
    at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:175)
    at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:261)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1297)
    at org.eclipse.acceleo.common.internal.utils.AcceleoPackageRegistry.registerEcorePackages(AcceleoPackageRegistry.java:309)
    at org.eclipse.acceleo.internal.ide.ui.builders.AcceleoBuilder.build(AcceleoBuilder.java:154)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:401)
    at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
    at org.eclipse.core.internal.resources.Project.build(Project.java:114)
    at org.eclipse.debug.core.model.LaunchConfigurationDelegate$1.run(LaunchConfigurationDelegate.java:430)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
    at org.eclipse.debug.core.model.LaunchConfigurationDelegate.buildProjects(LaunchConfigurationDelegate.java:437)
    at org.eclipse.debug.core.model.LaunchConfigurationDelegate.buildForLaunch(LaunchConfigurationDelegate.java:130)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    It is happening when I, Try to make a new Acceleo Project, Try to open a *.mtl file, Try to build a project, or pretty much any other task to do with Acceleo.
    It doesn't happen all the time, restarting eclipse seems to fix it for a bit, but once one error comes I have to restart if I want to work with Acceleo.
    I have tried reinstalling Acceleo but it didn't fix it.
    Any help would be much appreciated

    Hi
    If "*iff", where * is a single letter makes sense as the name of a
    feature, you have a problem that has been reported a few times before.
    Solution, clean/rebuild/restart a few times. Make sure your Java
    versions are consisten. Use ASCII rtaher than binary for your *.mtl files.
    Regards
    Ed Willink
    On 21/07/2015 03:46, Samuel Windall wrote:
    > I am getting errors such as:
    >
    > An internal error occurred during: "Acceleo".
    > Errors running builder 'Acceleo Builder' on project '<Acceleo Project
    > Here>'.
    > Problems occurred when invoking code from plug-in:
    > "org.eclipse.core.resources".
    >
    > All with this exact stack trace:
    > Quote:
    >> java.lang.IllegalArgumentException: The feature 'iff' is not a valid
    >> feature
    >> at
    >> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eStructuralFeature(BasicEObjectImpl.java:733)
    >>
    >> at
    >> org.eclipse.emf.ecore.impl.BasicEObjectImpl.eObjectForURIFragmentSegment(BasicEObjectImpl.java:551)
    >>
    >> at
    >> org.eclipse.emf.ecore.resource.impl.ResourceImpl.getEObject(ResourceImpl.java:766)
    >>
    >> at
    >> org.eclipse.emf.ecore.resource.impl.ResourceImpl.getEObject(ResourceImpl.java:742)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMLHandler.setValueFromId(XMLHandler.java:2850)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMLHandler.setAttribValue(XMLHandler.java:2755)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler.handleObjectAttribs(SAXXMIHandler.java:79)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFactory(XMLHandler.java:2229)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFeatureType(XMLHandler.java:2195)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:2071)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMIHandler.createObject(XMIHandler.java:128)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1876)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1030)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:81)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1008)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:719)
    >>
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHandler.java:163)
    >>
    >> at
    >> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
    >> Source)
    >> at
    >> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
    >> Source)
    >> at
    >> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
    >> Source)
    >> at
    >> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
    >> Source)
    >> at
    >> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
    >> Source)
    >> at
    >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
    >> Source)
    >> at
    >> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
    >> Source)
    >> at
    >> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
    >> Source)
    >> at
    >> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
    >> Source)
    >> at
    >> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
    >> Source)
    >> at
    >> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown
    >> Source)
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:175)
    >> at
    >> org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:261)
    >>
    >> at
    >> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
    >>
    >> at
    >> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1297)
    >>
    >> at
    >> org.eclipse.acceleo.common.internal.utils.AcceleoPackageRegistry.registerEcorePackages(AcceleoPackageRegistry.java:309)
    >>
    >> at
    >> org.eclipse.acceleo.internal.ide.ui.builders.AcceleoBuilder.build(AcceleoBuilder.java:154)
    >>
    >> at
    >> org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
    >>
    >> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    >> at
    >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
    >>
    >> at
    >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
    >>
    >> at
    >> org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
    >>
    >> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    >> at
    >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
    >>
    >> at
    >> org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
    >>
    >> at
    >> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:401)
    >>
    >> at
    >> org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
    >> at
    >> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    >> at
    >> org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
    >>
    >> at
    >> org.eclipse.core.internal.resources.Project.build(Project.java:114)
    >> at
    >> org.eclipse.debug.core.model.LaunchConfigurationDelegate$1.run(LaunchConfigurationDelegate.java:430)
    >>
    >> at
    >> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    >> at
    >> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
    >> at
    >> org.eclipse.debug.core.model.LaunchConfigurationDelegate.buildProjects(LaunchConfigurationDelegate.java:437)
    >>
    >> at
    >> org.eclipse.debug.core.model.LaunchConfigurationDelegate.buildForLaunch(LaunchConfigurationDelegate.java:130)
    >>
    >> at
    >> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
    >>
    >> at
    >> org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
    >>
    >> at
    >> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
    >>
    >> at
    >> org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
    >>
    >> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    >
    > It is happening when I, Try to make a new Acceleo Project, Try to open a
    > *.mtl file, Try to build a project, or pretty much any other task to do
    > with Acceleo.
    >
    > It doesn't happen all the time, restarting eclipse seems to fix it for a
    > bit, but once one error comes I have to restart if I want to work with
    > Acceleo.
    >
    > I have tried reinstalling Acceleo but it didn't fix it.
    >
    > Any help would be much appreciated :)

  • Dynamic Web Project Errors

    Hi
    im developing a dynamic web project in eclipse. i have some java classes that access a database and they get the database url,database driver and server from an inf file. Ive written a simple class that tests this and it works fine, it retrieves the data from the inf file, accesses the database and returns the data. The problem comes when i try and fit this in with some servlets and run it on apachi through eclipse. I have a html login page, when user presses submit it sends data to a servlet which then calls the database access methods in the java classes and depending on if the input matches the database forward user to a successful/unsuccessful login page. Now this works fine when i manually enter the url,driver etc into the code but when i try it using the inf file i get errors. Do i need to place the inf file in a particular directory e.g. WEB-INF so that it can be accessed when it is run on the server?
    Thanks
    David

    Did you put in debugging/logging statements to confirm that the values you're retrieving from the file are correct?

  • Dynamic Web Project

    Hi all.
    I'm setting up my first Dynamic Web Project in eclipse and wondering what structure the project should have?
    I am currently think of the below structure, is this ok? What are the recomended project structures for a web project?
    ++ +Root
    ++ test+<br / + WebContent
    ++ Meta-Inf+
    + Web-Inf
    + lib
    + classes
    + jsp
    ++ scripts+
    + styles
    Thanks in advance for your help.
    Edited by: stevegc on Aug 18, 2009 4:22 PM
    Edited by: stevegc on Aug 18, 2009 4:25 PM

    Hi,
    while your question is not necessarily a Java related question, if you downloaded the Eclipse Juno J2EE you should have the option in File->New->DynamicWebProject.
    All the best !

  • Creating dynamic web project in flash builder 4

    Hi,
         How to create dynamic web project (java) in flash builder 4 ?when I navigate Help->Software Updates,I am getting No Updates Found(There are no update sites to search.Do you wish to open the "Available Software Sites" preferences?)
    Please let me know if any one knows how to create dynamic java web project.
    -sasi

    I have same problem.  Why are the update sites URLs not hardcoded?

  • Dynamic Documents missing plugin

    Hello,
    I tried to open an InCopy today and recieved an error that I was missing a plugin called "Dynamic Documents.InDesignPlugin." I checked in my plugin folder and sure enough it was still in the "Graphics" folder. What does this plugin control? Is there a PDF of what each needed Plugin controls? I'd love to have that.
    The document won't open. What could this mean?
    Rob

    I'm having the exact same problem and it has nothing to do with trying to open a file created with a newer version of Indesign. It happens the moment I try to launch InDesign and it started immediately following Adobe Updates. So it is not a "version conflict," it was caused by running an Adobe Update. Rather than "moving this discussion to the InDesign forum," which I can't find (and why do the breadcrumbs at the top list "All Communities > InDesign > Discussions" if this isn't the InDesign forum?), how about actually thinking about answering the question?

  • Correct way to start dynamic link project with PPro

    I tried and failed to correctly initiate an After Effects project using dynamic link to a PPro project (this is the Production Premium CS5 package I'm talking about here). I could see and edit the PPro project in AE, but couldn't see the AE changes in PPro.
    In CS4 and below, dynamic links were one way streets, so this behavior would be expected. Supposedly, in CS5 and above, dynamic links are two way streets, so I should be able to move back and forth between applications seemlessly. More or less. At least without having to render. Yes?
    So... how do I actually do it? Darned if I can figure it out from endless days of reading the manuals and looking for tutorials to explain it.
    What I'm wanting to do, in the end, is to do my edits in PPro, then move to AE to color grade and add motion graphics (like lower thirds, maybe some titles). Depending on the needs/desires of customers, I might have to re-edit and re-correct several times (iteratively). So I want to learn how to make interative editing/effects with PPro/AE work as Adobe seems to think it should -- a two way street.
    How do I do that? What are the steps in PPro, and in AE, and in what order?

    There are a three of ways you can do this.
    1. Right click on a selected clip or group of clips and select "Replace with an After Effects Composition"
    AE will open up and ask you for a name for the composition. Make sure that you put the AE project in a folder that's related to your Premiere project so that it can be found easily and so that it can be archived. Make sure that you save the composition. You will then see the composition in the Project window in PPro but it will have the default Untitled Linked Composition 01 name. You can change the name if you like but it's not necessary.
    Now everything you do in AE will show up immediately in PPro. Rendering of the project will take place in PPro using the sequence settings or the Media encoder settings.
    2. Go to File>Dynamic Link>New After Effects composition
    If you have AE open with a current project it will add a new untitled comp to AE. You can set the comp settings to anything you like, add any footage you like, and then go back to PPro and drag the new composition to the timeline and treat it as any other footage. Once again, everything you do in AE will show up in PPro.
    3. Go to File>Dynamic Link>Import After Effects composition
    You will be taken to a window that will allow you to pick your .aep file in the left side and then pick the composition in the right side of the UI.
    That should get you started. As long as you have the system resources to handle running both apps this is a very efficient way to work. The biggest danger is that you'll forget to save the project, exit, and loose a bunch of work.

  • Need .exp file for Dynamic Subprocess project

    Dan ,
    I'm looking in to you project Dynamic Subprocess in 4 shared.com (http://www.4shared.com/get/G4DmkQ8G/Dynamic_Subprocess_Lesson_10gR.html) , can you please let me know the link , where i can download the .exp file for Dynamic Subprocess

    You'll need to spend some money to convert the WMP file to a format iMovie can use:
    http://www.telestream.net/flip4mac/overview.htm
    The $29 version will do what you need.

  • Dynamic loading a plugin

    Ok, here's a doozie of a question:
    I have a bunch of plugins in a namespace with a similar name to the following:
    org.myApp.common.extensions
    I can load them just fine using Class.forName within the library I'm writing, but when I reference the library in another project, it won't detect the plugins (the plugin loading code is also within the same library as the extensions.
    I also tried building a Jar file to hold the library, but it does the same thing.
    I'm using Eclipse as my development environment too.
    Any suggestions on how to get it to load the plugin from within the Jar, when the loading code is also in the same jar?

    Sorry, I should have clarified. I'm developing plugins for a custom application, not Eclipse.
    The common interface was the first thing I sat up, and it works if I use class.forName. But, if I put the plugins are put into a JAR file, I don't know how to get a list of what is contained in the package. And if I don't know what the filenames are at runtime, how will I be able to load the plugins?
    I also checked the manifest file created by Eclipse when I created the JAR...it's empty.
    Also, the user won't be able to have the ability to install additional plugins. This is because I'm the only one developing the plugins, and I can just distribute a new JAR file if I create a new plugin.
    This is something that is easily done on the .NET Framework, but since I had to switch to Java, I have to learn how to do it Sun's way. :-p

  • Openeining AE PPro Dynamic Link Projects on PPro only systems

    Hi All...
    We have a combination of systems.
    Some systems include AE and PPro, some are PPro only.
    We have had some instances of Project corruption when attempting to open Projects that include AE dynamic link files on systems that do not have AE installed.
    Is it possible to configure a PPro only system with the Watch folder (and hence the rendering engine of AE) so that it can open these projects if simple non AE changes have to be made?
    Thanks,
    Alex
    editor
    Youniversity TV
    www.youniversitytv.com

    DL only works on systems with the Suite installed.

  • Encore not re-transcoding changed dynamic link projects

    Although I'm pretty fluent with CS products, I'm new to video editing so I apologize if this is a newbie question.  I currently have an Encore CS5 (Mac) project that dynamic-links several sequences in several Premiere Pro CS5 files.  My project is encoding to 4.72 gigs and I need to fit it onto a DVD-5.  In an effort to trim down the file size, I've shortened the credits on several of the movies, but no matter what I do, Encore doesn't update the movies.  I have to remove the Premiere and timeline assets from the project panel and re-insert them.  Even right-clicking the asset in the project panel and clicking "transcode" doesn't do the trick.  I only have one version of these projects (so it's impossible that I've added the wrong Premiere Pro file).  I know I can always turn down the maximum bit rate, but I was trying to keep the project at maximum quality.  What am I missing here?  Thanks for the help!

    I have to remove the Premiere and timeline assets from the project  panel and re-insert them.  Even right-clicking the asset in the project  panel and clicking "transcode" doesn't do the trick.
    Doing the transcode now option won't fix anything. Until Encore can break the previous tie with the original sequence, nothing will change..This is where the mystery of Dynamic Link needs an answer..
    If you can delete the assets from the timeline, and re-drag the linked sequence down to the timeline, then this would be ideal. Assuming of course the new link is respected. But i take it that Encore isn't respecting an updated sequence??
    This would be the first step in resolving the issue IMHO...

  • Dynamic documents indesign plugin

    i am getting this error:
    Cannot load Adobe InDesign CC 2014 because it requires version 10.1 or later of the Dynamic Documents.InDesignPlugin plug-in. Please contact vendor for compatible version of Dynamic Documents.InDesignPlugin.
    i have reinstalled indesign , applied updates… still not working
    how do i fix?

    I'm having the exact same problem and it has nothing to do with trying to open a file created with a newer version of Indesign. It happens the moment I try to launch InDesign and it started immediately following Adobe Updates. So it is not a "version conflict," it was caused by running an Adobe Update. Rather than "moving this discussion to the InDesign forum," which I can't find (and why do the breadcrumbs at the top list "All Communities > InDesign > Discussions" if this isn't the InDesign forum?), how about actually thinking about answering the question?

Maybe you are looking for

  • The wait operation time out

    Dear all, I am facing one problem with my user pc "The wait operation time out" ERROR=  Aconnection was successfully established with the server. but then an error occurred during the pre-loging handshake. (provided , SSL providing error-0 , The wait

  • Creating a Travel Diary Logger

    Well this is not exactly the title of the program but basically, what I'm trying to do is to create a journal of a person that informs the frequency of his movements from one place to another. The frequency is decided randomly or user-defined. His mo

  • Windows 2008 R2 RDS & HP P1505

    We run a Win 2008 R2 remote desktop server and are having some trouble with our P1505's.  - MS' EasyPrint feature works fine for small print jobs but on larger print jobs can balloon jobs into 30MB+ for 6 pages if there are graphics.  - There are no

  • Multi approval process

    Hi Idm gurus, I have a requirement in whcih I have 3 approver to create a user. If any 2 approver is approving I need to go ahead and create user in resources. Can some one guide me how to achieve it? Thx

  • HT1338 Tried to download the OS X ML upgrade - getting: The product distribution file could not be verified. It may be damaged or was not signed.

    I am running Lion 10.7.4. Tried to download the OS X Mountain Lion upgrade in my App Store - getting: The product distribution file could not be verified. It may be damaged or was not signed. Any ideas?