Manifest problem in compiling through ant (csc)

Hi All,
I have been trying to compile reports in Dot Net 2003 using ant script (by calling csc). But after compilation, when I try to see any report, I get the message - Unable to find the report in the manifest resources...-. I checked the generted DLL through ildasm.exe and found that the manifest does not have complete path with the rpt file as a namespace, where as the corresponding .cs file has complete path as namespace. For example, if report is present under:
Project - Sales
Folder - SalesReports
Sub Folder - reports
Report (present under sub folder) - SalesTrack.rpt
then the namespace for .cs file is SalesReport.reports, but for the report file, it is just SalesTrack.rpt. But if the same report is compiled in DotNet studio, then the namespace is properly attached as SalesReports.reports.
Is there any way to attach SalesReports.reports with the report name?
Regards,
Manish

try copying the Csc.exe command line from the Output window when building in the IDE to see what you may be missing.

Similar Messages

  • Problem in compiling with ant?

    Hi,
    I have problem with compiling using ant ..i have build file...and properly place directories.......
    C:/>ant build
    It's giving an error as "Exception in thread "main" java.lang.NoClassDefFoundError: build"
    can any one help me to solve this problem

    Cross-Post:
    http://forum.java.sun.com/thread.jspa?threadID=589924&tstart=0

  • Deploying bpel processes through ant

    Hi all I have to deploy bpel through ant for this I am following below steps.
    1) SET ANT_HOME to C:\jdev\ant
    2) copied the followong jar files into ant home library orabpel.jar,orabpel-ant.jar, orabpel-boot.jar, orabpel-boot.jar,orabpel-exts.jar,orabpel-thirdparty.jar,oracle_http_client.jar,xmlparserv2.jar,orawsdl.jar
    Below is my buil.xml
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="bpel.deploy" default="deployTaskForm" basedir="." xmlns:oracle="antlib:oracle">
    <target name="deployProcess">
    <deployProcess
    user="${admin.user}" password="${admin.password}"
    domain="${domain}" process="${process1.name}"
    rev="${rev}" dir="${process.dir}/output"
    hostname="${http.hostname}" httpport="${http.port}"
    verbose="${verbose}"
    />
    </target>
    <target name="deployTaskForm" depends="deployProcess">
    <deployTaskForm
    platform="${platform}" dir="${process.dir}/public_html"
    domain="${domain}" process="${process.name}" rev="${rev}"
    user="${admin.user}" password="${admin.password}"
    hostname="${j2ee.hostname}" cluster="${cluster}"
    rmiport="${rmi.port}" opmnrequestport="${opmn.requestport}"
    oc4jinstancename="${oc4jinstancename}"
    asinstancename="${asinstancename}" verbose="${verbose}"
    />
    </target>
    </project>
    I am getting an error
    C:\Documents and Settings\254876>cd C:\Documents and Settings\254876\Desktop\BPEL_ANT
    C:\Documents and Settings\254876\Desktop\BPEL_ANT>ant
    Buildfile: build.xml
    deployProcess:
    BUILD FAILED
    C:\Documents and Settings\254876\Desktop\BPEL_ANT\build.xml:36: Could not create
    task or type of type: deployProcess.
    Ant could not find the task or a class this task relies upon.
    This is common and has a number of causes; the usual
    solutions are to read the manual pages then download and
    install needed JAR files, or fix the build file:
    - You have misspelt 'deployProcess'.
    Fix: check your spelling.
    - The task needs an external JAR file to execute
    and this is not found at the right place in the classpath.
    Fix: check the documentation for dependencies.
    Fix: declare the task.
    - The task is an Ant optional task and the JAR file and/or libraries
    implementing the functionality were not found at the time you
    yourself built your installation of Ant from the Ant sources.
    Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
    task and make sure it contains more than merely a META-INF/MANIFEST.MF.
    If all it contains is the manifest, then rebuild Ant with the needed
    libraries present in ${ant.home}/lib/optional/ , or alternatively,
    download a pre-built release version from apache.org
    - The build file was written for a later version of Ant
    Fix: upgrade to at least the latest release version of Ant
    - The task is not an Ant core or optional task
    and needs to be declared using <taskdef>.
    - You are attempting to use a task defined using
    <presetdef> or <macrodef> but have spelt wrong or not
    defined it at the point of use
    Remember that for JAR files to be visible to Ant tasks implemented
    in ANT_HOME/lib, the files must be in the same directory or on the
    classpath
    Please neither file bug reports on this problem, nor email the
    Ant mailing lists, until all of these causes have been explored,
    as this is not an Ant bug.
    Total time: 0 seconds
    C:\Documents and Settings\254876\Desktop\BPEL_ANT>

    Please cross check your ant-orabpel.xml in bpel\utilities with mine ::
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="ant-orabpel">
    <import file="ant-deployapps.xml"/> <!-- for applications(EJB, JSP) -->
    <path id="orabpel.tasks.class.path">
    <pathelement location="${bpel.home}/lib/orabpel-ant.jar"/>
    <pathelement location="${bpel.home}/lib/orabpel.jar"/>
    <pathelement location="${bpel.home}/lib/orabpel-thirdparty.jar"/>
    <pathelement location="${bpel.home}/lib/orabpel-common.jar"/>
    <pathelement location="${bpel.home}/lib/orabpel-exts.jar"/>
    <pathelement location="${bpel.home}/lib/xmlparserv2.jar"/>
    <pathelement location="${bpel.home}/lib/orawsdl.jar"/>
    <pathelement location="${bpel.home}/lib/connector15.jar"/>
         <!-- used by deployRemote -->
         <pathelement location="${bpel.home}/lib/oracle_http_client.jar"/>
         <!-- used by deployTaskForm -->
         <pathelement location="${bpel.home}/system/appserver/oc4j/j2ee/home/lib/oc4j-internal.jar"/>
         <!-- used by validateTask to load WorkflowTaskDefinition.xsd-->
         <pathelement location="${bpel.home}/system/services/schema"/>
    </path>
    <property name="orabpel.tasks.class.path" refid="orabpel.tasks.class.path"/>
    <taskdef resource="com/collaxa/cube/ant/orabpel-antlib.xml" loaderRef="orabpel.tasks.ClassLoader">
    <classpath>
    <pathelement path="${orabpel.tasks.class.path}"/>
    </classpath>
    </taskdef>
    </project>

  • Problem in compiling j2me file

    Hello friends,
    friends my problem in compiling j2me file..
    when i compile my j2me file through WTK2.2 (toolkit)
    then it creates extra file including j2me" .class" file..
    for example if my j2me file is "aman.java" and when i compile it
    then it will covert into "aman.class" file but it creates one more file like "aman1$.class" ..plz help me to get out of this problem..coz its increase my j2me file size..
    thanks
    Aman

    That is an inner class in aman.java that you are seeing there.
    If you use inner anonymous classes, for example;
    public class MyMIDlet extends MIDlet {
       // code for the MIDlet
       // Anonymous inner class
       setCommandListener(new CommandListener() {
          public void commandAction(Command c, Displayable d) {
            // implementation;
            // may access MyMIDlet's private fields
    }then the command listener you create will become another class named MyMIDlet$1.class.
    In this example you can get rid of the inner class by making one of the existing classes implement that CommandListener interface:
    public class MyMIDlet extends MIDlet implmements CommandListener {
       public void commandAction(Command c, Displayable d) {
         // implementation;
         // may access MyMIDlet's private fields
       // code for the MIDlet
       // Instead of the anonymous inner class, we can now use MyMIDlet since it
       // implements CommandListener
       setCommandListener(this);
       // etc. etc. etc.
    }shmoove

  • I plugged in my brand new nano to my husbands desktop to get it registered, but had a problem mid way through when I tried to used an apple login that already existed.  Now it's not registered and the computer won't recognize my device.  How do I fix this

    I plugged in my brand new nano to my husbands desktop to get it registered, but had a problem mid way through when I tried to used an apple login that already existed.  Now it's not registered and the computer won't recognize my device.  How do I fix this?

    iPod not recognized in 'My Computer' and in iTunes for Windows
    Call U.S. iPod and Mac technical support: 1-800-APL-CARE (1-800-275-2273) to register your iPod Nano.

  • HT4623 Hi,        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be ac

    Hi,
        There was ios 4.1 in my iphone3gs.i have tried to update it through itunes but there is a problem.After installation through itunes,there is problem that it is not activating my iphone and shows a message that your iphone could not be activated because the activation server is temporarily unavailable,try connecting your iphone to itunes to activate it,or try again in a couple of minutes.i tried many times but it again shows the same message,
    after installation,when i connect my iphone to itunes it shows a message that we are unable to activate your iphone at this time please try again or contact customer care.please reply me urgently to resolve this problem.

    That is usually a symptom thet the phone was hacked or jailbroken. Was it?

  • Problem while printing through citrix

    Dear Gurus ,
    We are facing the problem during printing through citrix .
    When we print locally without using citrix  were able to get the proper print as it displayed in the spool .
    But When we try to take the printout of  document having say 12 colum , only 10 colums r coming asthe print out .
    Please suggest as the views on this issue are valuable
    Thanks in advance .
    Chirag Kohli .

    Hi
    I am facing same problem
    Please let me know if you get any solution
    Thanks
    Rakesh Patel
    [email protected]

  • Problem with compilation of HelloWorld.java

    hi,
    getting problem with compilation of HelloWorld.java
    CLASSPATH--- C:\java
    PATH--- C:\j2sdk1.4.2_04\bin
    HelloWorld.java source code in: C:\java
    On cmd prompt:
    C:\java>javac HelloWorld.java
    error: cannot read: HelloWorld.java
    1 error
    pls help me with this
    rgds,
    sanlearns

    What does this command yield?
    dir HelloWorld.java

  • Having a problem when scrolling through one clip: a different clip scrolls through point and time simultaneously. Can you please assist us?

    Having a problem when scrolling through one clip: a different clip scrolls through point and time simultaneously. Can you please assist us?

    First question: this is a Captivate forum, are you sure that you have a Captivate problem (with cpvc or an imported video)?

  • Problem with "Pass Through Chapters" Theme

    I was searching old post to get some help and this one help a little but there was still one problem unanswered. I have highlighted in red;
    Nov 14, 2008 3:41 PM Re: Pass Through Theme problem
    Re: Pass Through Theme problemin response to Glo H
    My smaller text which appears in white says Scenes 1-6. The pass through text which is larger and has a different image in it says "Pass Through Chapters" and it rolls by while the smaller text stays put. I notice the image that shows through the pass through text is the same image I set on the main DVD screen. On that one my name of my disc roll past in giant see through letters. I like that but I just don't want that same effect on my chapters screens.
    Can the image behind the rolling text be changed to the current window and not the main menu image?

    Thanks for the tip and figured out to delete my "Scenes 1-6" that was automatically created when, in iMovie, I shared the movie to iDVD with chapters. The menu title text block doesn't like cut/paste and I had to retype the "Scenes 1-6" text for the motion/peek-through scrolling text to refresh.
    Hmmm, but how tricky is that and where is it mentioned in the help/faq files etc?
    cheers

  • Problems to compile a servlet

    Hi, i have a problem to compile a servlet, i will try to explain my problem easily...
    i have a JavaBena class int he directory.....C:\Programmi\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\classes......and i have compiled it by DOS commands, everyhting has gone well!
    i have a Servlet class in the same directory where it situated the JavaBean. i compile the Servlet as well as i have done with the Javabean, by DOS commans, including the Tomcat servlet api.
    this is the command which i use to compile the servlet.......javac ServletRegistraUtente.java -classpath "C:\Programmi\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar".....
    but everything i get this error...
    C:\Programmi\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\classes>javac ServletRicercaUtente
    .java -classpath "C:\Programmi\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar"
    ServletRicercaUtente.java:20: cannot find symbol
    symbol : class BeanRicercaUtente
    location: class ServletRicercaUtente
    ^
    ServletRicercaUtente.java:20: cannot find symbol
    symbol : class BeanRicercaUtente
    location: class ServletRicercaUtente
    BeanRicercaUtente m_BeanRicercaUtente = new BeanRicercaUtente();
    ^
    2 errors
    C:\Programmi\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\classes>
    these are the 2 classes....
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;
    import JavaBean.BeanRicercaUtente;
    public class ServletRicercaUtente extends HttpServlet
         public void doPost(HttpServletRequest request, HttpServletResponse response)
         throws IOException, ServletException
              ServletContext sc;
              RequestDispatcher rd;
              try
                   BeanRicercaUtente m_BeanRicercaUtente = new BeanRicercaUtente();
                   request.setAttribute("m_BeanRicercaUtente", m_BeanRicercaUtente);
                   String codiceFiscale = request.getParameter("codice");
                   m_BeanRicercaUtente.effettuaRicerca(codiceFiscale);
                   sc = getServletContext();
                   rd = sc.getRequestDispatcher("/risposta.jsp");
                   rd.forward(request, response);
              catch(Throwable theException){}
    import java.sql.*;
    public class BeanRicercaUtente
         String nome, cognome, indirizzo, telefono;
         public void effettuaRicerca(String codiceFiscale)
              try
                   Class.forName("com.mysql.jdbc.Driver");
                   String url = "jdbc:mysql://.................";
                   Connection con = DriverManager.getConnection(url);
                   Statement cmd = con.createStatement();
                   String qry = "SELECT ..................";
                   ResultSet res = cmd.executeQuery(qry);
                   while (res.next())
                        cognome = res.getString(1);
                        nome = res.getString(2);
                        indirizzo = res.getString(3);
                        telefono = res.getString(4);
                   res.close();
                   cmd.close();
                   con.close();
              catch (SQLException e)
                   e.printStackTrace();
              catch (ClassNotFoundException e)
                   e.printStackTrace();
    i would be glad to get help about it...! :) thanks!

    i am sorry, but in the first class i have not written "import JavaBean.BeanRicercaUtente;"
    i have only these imports...
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;

  • Silly problem when compiling main class

    hi there,
    i have a problem when compiling the main class.
    the classes used by the main class are not recognized. the compiler can't locate the children classes.
    i've already set the path and classpath environment variables, but there's still something missing.
    how should i organize my folders in order to be able to compile the main class successfully, please?
    thanks.

    It would be good to have a precise problem description: the actual command used, folder structure and environment variable settings. Even if you have to construct a simple test case with a couple of classes that illustrates the problem.
    In the absence of that some generic remarks:
    The PATH variable typically points at all the folders that contain executable files that you use often. You can always access other executable files by specifying there full names.
    The CLASSPATH variable is typically left unset.
    When you use the java tools (like the javac compiler or the java runtime) you can specify the classpath that you want to use with -cp. This will override any CLASSPATH value. So in the simple case of two classes (Main and MyClass), you can put them in anywhere you like (for example C:\MyJavaStuff) and compile and run with:
    {noformat}
    C:\MyJavaStuff> javac -cp . *.java
    C:\MyJavaStuff> java -cp . Main
    {noformat}(Mind the dot after -cp))
    By a "main" class I guess you mean a class with a static void main(String args[]) method, but I am suspicious of your "child" classes. Perhaps packages are involved. A precise description of the problem would help.

  • How  to genearte Unit Test reports  through  ANT/Command  line ?

    Hi,
    I am using sql developer unit test feature to test my database code. I am planning to execute and generate reports by running ant script.
    Is it possible to get the unit test results in any format (text,XML,HTML) after running the tests.
    How to integrate report generation tasks as part of Automated builds?
    Is there any command line utility do through can invoke through ant task?
    Thanks,
    Fernando

    Fernando,
    I, too, am looking to run our PL/SQL unit test suites through our automated ant build scripts. Currently, I've only been able to determine that there is a "UtUtil.bat" and "UtUtil.sh" command line utility for win and linux in /sqldeveloper/sqldeveloper/bin. However, it only take three switches:
    UtUtil -run ?
    UtUtil -imp ?
    and
    UtUtil -exp ?
    While this does provide some limited value to us through automating the importing of our exported test suites and then running them as part of our builds, it doesn't help in running reports on the test runs and exporting the reports to something our build processes can consume (i.e. xml).
    Also, we want to be able to run our full db build on (almost) any of our development machines and we don't want to have to have a unit test repository already preconfigured on each development db. I haven't found a utility to automate the creation of the unit test repository user and the repository, and then whena all the test suite runs have finished and the reports run, delete the repository and repository user.
    We have used Quest's Code Tester product in the past and it had all of these great features that I am really hoping Oracle can either implement or expose to us.
    Regards and best of luck,
    Mike Sanchez

  • Problem doing SFTP through ISDN

    Hi,
    I have a problem doing SFTP through ISDN, ISDN connection is not staying active throughout the duration of the file transfer, it drops after its timeout value even if data transfer is in progress and file transfer break at that point, this happens with sftp transfer only, other type of connection like telnet, rdp works fine. Intresting traffic list I have define is,
    access-list 112 permit ip host 10.10.10.9 any. All the traffic is orignating from IP address 10.10.10.9
    Any suggestion on that.
    Thank you
    Yamin

    This is a fairly common issue with ISDN dialers. The disconnect may be initiated by either side of the connection.
    If you are certain that all is OK on your end, it may be the remote side that initiates the disconnect.
    regards,
    Leo

  • Problems placing compiled jsp in the right directory

    I have problems placing compiled jsp in the right directory.
              - My document root is weblogic/myserver/public_html
              - My jsp's are placed in weblogic/myserver/public_html/ram/jsp.
              - My folder for placing compiled jsp is in weblogic/myserver/compiled_jsp.
              - When weblogic compiles my jsp it places them in
              weblogic/myserver/compiled_jsp/jsp_servlet/_ram/_jsp
              Now I want to compile ram1.jsp and place it in above directory. I tried the
              following but it does not place class correct.
              1: java weblogic.jspc -d C:\weblogic\myserver\compiled_jsp ram1.jsp
              **** Places the class in weblogic/myserver/compiled_jsp/jsp_servlet
              2: java weblogic.jspc -d
              C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp ram1.jsp
              C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp\jsp_servlet\_ram1.cl
              ass
              What am I doing wrong ?
              cheers Per
              

              I would try this...
              cd public_html
              java weblogic.jspc -prefix compiled_jsp ram/jsp/ram1.jsp
              I'm not sure if -prefix is the exact option - something like that - maybe package_prefix.
              As always, things work better/easier when you leave things at the default value
              (jsp_servlet).
              Mike
              "Per Lovdinger" <[email protected]> wrote:
              >I have problems placing compiled jsp in the right directory.
              >
              >- My document root is weblogic/myserver/public_html
              >- My jsp's are placed in weblogic/myserver/public_html/ram/jsp.
              >- My folder for placing compiled jsp is in weblogic/myserver/compiled_jsp.
              >
              >- When weblogic compiles my jsp it places them in
              >weblogic/myserver/compiled_jsp/jsp_servlet/_ram/_jsp
              >
              >Now I want to compile ram1.jsp and place it in above directory. I tried
              >the
              >following but it does not place class correct.
              >
              >1: java weblogic.jspc -d C:\weblogic\myserver\compiled_jsp ram1.jsp
              >**** Places the class in weblogic/myserver/compiled_jsp/jsp_servlet
              >
              >2: java weblogic.jspc -d
              >C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp ram1.jsp
              >****
              >C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp\jsp_servlet\_ram1.cl
              >ass
              >
              >What am I doing wrong ?
              >
              >cheers Per
              >
              >
              

Maybe you are looking for

  • My apps will not open

    Not sure what happened but just this morning my phone is acting crazy. I tried opening one of my apps i have on my phone but it will not open for me. So i tried opening the others but nothing....what do i do??? please

  • Inserting new input record into the table through screen

    Hi, Example UserTable and PaymentTable UserTable - UserID - Primary Key PaymentTable - containg couple of fields and UserId is foreign Key. I designed the page for to insert the new input record using the steps given in the doc "http://download-uk.or

  • All Part1 entries have been cancelled for excise invoice 943 2010

    Dear Experts, User made mistake in MIGO,but we have already captured excise for the material.The PO is created for Project stock internal order(300425).User canceled MIGO and try to Post excise invoice,but system is giving the message all part1 entri

  • How Print a image in one shot?

    Right now I do: Right click, Save to desktop. then drag to preview and print. Anyway to just print that web image without all those steps? thanks.

  • Model object is not a complex type

    Hi all, when firing up the "execute()" method of an imported enterprise java bean, we see an "Model object is not a complex type" in our server logs. These special method expects a list of objects, which is the only difference to our other methods wh