Trouble Building FlexUnit 4
Hi all, I downloaded flexunit 4 from github and am trying to run "ant -v clean package" as it says to do in the build.xml file.
I am getting a failed build I believe with the following error:
BUILD FAILED
/Users/dave/Downloads/flexunit-flexunit-4.0.0-RC2-68-g91fcfdd/build.xml:57: The following error occurred while executing this line:
/Users/dave/Downloads/flexunit-flexunit-4.0.0-RC2-68-g91fcfdd/FlexUnit4/build.xml:125: taskdef class com.adobe.ac.pmd.ant.FlexPmdAntTask cannot be found
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: /Users/dave/Downloads/flexunit-flexunit-4.0.0-RC2-68-g91fcfdd/FlexUnit4/build.xml:125: taskdef class com.adobe.ac.pmd.ant.FlexPmdAntTask cannot be found
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:609)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:228)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
... 16 more
Caused by: java.lang.ClassNotFoundException: com.adobe.ac.pmd.ant.FlexPmdAntTask
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:583)
... 29 more
--- Nested Exception ---
/Users/dave/Downloads/flexunit-flexunit-4.0.0-RC2-68-g91fcfdd/FlexUnit4/build.xml:125: taskdef class com.adobe.ac.pmd.ant.FlexPmdAntTask cannot be found
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:609)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:228)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.adobe.ac.pmd.ant.FlexPmdAntTask
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:583)
... 29 more
--- Nested Exception ---
java.lang.ClassNotFoundException: com.adobe.ac.pmd.ant.FlexPmdAntTask
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:583)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:228)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:3 8)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 18 seconds
Thanks for any help!
Hey, I am trying to use ant to build the FlexUnit4Turnkey project, but currently I get this in the console:
dave@ares:~/Downloads/workspace$ ant anttasks
Buildfile: build.xml
anttasks:
init:
compile:
report:
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package org.flexunit.ant...
[javadoc] Loading source files for package org.flexunit.ant.launcher...
[javadoc] Loading source files for package org.flexunit.ant.launcher.commands...
[javadoc] Loading source files for package org.flexunit.ant.launcher.commands.headless...
[javadoc] Loading source files for package org.flexunit.ant.launcher.commands.player...
[javadoc] Loading source files for package org.flexunit.ant.launcher.platforms...
[javadoc] Loading source files for package org.flexunit.ant.report...
[javadoc] Loading source files for package org.flexunit.ant.tasks...
[javadoc] Constructing Javadoc information...
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/FlexUnitSocketThre ad.java:9: package org.dom4j does not exist
[javadoc] import org.dom4j.Document;
[javadoc] ^
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/FlexUnitSocketThre ad.java:10: package org.dom4j does not exist
[javadoc] import org.dom4j.DocumentException;
[javadoc] ^
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/FlexUnitSocketThre ad.java:11: package org.dom4j does not exist
[javadoc] import org.dom4j.DocumentHelper;
[javadoc] ^
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/report/Report.java :14: package org.dom4j does not exist
[javadoc] import org.dom4j.Document;
[javadoc] ^
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/report/Report.java :15: package org.dom4j does not exist
[javadoc] import org.dom4j.DocumentHelper;
[javadoc] ^
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/report/Report.java :16: package org.dom4j does not exist
[javadoc] import org.dom4j.Element;
[javadoc] ^
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/report/Report.java :17: package org.dom4j.io does not exist
[javadoc] import org.dom4j.io.OutputFormat;
[javadoc] ^
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/report/Report.java :18: package org.dom4j.io does not exist
[javadoc] import org.dom4j.io.XMLWriter;
[javadoc] ^
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/FlexUnitSocketThre ad.java:128: cannot find symbol
[javadoc] symbol : class Document
[javadoc] location: class org.flexunit.ant.FlexUnitSocketThread
[javadoc] private Document parseReport(String report)
[javadoc] ^
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/report/Report.java :54: cannot find symbol
[javadoc] symbol : class Document
[javadoc] location: class org.flexunit.ant.report.Report
[javadoc] private Document document;
[javadoc] ^
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/report/Report.java :83: cannot find symbol
[javadoc] symbol : class Document
[javadoc] location: class org.flexunit.ant.report.Report
[javadoc] public void addTest(Document test)
[javadoc] ^
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/report/Report.java :128: cannot find symbol
[javadoc] symbol : class Document
[javadoc] location: class org.flexunit.ant.report.Report
[javadoc] private void checkForStatus(Document test)
[javadoc] ^
[javadoc] Standard Doclet version 1.6.0_17
[javadoc] Building tree for all the packages and classes...
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/FlexUnitSocketThre ad.java:98: warning - @param argument "report" is not a parameter name.
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/tasks/FlexUnitTask .java:75: warning - @FlexUnitSocketServer is an unknown tag.
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/tasks/FlexUnitTask .java:75: warning - @FlexUnitSocketServer is an unknown tag.
[javadoc] /Users/dave/Downloads/workspace/FlexUnit4AntTasks/src/org/flexunit/ant/tasks/FlexUnitTask .java:75: warning - @FlexUnitSocketServer is an unknown tag.
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[javadoc] Generating /Users/dave/Downloads/workspace/FlexUnit4AntTasks/target/docs/stylesheet.css...
[javadoc] 16 warnings
package:
[unjar] Expanding: /Users/dave/Downloads/workspace/FlexUnit4AntTasks/lib/dom4j-1.6.1.jar into /Users/dave/Downloads/workspace/FlexUnit4AntTasks/target/bin
[unjar] Expanding: /Users/dave/Downloads/workspace/FlexUnit4AntTasks/lib/jaxen-1.1-beta-6.jar into /Users/dave/Downloads/workspace/FlexUnit4AntTasks/target/bin
BUILD SUCCESSFUL
Total time: 4 seconds
The build certainly isnt successful, as if I then try to ant core it dies with the following error:
BUILD FAILED
/Users/dave/Downloads/workspace/build.xml:57: The following error occurred while executing this line:
/Users/dave/Downloads/workspace/FlexUnit4/build.xml:125: taskdef class com.adobe.ac.pmd.ant.FlexPmdAntTask cannot be found
halp!
Similar Messages
-
Trouble building kernel module for sensor support
Hi, I'm new here but have been using Arch for a while. Recently, I decided to install Arch on an old laptop (Toshiba A70) and have managed to work out most of the kinks to where it runs nicely. Unfortunately, ACPI support is spotty and the /sys/class/thermal directory gives me only cooling_device0. I installed the lm-sensors package and ran sensors-detect, which yielded no results. Although the laptop runs smoothly otherwise, I would like to know the CPU's temp so that I would be able to set up a fan control scheme and CPU scaling (so far it's stuck at the lowest frequency, and that's kind of a big deal for me since the laptop runs on an archaic mobile P4 chip).
Sorry for the story but I felt some context was necessary. I did manage to find a kernel module that would connect those sensors to ACPI for me (http://sourceforge.net/projects/omnibook/), however I'm having trouble building it on the latest kernel. Here is the output from running make:
make -C /lib/modules/3.16.1-1-ARCH/build SUBDIRS=/root/omnibook-2.20070211 modules
make[1]: Entering directory '/usr/lib/modules/3.16.1-1-ARCH/build'
CC [M] /root/omnibook-2.20070211/init.o
In file included from /root/omnibook-2.20070211/init.c:26:0:
/root/omnibook-2.20070211/laptop.h:25:3: warning: initialization from incompatible pointer type
.callback = dmi_matched,
^
/root/omnibook-2.20070211/laptop.h:25:3: warning: (near initialization for ‘omnibook_ids[0].callback’)
/root/omnibook-2.20070211/laptop.h:34:3: warning: initialization from incompatible pointer type
.callback = dmi_matched,
^
/root/omnibook-2.20070211/laptop.h:34:3: warning: (near initialization for ‘omnibook_ids[1].callback’)
/root/omnibook-2.20070211/laptop.h:43:3: warning: initialization from incompatible pointer type
.callback = dmi_matched,
^
// I left out most of the 'incompatible pointer type' warnings since they repeat for a while.
^
/root/omnibook-2.20070211/laptop.h:1001:3: warning: (near initialization for ‘omnibook_ids[108].callback’)
/root/omnibook-2.20070211/init.c: In function ‘dmi_matched’:
/root/omnibook-2.20070211/init.c:141:16: warning: assignment discards ‘const’ qualifier from pointer target type
laptop_model = dmi_get_system_info(DMI_PRODUCT_VERSION);
^
/root/omnibook-2.20070211/init.c: In function ‘omnibook_init’:
/root/omnibook-2.20070211/init.c:281:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
^
/root/omnibook-2.20070211/init.c:281:14: warning: assignment makes pointer from integer without a cast
proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
^
/root/omnibook-2.20070211/init.c:290:13: error: dereferencing pointer to incomplete type
proc_entry->data = feature;
^
/root/omnibook-2.20070211/init.c:291:13: error: dereferencing pointer to incomplete type
proc_entry->read_proc = &procfile_read_dispatch;
^
/root/omnibook-2.20070211/init.c:293:14: error: dereferencing pointer to incomplete type
proc_entry->write_proc = &procfile_write_dispatch;
^
/root/omnibook-2.20070211/init.c:294:13: error: dereferencing pointer to incomplete type
proc_entry->owner = THIS_MODULE;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/root/omnibook-2.20070211/init.o' failed
make[2]: *** [/root/omnibook-2.20070211/init.o] Error 1
Makefile:1333: recipe for target '_module_/root/omnibook-2.20070211' failed
make[1]: *** [_module_/root/omnibook-2.20070211] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.16.1-1-ARCH/build'
Makefile:88: recipe for target 'omnibook.ko' failed
make: *** [omnibook.ko] Error 2
I have honestly no idea what to make of any of this and would really appreciate any help towards a solution. Thanks for readingWelcome to Arch Linux
That looks like it is a 2.6 kernel module
http://sourceforge.net/p/omnibook/bugs/58/
Did you try either of these AUR offerings?
ewaller$@$odin ~ 1001 %packer -Ss omnibook
aur/omnibook-git 20110911-9 (7)
Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
aur/omnibook-svn-zen 268-1 (1)
Kernel module for HP OmniBook, Pavilion, Toshiba and Compal ACL00 laptops
ewaller$@$odin ~ 1002 %
Last edited by ewaller (2014-08-23 23:33:53) -
Trouble building an installer with NI-DAQmx and tasks
I am having trouble getting an installer that includes my tasks for NI-DAQmx. I select the configuration wizard from the hardware tab, it shows my tasks with checkboxes but i cannot 'check' the task I want, it says "the item cannot be checked because it depends on other items whose software has not been installed". The drop down menu for the 'scales' can be shown and checked but that doesn't include the tasks when i try to install the 'package'.
that was the problem... but raises another issue.
My DAQ device NI-USB 6008 was not connected to my "development workstation" but was on the "distribution workstation". When I connected the USB DAQ device to my development workstation I was able to check the checkbox and it was included in the configuration file and when I installed the application on the development workstation, it worked as expected.
Does this mean that any time I make a change to the "Task" i'm going to have to have the DAQ device (the UB 6008) attached to my development workstation for the installer build to work?... that seems cumbersome... and since I'm going to be developing my App to run on 4 different workstations each with it's own USB 6008, am I going to have to configure the appln 4 ways (4 tasks) - 1 for each workstation? -
Hi, just going through an example ejb and then adapting the method used to create my own bean. Trouble is when I edit the main Bean class, in this case JujitsuFacadeBean, it comes up with some parse error and starts to create an interface in the ejbModule package.
IDE is eclipse, JDK is 5.
i followed the example as per the book. Where am I going wrong?
Here is the errors reported in the console...
Buildfile: /home/tam/workspace/JuJitent/.metadata/.plugins/org.eclipse.jst.j2ee.ejb.annotations.xdoclet/tempAnt.xml
init:
ejbdoclet:
[ejbdoclet] (XDocletMain.start 47 ) Running <deploymentdescriptor/>
[ejbdoclet] Generating EJB deployment descriptor (ejb-jar.xml).
[ejbdoclet] Error parsing File /home/tam/workspace/JuJitent/JujitsuEJB/ejbModule/com/jujitsu/ejb/JujitsuFacadeBean.java:Encountered "<" at line 80, column 19.
[ejbdoclet] Was expecting one of:
[ejbdoclet] <IDENTIFIER> ...
[ejbdoclet] "[" ...
[ejbdoclet] "." ...
[ejbdoclet] "(" ...
[ejbdoclet] (XDocletMain.start 47 ) Running <remoteinterface/>
[ejbdoclet] Generating Remote interface for 'com.jujitsu.ejb.JujitsuFacadeBean'.
[ejbdoclet] (TemplateEngine.invokeMethod 547 ) Invoking method failed: xdoclet.modules.ejb.intf.InterfaceTagsHandler.extendsFrom, line=10 of template file: jar:file:/home/tam/opt/xdoclet-1.2.3/lib/xdoclet-ejb-module-1.2.3.jar!/xdoclet/modules/ejb/intf/resources/remote.xdt
[ejbdoclet] java.lang.reflect.InvocationTargetException
[ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ejbdoclet] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ejbdoclet] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ejbdoclet] at java.lang.reflect.Method.invoke(Method.java:585)
plus more errors...This is the code for JujitsuFacadeBean, this implements the interface JujitsuFacade whose jar file has been included in the project.
package com.jujitsu.ejb;
import java.rmi.RemoteException;
import java.util.Set;
import javax.ejb.EJBException;
import javax.ejb.SessionContext;
import com.jujit.model.Club;
import com.jujit.model.Instructor;
import com.jujit.model.Student;
import com.jujit.services.ClubFacade;
import com.jujit.services.JujitsuFacade;
* <!-- begin-user-doc -->
* A generated session bean
* <!-- end-user-doc -->
* <!-- begin-xdoclet-definition -->
* @ejb.bean name="JujitsuFacade"
* description="An EJB named JujitsuFacade"
* display-name="JujitsuFacade"
* jndi-name="JujitsuFacade"
* type="Stateless"
* transaction-type="Container"
* @ejb.transaction
* type="Supports"
* <!-- end-xdoclet-definition -->
* @generated
public abstract class JujitsuFacadeBean implements JujitsuFacade, javax.ejb.SessionBean {
private JujitsuFacade jujitsuFacade;
* @ejb.interface-method view-type="both"
public boolean doesClubExist(String clubId){
return jujitsuFacade.doesClubExist(clubId);
*@ejb.interface-method view-type="both"
public boolean createClub(Club newClub){
return jujitsuFacade.createClub(newClub);
* @ejb.interface-method view-type="both"
public Instructor findInstructor(String id){
return jujitsuFacade.findInstructor(id);
* @ejb.interface-method view-type="both"
public Student findStudent(String id){
return jujitsuFacade.findStudent(id);
* @ejb.interface-method view-type="both"
public Club findClub(String id){
return jujitsuFacade.findClub(id);
* @ejb.interface-method view-type="both"
public Set<Student> getStudentsForClub(String clubId){
return jujitsuFacade.getStudentsForClub(clubId);
* <!-- begin-xdoclet-definition -->
* @ejb.create-method view-type="remote"
* <!-- end-xdoclet-definition -->
* @generated
public void ejbCreate() {
jujitsuFacade = ClubFacade.getJujitsuFacade();
* <!-- begin-xdoclet-definition -->
* @ejb.interface-method view-type="remote"
* <!-- end-xdoclet-definition -->
* @generated
* //TODO: Must provide implementation for bean method stub
public String foo(String param) {
return null;
/* (non-Javadoc)
* @see javax.ejb.SessionBean#ejbActivate()
public void ejbActivate() throws EJBException, RemoteException {
// TODO Auto-generated method stub
/* (non-Javadoc)
* @see javax.ejb.SessionBean#ejbPassivate()
public void ejbPassivate() throws EJBException, RemoteException {
// TODO Auto-generated method stub
/* (non-Javadoc)
* @see javax.ejb.SessionBean#ejbRemove()
public void ejbRemove() throws EJBException, RemoteException {
// TODO Auto-generated method stub
/* (non-Javadoc)
* @see javax.ejb.SessionBean#setSessionContext(javax.ejb.SessionContext)
public void setSessionContext(SessionContext arg0) throws EJBException,
RemoteException {
// TODO Auto-generated method stub
public JujitsuFacadeBean() {
// TODO Auto-generated constructor stub
}Suprisingly the build after editing starts to assemble an interface JujitsuFacade...terribly.
* Generated by XDoclet - Do not edit!
package com.jujitsu.ejb;
* Remote interface for JujitsuFacade.
* @generated
* @wtp generated
public interface JujitsuFacade
extends Edited by: tamscot on Nov 21, 2007 9:58 AM
Edited by: tamscot on Nov 21, 2007 10:21 AM
Edited by: tamscot on Nov 21, 2007 10:52 AMHave managed to figure out for myself what the problem was. Compiler compliance. I was using ejb 2.3, JBoss 4.0.5 and Java5. ejb could not handle Java5 generics and so reported correctly an error. Fix was to change compiler compliance in the Eclipse Workspace from 5 to 1.4 and the same goes for each of the Projects in the workspace. This also meant editing each class declaration using generics to the old way of casting.
SORTED. -
Trouble building klibc package with Zen kernel
Hello,
I'm using a kernel from the latest Zen-Sources Git (in other words, a modified 2.6.29-rc). I'm trying to build klibc, but having trouble. I'm using the klibc PKGBUILD and files with only a slight modification to _kver to point to my kernel under /lib/modules.
The build process goes until:
KLIBCLD usr/utils/shared/sync
KLIBCLD usr/utils/shared/dmesg
INSTALL headers + man pages to /root/klibc/pkg/usr/lib/klibc
cp: cannot stat 'linux//include/asm/./asm': No such file or directory
make[1]: *** [header] Error 1
make: *** [install] Error 2
==> ERROR: Build Failed.
Aborting...
The problem is in /src/klibc-1.5.15/scripts/Kbuild.install, near the end (under the big comment block). I won't post the code block because it's massive and I don't have copy+paste because of something unrelated, but you can get it from using ABS.
I don't know if the problem is because of 2.6.29, zen, or something I'm doing. I tried disabling a few of the patches we used, and I looked at the patches in the (sort-of-outdated) klibc-zen package in the AUR, but none of those seem to be related at all.
Thanks for any help!create symlink asm to asm-x86
this is on 32-bit system, -
ever since the release of xorg-server 1.5.3, i've been using a modified
PKGBUILD to build xorg-server sans hal and dbus. (not gonna try
justifying it again; that'd just lead to yet another flame war.)
i've never had a problem until the 1.6.1-1 PKGBUILD, which adds the lines:
libtoolize --force || return 1
aclocal || return 1
autoconf || return 1
automake --add-missing || return 1
after applying patches and before running the configure. these added lines produce:
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
hw/dmx/doc/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:24: BUILD_LINUXDOC does not appear in
AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in
AM_CONDITIONAL
==> ERROR: Build Failed.
Aborting...
my modified PKGBUILD is build. please note that i *have* tried
reverting my changes (the commented patches), to no avail.
as i'm pretty clueless vis-a-vis makefiles and the autoconf system,
could somehow point me in the direction of a fix?
many thanks,
kludge
# $Id: PKGBUILD 21903 2008-12-17 20:32:54Z jgc $
# Maintainer: Alexander Baldeck <[email protected]>
# Contributor: Jan de Groot <[email protected]>
pkgname=xorg-server
pkgver=1.6.1
pkgrel=1
pkgdesc="X.Org X servers"
arch=('i686' 'x86_64')
license=('custom')
url="http://xorg.freedesktop.org"
depends=('libgl' 'libxfont>=1.4.0' 'openssl>=0.9.8j' 'libpciaccess>=0.10.5' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xcursor-themes' 'xkeyboard-config>=1.5' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils')
makedepends=('libx11>=1.2' 'mesa>=7.4' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'libgl>=7.4' 'glproto>=1.4.9')
#optdepends=( 'xf86-input-evdev: to provide input device hotplugging'
# 'hal>=0.5.11: to provide input devices for hotplugging' )
options=('!libtool')
provides=('x-server' ) # 'xorg-server')
conflicts=('catalyst-utils<=9.2')
groups=('xorg')
install=xorg-server.install
source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
xorg-redhat-die-ugly-pattern-die-die-die.patch
hal-wait.patch)
md5sums=('ed0878bf32a24d4948c3b8a122a39eff'
'1a336eb22e27cbf443ec5a2ecddfa93c'
'f16d2caef84e1a9c4075b6c5e145512d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Get rid of the ugly pattern
patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
# Fix dbus config path - removed b/c no dbus config'd
# sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
# Revert waiting for hal, assume hal won't show up when initial connect fails
# commented out b/c no hal config'd
# patch -R -Np1 -i "${srcdir}/hal-wait.patch" || return 1
libtoolize --force || return 1
aclocal || return 1
autoconf || return 1
automake --add-missing || return 1
# --enable-config-{dbus,hal} switched to --disable
# to disable hotplugging and dependencies
./configure --prefix=/usr \
--enable-ipv6 \
--enable-dri \
--disable-dmx \
--enable-xvfb \
--enable-xnest \
--enable-composite \
--enable-xcsecurity \
--enable-xorg \
--enable-xephyr \
--enable-glx-tls \
--enable-kdrive \
--enable-install-setuid \
--disable-config-hal \
--disable-config-dbus \
--enable-record \
--disable-xfbdev \
--disable-xfake \
--disable-xsdl \
--disable-static \
--sysconfdir=/etc/X11 \
--localstatedir=/var \
--with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
--with-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -rf "${pkgdir}/var/log" || return 1
install -m755 -d "${pkgdir}/etc/X11" || return 1
install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
# Needed for non-mesa drivers, libgl will restore it
mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
"${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
Last edited by kludge (2009-05-01 17:25:39)Not any help to your error but have you tried the one in aur with disabled dbus and hal?
I've been using it for a week or so with no problems and it built fine.
http://aur.archlinux.org/packages.php?ID=23750 -
Trouble building in Visual Studio 2012
So, I've got a plugin building fine in Xcode, and am now headed over to the Windows world to build in VS2012. I opened up the .vsproj file form the /win folder of my modified Skeleton project, and VS2012 gave me some upgrade messages. I guess the project files are not built for VS2012, but for an earlier version of VS.
I'm running into an issue in the build and am receiving this error:
Cannot open source file: '..\SkeletonPiPL.r': No such file or directory
Of course, I understand that it's not there because I renamed that to {MyPluginName}PiPL.r as suggested in the SDK documentation. I guess my question is how to tell VS2012 to look for {MyPluginName}PiPL.r instead of SkeletonPiPL.r. Any suggestions? I suppose I need to build to get to the custom build steps for the project file? Or is there a place in the source where I change it?
Thanks,
ArieWell, I added in the renamed PiPL.r file, and then setup its property pages to match that of SkeletonPiPL.r and now all is good. . . except for another issue. . . which I'll post as a new thread. To stay on topic
-
Trouble building project in netbeans 5.0
I am working on a project for school. However, when I run the program I get the following message and the program doesn't display. I do have the setvisible method in the main ,but I am unable to see my project. Can someone please help me regarding why my program is not displaying? Any input would be greatly appreciated. Thanks in advance.
init:
deps-jar:
compile:
run:
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
at cartoon.ImagePanel.createImage(ImagePanel.java:53)
at cartoon.ImagePanel.<init>(ImagePanel.java:45)
at cartoon.race.main(race.java:38)
Exception in thread "main"
Java Result: 1
BUILD SUCCESSFUL (total time: 8 seconds)The stack trace tells you exactly what to do:
Open your race.java in a text editor, turn on line number display, and go to line 38. Keep following the stack trace until you find out which reference is null. Figure out what that object is null and fix it.
Looks like a Swing component has a reference to null that it shouldn't.
This has nothing to do with NetBeans.
% -
TROUBLE BUILDING VISA Configure Serial Port .vi
I posted by mistake in DAQ. My application Builds fine in LV 7.0, however in LV 8.2 using the Project folder, I receive the following :
Polymorphic VIs cannot be used as Startup/Exported or Dynamic VIs for applications or shared libraries.
C:\NEM DS18S20 TEST-8.20\NEM0775B\NEM0775B.llb\VISA Configure Serial Port
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
Error 1035 occurred at ABAPI Dist Check if PolyVI.vi -> ABAPI Load All Libraries And VIs.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Rule_Editor.vi -> EBUIP_Item_OnDoProperties.vi -> EBUIP_Item_OnDoProperties.vi.ProxyCaller
Possible reason(s):
LabVIEW: Operation is invalid for this type of VI.
I am using, Polymorphic VI = VISA Configure Serial Port to configure my serial port and then count bytes received for certain serial Port CmDs.
I am only using the Serial Port (Instr) of the Polymorphic VI. What is the easiest way to BUILD a application that will work???? I've used this method back to 4.1. Can I change VISA Configure Serial Port .vi from a Polymorphoric to a Non Polymorphic and still initialize the Serial port?? This new BUILD/PROJECT METHOD is not good.
Please Help
Brian CampbellBriancam-
Have you set the VISA Configure Serial Port as a startup VI in your build specification? If you are using that VI as a subVI in one of your VI's, then you do not need to manually add it to the startup list, LabVIEW should automatically add it as a dependency.
Xaq -
Trouble building BLCR on archlinux,"no UTS_RELEASE could be extracted"
I'm trying to compile Berkeley Lab Checkpoint/Restart using this guide, but I haven't been able to get the configure script to run without errors. Here is everything I've tried along with the associated error messages:
$ tar xzvf blcr-0.8.2.tar.gz
$ cd blcr-0.8.2
$ mkdir builddir
$ cd builddir
$ ../configure --prefix=/usr
checking for Linux kernel build in /lib/modules/2.6.35-ARCH/build... not found
checking for Linux kernel build in /usr/src/linux-2.6.35-ARCH-obj... not found
checking for Linux kernel build in /usr/src/linux-2.6.35-ARCH... include/linux/version.h missing
checking for Linux kernel build in /usr/src/kernels/2.6.35-ARCH... not found
configure: error: Could not find a directory containing a Linux kernel 2.6.35-ARCH build. Perhaps try --with-linux=FULL_PATH_TO_KERNEL_BUILD
$ sudo pacman -S kernel26-headers
$ ../configure --prefix=/usr --with-linux=/usr/src/linux-2.6.35-ARCH
checking for Linux kernel build in /usr/src/linux-2.6.35-ARCH... no UTS_RELEASE could be extracted
configure: error: Directory /usr/src/linux-2.6.35-ARCH does not appear to contain a Linux kernel build
I'm not very computer savvy so I may be wrong in assuming this, but it seems the arch kernel is missing UTS_RELEASE, which should be in /usr/include/linux/version.h and that is causing this error.
Does anyone have any advice on how to build this?
Edit: fixed typo
Last edited by fredre (2010-11-11 06:22:12)No problem. However, I'd suggest something a bit simpler than that curl|grep|awk|cut extravaganza - to be more precise, this:
pacman -Q kernel26-lts | cut -d " " -f 2
Apart from being simpler, this way also ensures that you're building against the installed lts version - your method doesn't handle the situation where the installed version differs from the repo version.
Also, you might consider separate packages for the kernel modules and the user space utilities - this is common practice around here. -
[SOLVED] Trouble building VMware modules
Hello there,
I have VMware Player installed, but since last kernel update from 2.6.32 to .33 all modules have to be rebuilt. The thing is that when I start the app I get a message about it not finding the kernel headers. I have kernel26-headers installed, and the headers are actually under /usr/src/2.6.33-ARCH/include, but vmware won't find them.
Any ideas?
Thanks!
Last edited by Surgat_ (2010-04-19 20:48:57)Ok, VMware Player 3.0.1 actually finds the headers and builds its moudles, so now /etc/rc.d/vmware start works ok. But now vmplayer crashes without any errors when I open it. Launching it from the cli drops this output:
$ vmplayer
Logging to /tmp/vmware-quique/setup-12148.log
filename: /lib/modules/2.6.33-ARCH/misc/vmmon.ko
supported: external
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
depends:
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
filename: /lib/modules/2.6.33-ARCH/misc/vmnet.ko
supported: external
license: GPL v2
description: VMware Virtual Networking Driver.
author: VMware, Inc.
depends:
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
filename: /lib/modules/2.6.33-ARCH/misc/vmblock.ko
supported: external
version: 1.1.2.0
license: GPL v2
description: VMware Blocking File System
author: VMware, Inc.
srcversion: 400149ED038D22A87322D56
depends:
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
parm: root:The directory the file system redirects to. (charp)
filename: /lib/modules/2.6.33-ARCH/misc/vmci.ko
supported: external
license: GPL v2
description: VMware Virtual Machine Communication Interface (VMCI).
author: VMware, Inc.
depends:
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
filename: /lib/modules/2.6.33-ARCH/misc/vsock.ko
supported: external
license: GPL v2
version: 1.0.0.0
description: VMware Virtual Socket Family
author: VMware, Inc.
srcversion: BC1943DCE52AE461DCC2D43
depends: vmci
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
filename: /lib/modules/2.6.33-ARCH/misc/vmmon.ko
supported: external
license: GPL v2
description: VMware Virtual Machine Monitor.
author: VMware, Inc.
depends:
vermagic: 2.6.33-ARCH SMP preempt mod_unload 686
And then the window just dissappears. Also:
$ cat /tmp/vmware-quique/setup-12148.log
abr 18 17:45:23.484: app-3077506752| Log for VMware Workstation pid=12148 version=7.0.1 build=build-227600 option=Release
abr 18 17:45:23.484: app-3077506752| The process is 32-bit.
abr 18 17:45:23.484: app-3077506752| Host codepage=UTF-8 encoding=UTF-8
abr 18 17:45:23.484: app-3077506752| Logging to /tmp/vmware-quique/setup-12148.log
abr 18 17:45:23.648: app-3077506752| modconf query interface initialized
abr 18 17:45:23.648: app-3077506752| modconf library initialized
So there are no errors in any logs. I am completely lost, any ideas?
Thanks! -
[SOLVED] Trouble building postler-git
After fixing a few (common) issues I had with a vala dependency, I now get an error message saying
zeitgeist is needed for Postler to show up in Synapse, the Unity dash or the Activity log.
If you want to build without it, pass --disable-zeitgeist.
whenever I attempt to install postler-git via yaourt.
Yes, I have installed the zeitgeist package and still receive this message. I am unsure where to put "--disable-zeitgeist" in order to pass it, and I am unsure that I would want to, since being able to see things in the activity log seems like a good thing.
I am still a bit new to the whole Linux thing, and I am sorry if the answer I seek is self-evident or something. I would appreciate any responses though!
Last edited by oalicein (2011-06-20 07:07:37)I have not done this, so this is general advice.
You probably wont be able to do it from yaourt. You will need to do it in accordance with this AUR article.
Abridged version:
Grab the tarbel from ABS
unpack it
change to the directory you unpacked
edit PKGBUILD
find this line: ./waf configure --prefix=/usr --disable-libindicate
add the --disable-zeitgeist to that line.
do a makepkg
If success, install with sudo pacman -U
edit: fixed makepkg command, added sudo to pacman command
Last edited by ewaller (2011-06-18 04:00:13) -
Trouble building multiple buttons in extension panel
Any advice as to how to make multiple buttons active and operational in a new extension panel? New to scripting and struggling here!
Hi,
try to post here: Extension Builder 3 (more appropriate Adobe forum) with more details about what you're after.
Regards
Davide Barranca
www,davidebarranca.com
www.cs-extensions.com -
I've been trying to build Herrie using makepkg. I'm getting the following error:
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found herrie-1.9.3.tar.bz2 in build dir
==> Validating source files with md5sums...
herrie-1.9.3.tar.bz2 ... Passed
==> Extracting Sources...
-> bsdtar -x -f herrie-1.9.3.tar.bz2
bsdtar: Failed to set default locale
==> Removing existing pkg/ directory...
==> Starting build()...
Error: GLib not found
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed.
Aborting...
I definately have both glib and glib2 installed... so I'm not sure what to try next.AFAIK it's Don't Panic (definately the i686 version)... I only installed it last week.
Last edited by arfab (2008-03-22 15:56:58) -
I just started to open an old (2004) xcode project, and tried to build it. I'm getting all kinds of errors about missing files, like:
#import "SSApp/SSUtilityCategories.h"
error: SSApp/SSUtilityCategories.h no such file or directory.
I have a folder within the project folder called SSApp, and the file is indeed there. As well, under Frameworks, is one called SSApp.framework, and within the headers folder under that, SSUtilityCategories.h is there, and I can open and edit it.
What am I doing wrong?Turns out I needed to build in a certain sequence.
My bad. Thanks
Maybe you are looking for
-
Using a toString from an object in an arraylist
Say I have a class called Fruit that has a field called String name, and a toString that prints out that field. I have a list of Fruit objects and I want to call the toString for every Fruit object. public Collection<Fruit> fruitList; fruitList = new
-
I downloaded the new update on my Iphone. When I plugged it into my computer it wouldn't let me sync because my computer didn't have an updated i-tunes version. When I tried to update Itunes, it said I needed Mac OS 10.6.6 or higher. Then when I trie
-
How can I install ntfs on an external hard drive so that my Samsung Smart TV can see my media files? Or is there a better option?
-
How to upload a file into specified location
Hi Frndz.. How to upload a file using File upload feature in web dynpro into our specified location(usr/sap/Images/....),not into workspace r default path in server. Thanks in Advance Regards Rajesh
-
I just bought a new Intel iMac and will need to transfer some files from the wife's purple G3 iMac. I've read countless threads about how to do this and am more confused than ever. Do I need a crossover Ethernet cable? Firewire? A simple explanation